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

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

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

Re: [Sikuli-driver] [Question #229988]: How to implement Try Catch error handling in Sikuli Script

2017-04-04 Thread stewazy
Question #229988 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/229988 stewazy posted a new comment: How to I catch the error message to a log file ? -- You received this question notification because your team Sikuli Drivers is an answer contact for Sikuli

Re: [Sikuli-driver] [Question #194082]: How to get the error messages of sikuli program in my own log message?

2017-04-04 Thread stewazy
Question #194082 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/194082 stewazy posted a new comment: is there a try catch variant where in catch the error can be caught and logged into a .log or .txt file ? -- You received this question notification because your team Sikuli

[Sikuli-driver] [Question #610943]: Logging sikuli errors to a separate log file

2017-04-05 Thread stewazy
New question #610943 on Sikuli: https://answers.launchpad.net/sikuli/+question/610943 Hello everyone, I'm new to sikuli, I'm bound by the framework which has been developed on 1.0.1 sikuli and I have to find a way to export sikuli errors to a separate log file. For example on which line the test

Re: [Sikuli-driver] [Question #610943]: Logging sikuli errors to a separate log file

2017-04-06 Thread stewazy
Question #610943 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/610943 Status: Answered => Open stewazy is still having a problem: FindFaild is this like Exception e for example in java, can i write FindFailed into my log file ? for example def myTest() try:

Re: [Sikuli-driver] [Question #610943]: Logging sikuli errors to a separate log file

2017-04-06 Thread stewazy
Question #610943 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/610943 stewazy posted a new comment: e = sys.exc_info() smth in these lines in except but i still can't make it to tell me which line in my code failed any ideas, guys im very close to my solution :D --

Re: [Sikuli-driver] [Question #610943]: Logging sikuli errors to a separate log file

2017-04-06 Thread stewazy
Question #610943 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/610943 Status: Answered => Solved stewazy confirmed that the question is solved: Thanks RaiMan, that solved my question. -- You received this question notification because your team Sikuli Drivers is

Re: [Sikuli-driver] [Question #610943]: Logging sikuli errors to a separate log file

2017-04-06 Thread stewazy
Question #610943 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/610943 stewazy posted a new comment: Tank you @RaiMan You are a God among men :D here is my solution for logging error try: #your test except: var = traceback.format_exc() file = open("C:\\S

Re: [Sikuli-driver] [Question #610943]: Logging sikuli errors to a separate log file

2017-04-06 Thread stewazy
Question #610943 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/610943 Status: Solved => Open stewazy is still having a problem: Here I am again with a problem, now my xmlrunner isn't working, :S every TC passes now :S can you recommend an xml runner which I

Re: [Sikuli-driver] [Question #610943]: Logging sikuli errors to a separate log file

2017-04-07 Thread stewazy
Question #610943 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/610943 stewazy posted a new comment: Sry :((( but thnx :D -- You received this question notification because your team Sikuli Drivers is an answer contact for Sikuli

Re: [Sikuli-driver] [Question #610943]: Logging sikuli errors to a separate log file

2017-04-07 Thread stewazy
Question #610943 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/610943 Status: Answered => Solved stewazy confirmed that the question is solved: Thanks RaiMan, that solved my question. -- You received this question notification because your team Sikuli Drivers is

[Sikuli-driver] [Question #614514]: Sikuli xmlrunner/htmlrunner with try catch in test cases

2017-04-07 Thread stewazy
New question #614514 on Sikuli: https://answers.launchpad.net/sikuli/+question/614514 Hello everyone, I want to aplogize to Raiman, I'm openning a new question related to xmlrunner/html runner. First off I'm using this xml runner.I have a problem logging error in a file log.log and at the same

[Sikuli-driver] [Question #614515]: Sikuli xmlrunner/htmlrunner with try catch in test cases

2017-04-07 Thread stewazy
New question #614515 on Sikuli: https://answers.launchpad.net/sikuli/+question/614515 Hello everyone, I want to aplogize to Raiman, I'm openning a new question related to xmlrunner/html runner. First off I'm using this xml runner.I have a problem logging error in a file log.log and at the same

Re: [Sikuli-driver] [Question #614515]: Sikuli xmlrunner/htmlrunner with try catch in test cases

2017-04-07 Thread stewazy
Question #614515 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/614515 stewazy gave more information on the question: https://drive.google.com/open?id=0B3yXqb4fPqMBTlJ5R0xYdTRrYWc here is the xmlrunner.py I forgot to link. -- You received this question notification because

Re: [Sikuli-driver] [Question #614515]: Sikuli xmlrunner/htmlrunner with try catch in test cases

2017-04-07 Thread stewazy
Question #614515 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/614515 Status: Answered => Open stewazy is still having a problem: My case still stand because I'm bound to 1.0.1 Sikuli on VM :( -- You received this question notification because your team Sikuli

Re: [Sikuli-driver] [Question #614515]: Sikuli xmlrunner/htmlrunner with try catch in test cases

2017-04-07 Thread stewazy
Question #614515 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/614515 stewazy posted a new comment: Which xml runner are you using ? -- You received this question notification because your team Sikuli Drivers is an answer contact for Sikuli

Re: [Sikuli-driver] [Question #614515]: Sikuli xmlrunner/htmlrunner with try catch in test cases

2017-04-07 Thread stewazy
Question #614515 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/614515 stewazy gave more information on the question: Sorry for spamming, I didn't find an edit button my goal is to get the same message in the log.log and xmlreport file. -- You received this que

Re: [Sikuli-driver] [Question #614515]: Sikuli xmlrunner/htmlrunner with try catch in test cases

2017-04-07 Thread stewazy
Question #614515 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/614515 stewazy posted a new comment: OK, thanks @RaiMan, I will try to find a solution in the next week if I don't write that means i quit xD, If find a suitable solution I will post it here -- You received

Re: [Sikuli-driver] [Question #614515]: Sikuli xmlrunner/htmlrunner with try catch in test cases

2017-04-07 Thread stewazy
Question #614515 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/614515 stewazy posted a new comment: Or if you have any sugestions for me to write my own xml runner :D ? -- You received this question notification because your team Sikuli Drivers is an answer contact for

[Sikuli-driver] [Question #623031]: Sikuli 1.0.1 get current mouse coordinates

2017-04-19 Thread stewazy
New question #623031 on Sikuli: https://answers.launchpad.net/sikuli/+question/623031 I am trying to get my current mouse coordinates because I want it to click on those same coordinates. Is there a way to do that in sikuli 1.0.1 ? -- You received this question notification because your team Si

Re: [Sikuli-driver] [Question #614515]: Sikuli xmlrunner/htmlrunner with try catch in test cases

2017-04-19 Thread stewazy
Question #614515 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/614515 Status: Answered => Solved stewazy confirmed that the question is solved: import unittest import sys import logging import os import traceback from sikuli import * class TestClass (unittest.TestC

Re: [Sikuli-driver] [Question #623031]: Sikuli 1.0.1 get current mouse coordinates

2017-04-19 Thread stewazy
Question #623031 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/623031 stewazy posted a new comment: So then I assume I can do smth like this click(Env.getMouseLocation()) ? -- You received this question notification because your team Sikuli Drivers is an answer contact for

Re: [Sikuli-driver] [Question #623031]: Sikuli 1.0.1 get current mouse coordinates

2017-04-19 Thread stewazy
Question #623031 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/623031 Status: Answered => Solved stewazy confirmed that the question is solved: And thanks for a swift answer dude, you rock :) -- You received this question notification because your team Sikuli Drivers

Re: [Sikuli-driver] [Question #623031]: Sikuli 1.0.1 get current mouse coordinates

2017-04-19 Thread stewazy
Question #623031 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/623031 stewazy confirmed that the question is solved: Thanks RaiMan, that solved my question. -- You received this question notification because your team Sikuli Drivers is an answer contact for Sikuli

[Sikuli-driver] [Question #625456]: Getting exact coordinates from Env.getMouseLocation()

2017-04-21 Thread stewazy
New question #625456 on Sikuli: https://answers.launchpad.net/sikuli/+question/625456 Hello it's me again. I have a question, how can i get x and y coordinates of mouse pointer when i do for example location = Env.getMouseLocation() i need to use the y coordinate to increment it and then to pa

Re: [Sikuli-driver] [Question #625456]: Getting exact coordinates from Env.getMouseLocation()

2017-04-21 Thread stewazy
Question #625456 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/625456 Status: Open => Solved stewazy confirmed that the question is solved: xLoc = Env.getMouseLocation().getX() yLoc = Env.getMouseLocation().getY() I'm sry xD -- You received this

[Sikuli-driver] [Question #642888]: Running Sikuli on Windows 7/8.1/10 which has to run a virtual machine

2017-06-09 Thread stewazy
New question #642888 on Sikuli: https://answers.launchpad.net/sikuli/+question/642888 Hello, I have a new problem, is it possible to run sikuli through Java on a main machine which uses windows 7/8.1 or 10 to automate some tests on a virtual machine which uses windows xp? Also which is the best

[Sikuli-driver] [Question #656215]: How to find a text on screen and click on it Sikuli 1.0.1

2017-08-16 Thread stewazy
New question #656215 on Sikuli: https://answers.launchpad.net/sikuli/+question/656215 Hello I have a problem, that I hope you can help me with: I need to click on an item in a dropdown menu, but that item in the dropdown menu changes every time i run the test, for example i have the following te

Re: [Sikuli-driver] [Question #656215]: How to find a text on screen and click on it Sikuli 1.0.1

2017-08-16 Thread stewazy
Question #656215 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/656215 Status: Needs information => Open stewazy gave more information on the question: Environment is Windows XP, yes i can see the content of the dropdown menu, but the problem is that that content chan