← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #649155]: Set Password

 

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

    Status: Open => Solved

Hossain Abeer confirmed that the question is solved:
Hey,

I have done a little research, and successfully made a simple log in
portal. the code -

yes = popAsk("Have a password?", "Program")
if not yes:
    popup("Please get one", "Program")
    exit(1)

password = input()
if password == "12543":
    popup("Thanks. Your Program starts now!", "Program")
else:
    popup("Wrong Password. Try Again", "Program")
    exit(1)


Thanks for viewing

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