← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #244624]: in sikuli how to ask user input at runtime

 

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

Harry posted a new comment:
Hello obiwan

thanks for ur answer Just a question

This is my code:-
calling function
input("Please enter uname",uname)
input("Please enter pwd",pwd)
login(uname,pwwd)


called function
def login(uname,pwd):
    type(Key.TAB + uname + Key.TAB + pwd)
    click("1393334104231.png")
    wait(10)

Is it correct. Will uname and pwd will store the runtime data and pass it to function. or Need to specify more.
Please help

Thanks

-- 
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.