Runs on one box and does not run on another box (vmware)
Hi,
I have creates some testcases in Sikuli. I have to run the same in my local and remote boxes. The remote box may have the different resolution but I am not sure.
Some of the testcases are running perfectly in both boxes and some testcases are failing on identifying the image as
FindFailed: can not find B:\REEE_
Line 2106, in file Region.java
(1) The screen shot shows the image exists on the page
(2) I have added hard wait of 3 secs, hence there will be no synchronization issue
(3) the code look like
Screen scr=new Screen();
Vision.
if(scr.
System.
int x=scr.click(
System.
return true;
}
else
{Logger.
return false;
}
This is the code snippet. This used to work fine locally but fails in remote vmware.
Even in remote box, some other images clicked with this code. hence I assume there will be some issue to find the object.
Both are win 7 boxes .
Note - When I simulate error, the location box is shown as
S(0)[0,0 1920x1080]
does this cause the isue and if so, how can I provide tolerance for resolution
Question information
- Language:
- English Edit question
- Status:
- Answered
- For:
- SikuliX Edit question
- Assignee:
- No assignee Edit question
- Last query:
- Last reply:
Can you help with this problem?
Provide an answer of your own, or ask Selva for more information if necessary.