rainmanwy / robotframework-SikuliLibrary

Sikuli Robot Framework Library provide keywords for Robot Framework to test UI through Sikuli.
Apache License 2.0
144 stars 61 forks source link

Recognizing text in a linux GUI #24

Open Raghu6519 opened 7 years ago

Raghu6519 commented 7 years ago

Hi,

I have automated an Linux GUI based application using sikuli libray.

later because of an upgrade the fonts in the GUI has changed, for this scenario i cannot use image based automation tools, as color and font of text within the GUI changes frequently. it will be easy if i can search for an element using text instead of image.

Does SikuliLibrary support text search?

Regards, Raghu

rainmanwy commented 7 years ago

i have checked sikuli java api, and answer is yes.

http://nightly.sikuli.de/docs/org/sikuli/script/Region.html#findText-java.lang.String- findText will return Match object, and so could use it to do operations(click or something).

As text recognition is not good enough, could you try it in your environment and check whether his method could work fine in your environment.

Btw, could you give me keyword list you want.