← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #279596]: Clarification and information required on Sikulix new version

 

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

Description changed to:
Hi,

Currently I am using sikulix 1.1.0

I'm able to see some issue with try catch exceptions, if else loops.
for example i have a small set of code which contains:

try:
      if exists (img1.png):
             click(img1.png)
      elif exists (img2):
             click(img2)
      else:
            print"img1.png and img2.png not visible on screen"

except FindFailed:
      print "Doesn't contain any images"

above code will work fine but sometime  try  will not invoked even if we have img1.png and img2.png . it will simple print the content of excep FindFailed. I suspect it might be a bug.
================================================================================
And also, 
comparing two text will fails sometimes
example :
var1 = "Hello"
var2 = "Hello"

if (var1=var2):
     print "match found"
else:
     print"No match found"

some time even if 2 variables have same text, it will throw  output of
else:

================================================================================

And need another information that is when new version of Sikulix will release ?
hope in new version can we expect that, finding text instead of image from the screen can be implemented ?

Thank you.

Regards,
Krishna

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