← Back to team overview

sikuli-driver team mailing list archive

[Bug 1835261] Re: Sikuli find the wrong image when the image has rectangular box

 

** Attachment added: "the image with no box"
   https://bugs.launchpad.net/sikuli/+bug/1835261/+attachment/5274908/+files/viewMessageButton.PNG

** Description changed:

  Version: sikuli 1.1.4 SNAPSHOT
  OS: Win10 64bit
  Steps to reproduce:
- create a sikuli script to click on the image with rectangular box, please use attached viewMessageWithBox.PNG
+ open a chrome browser, maximize it, the try to click on the image. create a sikuli script to click on the image with rectangular box, please use attached viewMessageWithBox.PNG
  
  Screen screen = new Screen();
  screen.click(the pattern of image);
  
  Expected result:
  the image is clicked
  
  Actual result:
- Click on the top corner of the screen around 160.21, reproducible every time. But the same image without rectangular box will work with no issue.
+ Clicked on the top left corner on the first tab of chrome at around coordinate (160,21), reproducible every time. But the same image without rectangular box will work with no issue.

** Description changed:

  Version: sikuli 1.1.4 SNAPSHOT
  OS: Win10 64bit
  Steps to reproduce:
  open a chrome browser, maximize it, the try to click on the image. create a sikuli script to click on the image with rectangular box, please use attached viewMessageWithBox.PNG
  
  Screen screen = new Screen();
  screen.click(the pattern of image);
  
  Expected result:
  the image is clicked
  
  Actual result:
- Clicked on the top left corner on the first tab of chrome at around coordinate (160,21), reproducible every time. But the same image without rectangular box will work with no issue.
+ Clicked on the top left corner on the first tab(with no text) of chrome at around coordinate (160,21), reproducible every time. But the same image without rectangular box will work with no issue.

** Description changed:

  Version: sikuli 1.1.4 SNAPSHOT
  OS: Win10 64bit
  Steps to reproduce:
- open a chrome browser, maximize it, the try to click on the image. create a sikuli script to click on the image with rectangular box, please use attached viewMessageWithBox.PNG
+ open a chrome browser, maximize it, then click on the image. create a sikuli script to click on the image with rectangular box, please use attached viewMessageWithBox.PNG
  
  Screen screen = new Screen();
  screen.click(the pattern of image);
  
  Expected result:
  the image is clicked
  
  Actual result:
  Clicked on the top left corner on the first tab(with no text) of chrome at around coordinate (160,21), reproducible every time. But the same image without rectangular box will work with no issue.

-- 
You received this bug notification because you are a member of Sikuli
Drivers, which is subscribed to Sikuli.
https://bugs.launchpad.net/bugs/1835261

Title:
  Sikuli find the wrong image when the image has rectangular box

Status in Sikuli:
  New

Bug description:
  Version: sikuli 1.1.4 SNAPSHOT
  OS: Win10 64bit
  Steps to reproduce:
  open a chrome browser, maximize it, then click on the image. create a sikuli script to click on the image with rectangular box, please use attached viewMessageWithBox.PNG

  Screen screen = new Screen();
  screen.click(the pattern of image);

  Expected result:
  the image is clicked

  Actual result:
  Clicked on the top left corner on the first tab(with no text) of chrome at around coordinate (160,21), reproducible every time. But the same image without rectangular box will work with no issue.

To manage notifications about this bug go to:
https://bugs.launchpad.net/sikuli/+bug/1835261/+subscriptions


References