I am also facing the issue but there is no variance in background. It is just black and white space chars.
On the screen, the text is:
What city were you born in?
But when extracted the text from the screen, the text is:
what my were you born nn?
My code to extract questions: //png contains the snapshot of all questions in the page
--------------------------------------------
Iterator<Match> match = s.findAll("D:/Cygnets_CVS/qa/QAIndia/xyz_Automation/ft/src/main/java/com/arcot/test/mobile/android/imgs/QnAPage2.png");
Thread.sleep(1000);
qlist=match.next().text();
System.out.println(l + ": " + qlist);
I am also facing the issue but there is no variance in background. It is just black and white space chars.
On the screen, the text is:
What city were you born in?
But when extracted the text from the screen, the text is:
what my were you born nn?
My code to extract questions: //png contains the snapshot of all questions in the page ------- ------- ------- ------- ------- -- "D:/Cygnets_ CVS/qa/ QAIndia/ xyz_Automation/ ft/src/ main/java/ com/arcot/ test/mobile/ android/ imgs/QnAPage2. png"); next(). text(); out.println( l + ": " + qlist);
-------
Iterator<Match> match = s.findAll(
Thread.sleep(1000);
qlist=match.
System.