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

Asked by Ali Ahmed

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:
SikuliX Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
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.