← Back to team overview

sikuli-driver team mailing list archive

[Question #279946]: How to generate logs in sikuli?

 

New question #279946 on Sikuli:
https://answers.launchpad.net/sikuli/+question/279946

I want to generate logs with time stamp being in place of popups i have mentioned. Please suggest some steps for generating logs with time stamp.

Code:-

click("1450851018693.png")
wait(2)
click(Pattern("1450851091319.png").targetOffset(1,2))
click(Pattern("1450851555941.png").targetOffset(-201,1))
type("111")
click(Pattern("1450851201892.png").targetOffset(-13,2))
type("121")
wait(1)
if exists ("1450851253342.png"):
    popup("start button is enabled")
    click("1450851253342.png")

In the above code instead of popups i want the messages to be logged in file with time stamp. Please Help..

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