Unable to find Pattern within a pre set region on the screen.
Attempting to set a region for each Pattern I need to find in order to improve consistency of where the mouse is clicking.
So Im setting the region (x,y,w,h) and I set the screen as Im using two monitors (I'm basing which screen off the other patterns that are already locating without a defined region)
I'm obviously setting something up incorrectly and not understanding how to do it properly.
Using Java on a MacBook Pro running Sierra 10.12.5
>>>>>>>
public void click9() throws FindFailed, InterruptedExce
Region reg = new Region(
Screen scr1 = new Screen(0);
try {
} catch (FindFailed f) {
}
}
<<<<<<<
First Attempt To Find Image.
[log] DOUBLE CLICK on L(1240,
Second Attempt To Find Image.
Waiting on EatInTotal button to appear.
EatInTotal button has appeared.
User has now accessed the POS system.
posOrderGenerat
logInCashier and userCreatedSales objects have just been created....
userLogged has been detected, now entering 'userCreatesSal
generate200InSales method has just entered...
setROI(reg) completed.
Exception In First Attempt: /Users/
junit.framework
at junit.framework
at com.qsrsoft.
at com.qsrsoft.
at com.qsrsoft.
at com.qsrsoft.
at pos_tests.
at sun.reflect.
at sun.reflect.
at sun.reflect.
at java.lang.
at org.testng.
at org.testng.
at org.testng.
at org.testng.
at org.testng.
at org.testng.
at org.testng.
at org.testng.
at org.testng.
at org.testng.
at org.testng.
at org.testng.
at org.testng.
at org.testng.
at org.testng.
at org.testng.
at org.testng.
at org.testng.
at org.testng.
at org.testng.
Any and all help/guidance is much appreciated!
Crhoads1024
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 Chris Rhoads for more information if necessary.