NameError ( name "logout" is not defined) - strange?
Here is my script:
-------
wait("153666946
click("
click("
wait("153666975
if find("153666975
#Use pre-defined hotkeys on api app
type('u', KeyModifier.CTRL)
wait(1)
type('c', KeyModifier.CMD)
username = Env.getClipboard()
type('p', KeyModifier.CTRL)
wait(1)
type('c', KeyModifier.CMD)
password = Env.getClipboard()
type('s', KeyModifier.CTRL)
wait(1)
type('c', KeyModifier.CMD)
search = Env.getClipboard()
wait(
click(
click(
wait(1)
type(username)
type(Key.TAB)
wait(1)
type(password)
click("
if exists(
print('PASS IS INCORRECT')
type(Key.ESC)
wait(1)
click(
click(
else :
wait(
while exists(
wait(1)
wait(1)
if exists(
else:
wait(1)
wait(1)
wait(1)
search = Env.getClipboard()
logout()
click(
click(
def logout():
click(
click(
click(
click(
click(
-------
It was working fine, but for some reason this message started popping up. any clues?
Thanks
Question information
- Language:
- English Edit question
- Status:
- Solved
- For:
- SikuliX Edit question
- Assignee:
- No assignee Edit question
- Solved by:
- BrazilMac
- Solved:
- Last query:
- Last reply: