New question #647132 on Sikuli:
https://answers.launchpad.net/sikuli/+question/647132
Hi,
I have tried the following code to verify values in two different applications
but it does not seem to work and the message log is only printing 'Value does
not match'. Just to mention I have switched on the tesseract OCR. Could you
kindly point out where am I doing it wrong? Thanks
In my excel file column A I have list of values like:
1
2
3
4
In my Sikuli file I want to check every value in column A and if there is match
then print message accordingly:
var = sheet.col_values(3) #this part is working I have tried with print var
var1 = Region() # this is in the other application
var2 = var1.text() # the value here is 1
i = 0
for rows in sheet.col(3):
if var2 == var[p]:
print 'Value match'
else:
print 'Value does not match'
--
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.
_______________________________________________
Mailing list: https://launchpad.net/~sikuli-driver
Post to : [email protected]
Unsubscribe : https://launchpad.net/~sikuli-driver
More help : https://help.launchpad.net/ListHelp