Not able to find text using findText() , if finding text have special character

Asked by Sakthikumaran

Not able to find text using findText() , if finding text have special character

Example:

I can find the text "Refresh" using below code: (Working)
    Screen s = new Screen();
    s.findText("Refresh").click();

I could not find the text "Bord Info..." using below code: ( Not Working)
    Screen s = new Screen();
    s.findText("Bord Info...").click();

Can you please any one advise me how to resolve the issue?

Thanks in Advance,
Sakthi

Question information

Language:
English Edit question
Status:
Answered
For:
SikuliX Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Sakthikumaran (sakthi2020) said :
#1

Is there any other alternative way to implements same???

Revision history for this message
RaiMan (raimund-hocke) said :
#2

You can try to only use parts of the text that are found reliably and then evaluate the complete text by extending the match and use Region.text().

Can you help with this problem?

Provide an answer of your own, or ask Sakthikumaran for more information if necessary.

To post a message you must log in.