sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #11421
Re: [Question #201557]: Object null reference error on a button click in a windows client app
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("userid@xxxxxxx")
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.