How to write code for click Particular image. If screen has multiple of the same images on screen
How to write code for click Particular image. If screen has multiple of the same images on screen.
Please Check below code
screen = new screen();
boolean lg=false;
Pattern Dptn;
Pattern Eptn;
Dptn= new Pattern(filePath +prop.getProper
Eptn= new Pattern(filePath +prop.getProper
screen.
Thread.sleep(8000);
screen.click(Eptn);
Dptn=null;
Eptn=null;
ImagePath.
ImagePath.
break;
But I'm unable to click on Image2. same screen like image2 we have 10 same images.
Please help me to write a code.
Thanks & Regards,
Venkat
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 Venkat for more information if necessary.