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

Sid posted a new comment:
My code:

App.open("C:\Program Files (x86)\AUT\Client\AUT.exe")

imgUserId =("LWe_.png")
try:
    assert exists (imgUserId)
except AssertionError:
    print "Could not find the Userid field"
 
click(getLastMatch())
type("a",KEY_CTRL)
type("[email protected]")

imgPassword =("1340666502867.png")
try:
    assert exists (imgPassword)
except AssertionError:
    print "Could not find the password field"

click(getLastMatch())
type("a",KEY_CTRL)
type("mypassword")


imgSignin =("Sgnn.png")

try:
    assert exists (imgSignin)
except AssertionError:
    print "Could not find the Signin button"
click(getLastMatch())


This would give me object null ref error. But if i comment the first line 
(app.open()) and open my aut.exe and run the scripts i have no issue.

-- 
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