← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #708914]: select

 

Question #708914 on SikuliX changed:
https://answers.launchpad.net/sikuli/+question/708914

    Status: Answered => Open

peter hasselby is still having a problem:
login = ("outlook", "facebook", "workplace", "page3", "page4")
def select(msg="", title="Sikuli Selection", options=(), default=None):
    a = select(msg = "where do you like to log in?", options = login)

tried the above.
did not come up with an error message. but did not do anything. 


tried with:
login = ("outlook", "facebook", "workplace", "page3", "page4")
a = select(msg = "where do you like to log in?", options = login)

error:
[error] script [ sikulitemp-6386726409248896632 ] stopped with error in line 2
[error] TypeError ( popSelect(): 3rd arg can't be coerced to String )
[error] --- Traceback --- error source first
line: module ( function ) statement 
432: Sikuli (  select )     return Sikulix.popSelect(msg, title, options, default)
2: main (  <module> )     a = select(msg = "where do you like to log in?", options = login)
[error] --- Traceback --- end --------------

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