Is there a way to use a variable and insert in FindText

Asked by Ali Ahmed on 2021-01-19

I am trying to make my test more dynamic and I was wondering if there is a way to insert variable in FindText. or if theres alternative way to do it.

Question information

Language:
English Edit question
Status:
Answered
For:
Sikuli Edit question
Assignee:
No assignee Edit question
Last query:
2021-01-19
Last reply:
2021-01-20
RaiMan (raimund-hocke) said : #1

someText = "some text"

findText(someText)

and

findText( "some text") are equivalent.

This is simply Python and has nothing to do with SikuliX.

Can you help with this problem?

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

To post a message you must log in.