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

    Status: Answered => Open

Astro is still having a problem:
as per your suggestions, i have changed the code. please check it !!!!

#exp1.sikuli
from exp2 import *
function()

#exp2.sikuli
from sikuli import *
def function():
    print "i am in function"
    click("Downloaded.png")

Here is the output error i got...

i am in function

[error] Stopped
[error] An error occurs at line 2
[error] Error message: Traceback (most recent call last):
 File "C:\Users\reddysre\AppData\Local\Temp\sikuli-tmp3692390715012185730.py", 
line 2, in 
 function()
 File "C:\Users\reddysre\Desktop\Automation\PC\exp2.sikuli\exp2.py", line 4, in 
function
 click("Downloaded.png")
 Line 2, in file 
C:\Users\reddysre\AppData\Local\Temp\sikuli-tmp3692390715012185730.py

 at org.sikuli.script.Region.wait(Region.java:501) 
at org.python.proxies.sikuli.Region$Region$0.super__wait(Unknown Source) 
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) 
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) 
at java.lang.reflect.Method.invoke(Unknown Source) 

org.sikuli.script.FindFailed: FindFailed: File Downloaded.png not exists
 Line 2, in file 
C:\Users\reddysre\AppData\Local\Temp\sikuli-tmp3692390715012185730.py

Please note that the print statement is getting excuted but not the
click statement, please let me know what can i do further.

Thanks & Regards,
Astro

-- 
You received this question notification because you are a member of
Sikuli Drivers, which 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

Reply via email to