Re: [Sikuli-driver] [Question #240547]: get log file like in Sikuli's message tab and save it to a file need help

2017-04-04 Thread stewazy
Question #240547 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/240547

stewazy posted a new comment:
Thank you @RaiMan i made a test structure that has a setUp(self):
tearDown(self): and testMethod(self): and I was wondering also how do i
log an error that happens when that test fails like, on which line and
which picture. I have made a logger with f = open(loggerfile, 'a'). And
I was wondering how do I write an error message into that file. Thank
you for your swift answer.

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

___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp


Re: [Sikuli-driver] [Question #240547]: get log file like in Sikuli's message tab and save it to a file need help

2017-04-04 Thread RaiMan
Question #240547 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/240547

RaiMan posted a new comment:
comment #9 is still valid.

see docs:
http://sikulix-2014.readthedocs.io/en/latest/scripting.html#writing-and-redirecting-log-and-debug-messages

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

___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp


Re: [Sikuli-driver] [Question #240547]: get log file like in Sikuli's message tab and save it to a file need help

2017-04-04 Thread stewazy
Question #240547 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/240547

stewazy posted a new comment:
I'm using 1.0.1 sikuli on windows xp, I need to create a logger for
multiple tests which r running trough a runner, can someone link me
guide ? tnx :)

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

___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp


Re: [Sikuli-driver] [Question #240547]: get log file like in Sikuli's message tab and save it to a file need help

2017-04-03 Thread RaiMan
Question #240547 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/240547

RaiMan posted a new comment:
@stewazy:
The Sikuli version you are running is no longer supported.

Upgrade to version 1.1.1 (http://sikulix.com).
read carefully!

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

___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp


Re: [Sikuli-driver] [Question #240547]: get log file like in Sikuli's message tab and save it to a file need help

2017-04-03 Thread stewazy
Question #240547 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/240547

stewazy posted a new comment:
Hello I have a problem with \runIde.cmd -r \myscript.sikuli
>myscript-log.txt

I have tried using this but I don't see any logs in the command line,
and I don't get a log at the end of the script execution. Am I missing
something? Can somebody please point me in the right direction?

Here is an example of how i wrote my script calling in cmd:

C:\Sikuli\runIde.cmd -r C:\Sikuli\xmlRunner\TestScriptSimple.sikuli
>TestScriptSimple-log.txt

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

___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp


Re: [Sikuli-driver] [Question #240547]: get log file like in Sikuli's message tab and save it to a file need help

2015-12-01 Thread krishna
Question #240547 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/240547

krishna posted a new comment:
I got it :) .. Thank you.

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

___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp


Re: [Sikuli-driver] [Question #240547]: get log file like in Sikuli's message tab and save it to a file need help

2015-12-01 Thread krishna
Question #240547 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/240547

krishna posted a new comment:
Hi,

Where we need to do this setting ?

\runIde.cmd -r \myscript.sikuli >myscript-log.txt

What is the procedure ?
Is it should be done inside the  runsikuli.cmd . If yes exactly under which 
filed.


regards,
Krishna.

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

___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp


Re: [Sikuli-driver] [Question #240547]: get log file like in Sikuli's message tab and save it to a file need help

2013-12-17 Thread Ninja Mustang
Question #240547 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/240547

Status: Answered => Solved

Ninja Mustang confirmed that the question is solved:
Thanks RaiMan, that solved my question.

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

___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp


Re: [Sikuli-driver] [Question #240547]: get log file like in Sikuli's message tab and save it to a file need help

2013-12-14 Thread RaiMan
Question #240547 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/240547

Status: Open => Answered

RaiMan proposed the following answer:
should work with .skl also:
\runIde.cmd -r \myscript.skl >myscript-log.txt

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

___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp


Re: [Sikuli-driver] [Question #240547]: get log file like in Sikuli's message tab and save it to a file need help

2013-12-13 Thread Ninja Mustang
Question #240547 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/240547

Status: Answered => Open

Ninja Mustang is still having a problem:
\runIde.cmd -r \myscript.sikuli >myscript-log.txt  failed
since it can't read executable .skl file.

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

___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp


Re: [Sikuli-driver] [Question #240547]: get log file like in Sikuli's message tab and save it to a file need help

2013-12-09 Thread RaiMan
Question #240547 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/240547

Status: Open => Answered

RaiMan proposed the following answer:
the easiest way to get ALL output, that goes to the message area in IDE,
to a file:

run your script from command line as

\runIde.cmd -r \myscript.sikuli >myscript-log.txt

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

___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp


Re: [Sikuli-driver] [Question #240547]: get log file like in Sikuli's message tab and save it to a file need help

2013-12-09 Thread RaiMan
Question #240547 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/240547

RaiMan proposed the following answer:
... all other possibilities (log file option, user logs, ...) require
changes to your script coding.

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

___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp


Re: [Sikuli-driver] [Question #240547]: get log file like in Sikuli's message tab and save it to a file need help

2013-12-09 Thread Ninja Mustang
Question #240547 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/240547

Summary changed to:
get log file like in Sikuli's message tab and save it to a file need help

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

___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp