← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #686745]: What am I doing wrong?

 

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

    Status: Open => Answered

RaiMan proposed the following answer:
ok, finally understood ;-)

 Debug.user("Auctions True but no downlit arrow-->", test_str,"<---")

is not possible this way

the parameter must be a string:

 Debug.user("Auctions True but no downlit arrow-->" +  test_str +
"<---")

or a Java format string and a list of parameters:
 Debug.user("Auctions True but no downlit arrow-->%s<---", test_str)

BTW: you should not use popup(), because this might interfere with your
GUI. Either use print or Debug.user().

To make print more helpful, you should run your script in a commandline, so you can see the printout live.
In the IDE in parallel edit/save your script.

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