[Sikuli-driver] [Question #212171]: tearDown not called when calling exit() in a unit test

2012-10-24 Thread Georgi Angelchov
New question #212171 on Sikuli: https://answers.launchpad.net/sikuli/+question/212171 Hi, I have a .sikuli unit test that looks like this: def setUp(self): print Setting up... #some set-up code goes here def tearDown(self): print Tearing Down... #some code for tearing down goes

Re: [Sikuli-driver] [Question #212171]: tearDown not called when calling exit() in a unit test

2012-10-24 Thread Georgi Angelchov
Question #212171 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/212171 Georgi Angelchov gave more information on the question: Okay, it looks like the tearDown method is not invoked if my test fails for any reason (e.g., FindFailed). Seems like it's invoked only if my unit test

[Sikuli-driver] [Question #212190]: Problems with Key.HOME

2012-10-24 Thread Matthias Neudecker
New question #212190 on Sikuli: https://answers.launchpad.net/sikuli/+question/212190 I have a script running on a two-monitor environment that does not execute the command type(Key.HOME). I first set the focus to the window by clicking an element in the status bar of IE and then want the page

Re: [Sikuli-driver] [Question #212171]: tearDown not called when calling exit() in a unit test

2012-10-24 Thread Georgi Angelchov
Question #212171 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/212171 Georgi Angelchov 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

Re: [Sikuli-driver] [Question #212171]: tearDown not called when calling exit() in a unit test

2012-10-24 Thread Georgi Angelchov
Question #212171 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/212171 Status: Answered = Solved Georgi Angelchov confirmed that the question is solved: Thanks for the answer. Initially my test had asserts. I changed this to print message and exit because the

Re: [Sikuli-driver] [Question #212190]: Problems with Key.HOME

2012-10-24 Thread RaiMan
Question #212190 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/212190 Status: Open = Answered RaiMan proposed the following answer: It might be, that you first have to give focus to the content part of the window (e.g. clicking the webpage) first, to fire the Key.Home

[Sikuli-driver] [Bug 1070929] [NEW] Errors in parent folder path that IDE adds to sys.path

2012-10-24 Thread Brian Redmond
Public bug reported: Sikuli-X-1.0rc3 (r905)-win32 Java 6 Update 37, 32-bit Win 7 64bit 1. Create a folder that starts with the letter a or b, ex: 'C:\Users\Public\automation' 2. Open sikuli IDE, and create the following one line script: print(str(sys.path)) 3 .Save this script with any name

[Sikuli-driver] [Question #212205]: Finder class

2012-10-24 Thread Tiago Reis
New question #212205 on Sikuli: https://answers.launchpad.net/sikuli/+question/212205 Hi. I have an array of images (communications) and in every images in the array I'm trying to find inside of that image another subimage (E.png). In some index positions there are images with the subimage

Re: [Sikuli-driver] [Question #212205]: Finder class

2012-10-24 Thread RaiMan
Question #212205 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/212205 Status: Open = Answered RaiMan proposed the following answer: correct usage of Finder class: for i in range(len(communications)): sleep(1) f = Finder(communications[i]) # setup the Finder

[Sikuli-driver] [Question #212238]: Drag and Drop auto-selecting X, y of each point while performing action

2012-10-24 Thread Mat
New question #212238 on Sikuli: https://answers.launchpad.net/sikuli/+question/212238 Hello, Is there any way that I can use drag and drop in a way that will do the following: 1- On click it registers the x, y location 2- Drag to a seperate location, but the action is performed on the screen

[Sikuli-driver] [Question #212259]: How to use assert function

2012-10-24 Thread naveen
New question #212259 on Sikuli: https://answers.launchpad.net/sikuli/+question/212259 Below script is not working can u tell me the reason thanks in advance def setUp(self): doubleClick(umu.png) sleep(2) find(1350899125836.png) type(1350899134292.png, guest)