← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #275381]: How to find the text from the screen and that text should be assigned to the variable

 

Question #275381 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/275381

krishna posted a new comment:
Hi,

code is :
text2 = "TopologyNodes-2015-11-25_06-44-54_xsowkri"
match = findText(text2) 
print match
click (match)

Output:
[error] script [ demo ] stopped with error in line 30
[error] FindFailed ( can not find TopologyNodes-2015-11-25_06-44-54_xsowkri in R[0,0 1024x768]@S(0) )


------------------------------------------------------------
findText( is not finding the text on screen).
I have one more query - actually on screen there is a ash color on the background of "TopologyNodes-2015-11-25_06-44-54_xsowkri"text field. So, is findText() will ignor that color and only concentrate towords the text or do we need to mention the color matching also while finding the text ?

-- 
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.