Failed to find image pattern using Finder
I'm trying to compare two screenshots captured using selenium webdriver. I'm using Nightly SikuliX 1.1.0.
I tried using Finder.find method but every time it fails.
The Java code is as below:
String masterSetFilePath = String.
String currentSetFilePath = String.
Pattern masterPattern = new Pattern(
Finder finder = new Finder(
finder.
if(finder.
{
org.testng.
}
else
{
throw new AssertionError(
}
It always go to else.
Also tried giving similar to find method
finder.
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 nitin for more information if necessary.