How compare text from a region and integer
Asked by
Dude
r = Region(
m =r.text()
n= 73
if m==n:
print "exact match"
else:
print "found something else"
In my code am trying to extract text from a particular region, it giving me the correct value
Now i need to compare that text with an integer , to perform some action
While am running this script , it gave me 73 value for m from selected region, but when i compare it , it fails and "found something else' is displayed. Whats wrong in my code.
Question information
- Language:
- English Edit question
- Status:
- Solved
- For:
- SikuliX Edit question
- Assignee:
- No assignee Edit question
- Solved by:
- RaiMan
- Solved:
- Last query:
- Last reply:
To post a message you must log in.