Every time only 2 objects are returned from findAll function
Choose.png &Choose1.png are the Images to be searched in Screen.
which has 4 similar Objects..& find all Shud return 4 different regions.
But instead it returns only 2 matched region.
please have a look at it & help me.
If you need those images..please let me know,where & how can i send it??
JAVA CODE::
String qlist = new String();
Pattern QTextbox = new Pattern(imagePath + "android/
QTextbox.
Iterator<Match> match=s.
Pattern QTextbox1 = new Pattern(imagePath + "android/
QTextbox1.
Iterator<Match> match1=
Region Rfind = null;
System.
for(int i=0;i<numOfQues
{
qlist=
System.
Rfind =match.
System.
Rfind.
if(!match.
break;
}
for(int i=0;i<numOfQues
{
qlist=
System.
Rfind =match1.
System.
Rfind.
if(!
break;
}
Console OUTPUT For Above code::
New Serach
Strings : Choosea question ~
Region Returned :0= Match[677,373 124x14] score=0.97, target=center
Using substitute bounding box at (222,2)->(239,5)
PyramidTemplate
[log] CLICK on (739,380)
Strings : Choosea question
Region Returned :1= Match[677,332 124x14] score=0.92, target=center
[log] CLICK on (739,339)
PyramidTemplate
Strings : (`hnnsea nuestinn
Region Returned :0= Match[677,414 109x13] score=0.98, target=center
PyramidTemplate
[log] CLICK on (731,420)
Strings : fhnncnA nuncrinn
Region Returned :1= Match[677,331 109x13] score=0.92, target=center
PyramidTemplate
[log] CLICK on (731,337)
Question information
- Language:
- English Edit question
- Status:
- Solved
- For:
- SikuliX Edit question
- Assignee:
- No assignee Edit question
- Solved by:
- RaiMan
- Solved:
- Last query:
- Last reply: