← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #261642]: How to Log all my actions with a Time Stamp

 

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

    Status: Answered => Open

Mike is still having a problem:
I tried to get the UserLogs and ActionLogs working.
I spent a good amount of time playing around with it.

Not quite sure i understand how to correctly implement this into my
script.

Basically my script looks like the following
I have 5 different scripts all running:

My first 1: 
Produces a popup and requests the users 'Website Credentials"
And Asks the user which browser they would like touse

My 2nd, 3rd and 4th
Are all possible browsers, that will launch and open the desired page (My Game)

The 5th
Performs my actual tests on the Flash game itself. This script is interchangeable with all browsers.
I would like to get all actions, user input etc.... Logged for when the 5th script tests the game.

I'm a bit unsure how to get logging to work.
Placed this into my script but i receive errors

Settings.UserLogs = True 
Settings.UserLogPrefix = "Tester"
Settings.UserLogTime = True
Debug.setUserLogfile("C:\Users\User1\Documents\this.txt")

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