[Sikuli-driver] [Question #205272]: Maximize the window - Mac

2012-08-08 Thread Neo
New question #205272 on Sikuli: https://answers.launchpad.net/sikuli/+question/205272 Not a browser. I have desktop application. Want to maximize the window. I can find maximize image on top left corner and click on it. But, looking for a better solution with importing os or any other module.

[Sikuli-driver] [Bug 1034237] Re: X-1.0rc3: Windows: can't take screenshot on win8 - Java 7 not supported

2012-08-08 Thread Died
*** This bug is a duplicate of bug 914020 *** https://bugs.launchpad.net/bugs/914020 thx RaiMan, I install JRE 6 32Bit to "C:\Program Files (x86)\Java" , then it worked :) -- You received this bug notification because you are a member of Sikuli Drivers, which is subscribed to Sikuli. https:/

Re: [Sikuli-driver] [Question #205272]: Maximize the window - Mac

2012-08-08 Thread Sumit Bisht
Question #205272 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/205272 Sumit Bisht posted a new comment: You could validate your currently selected window title first as there might be more than one window open. As sikuli is image dependent, the solution is not os independent

Re: [Sikuli-driver] [Question #205117]: multiple scripts --- from sikuli import * needed

2012-08-08 Thread RaiMan
Question #205117 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/205117 RaiMan posted a new comment: @ Neo Oh yes man: the one, who can read, has an advantage ;-) -- You received this question notification because you are a member of Sikuli Drivers, which is an answer contact f

[Sikuli-driver] [Bug 592338] Re: Java exception when starting 0.10.1 in Windows 7 32-bit

2012-08-08 Thread Kris Stanton
Hi, I'm seeing this today on a Windows 7 32 bit installation. We are very keen on installing Sikuli on some test automation machines and this bug is blocking us. Some more detail. I'm starting under the windows debugger to get additional insight like this: C:\tmp>windbg.exe java.exe -Xms64M -Xm

Re: [Sikuli-driver] [Question #205211]: How can i call Random(), insikuli using the import libraries

2012-08-08 Thread Muzammil Basha
Question #205211 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/205211 Status: Answered => Solved Muzammil Basha confirmed that the question is solved: Thanks RaiMan, that solved my question. -- You received this question notification because you are a member of Sikuli Dr

[Sikuli-driver] [Question #205278]: Sikuli fail when it didnot find the match

2012-08-08 Thread Lakshman
New question #205278 on Sikuli: https://answers.launchpad.net/sikuli/+question/205278 Iam using, Click(Image.png) Saving this as Image.skl Iam running this in Robot Framework with RUN Keyword as RUN Image.skl When Sikuli is not finding the Image it is throwing some Pop up Window saying it

Re: [Sikuli-driver] [Question #205278]: Sikuli fail when it didnot find the match

2012-08-08 Thread RaiMan
Question #205278 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/205278 Status: Open => Answered RaiMan proposed the following answer: --- Please resolve this --- LOL IMHO it is up to you to resolve this: e.g. by adjusting your testing implementation. There are some option

Re: [Sikuli-driver] [Question #205272]: Maximize the window - Mac

2012-08-08 Thread RaiMan
Question #205272 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/205272 Status: Open => Answered RaiMan proposed the following answer: There is no "importing os or any other module" available for application control on Mac with Jython. The easiest way, to manage zooming wi

Re: [Sikuli-driver] [Question #205069]: Using type commands in test case (JUnit)

2012-08-08 Thread j
Question #205069 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/205069 Status: Open => Answered j proposed the following answer: Did you mean this FAQ? It's about special keys in Java https://answers.launchpad.net/sikuli/+faq/1444 -- You received this question notificatio

Re: [Sikuli-driver] [Question #205069]: Using type commands in test case (JUnit)

2012-08-08 Thread RaiMan
Question #205069 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/205069 RaiMan posted a new comment: uups, of course, thanks j -- You received this question notification because you are a member of Sikuli Drivers, which is an answer contact for Sikuli.

[Sikuli-driver] [Question #205306]: How to use Java code and Sikuli to click menu items

2012-08-08 Thread Ona_17
New question #205306 on Sikuli: https://answers.launchpad.net/sikuli/+question/205306 I have an application where I need to be able to log out and the only way to do so is to click on the Log out option in the drop down menu however I am having a lot of problems. I have captured the screenshots

Re: [Sikuli-driver] [Question #205306]: How to use Java code and Sikuli to click menu items

2012-08-08 Thread RaiMan
Question #205306 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/205306 Status: Open => Needs information RaiMan requested more information: what system? --- However when I try to run the code from Java what does that mean? Converted the Jython script into Java code? paste

Re: [Sikuli-driver] [Question #205306]: How to use Java code and Sikuli to click menu items

2012-08-08 Thread Ona_17
Question #205306 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/205306 Status: Needs information => Open Ona_17 gave more information on the question: Yes it has been converted into Java code. We are running it on a Tomcat server and using HTTP commands I'm using Windows X

Re: [Sikuli-driver] [Question #205306]: How to use Java code and Sikuli to click menu items

2012-08-08 Thread RaiMan
Question #205306 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/205306 Status: Open => Answered RaiMan proposed the following answer: Look: http://sikuli.org/docx/faq/030-java-dev.html#how-to-use-sikuli- script-in-your-java-programs You always need a Region or Screen objec

Re: [Sikuli-driver] [Question #205272]: Maximize the window - Mac

2012-08-08 Thread Neo
Question #205272 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/205272 Neo posted a new comment: Super. The applescript worked for me. here is method I wrote. Is this fine, works always ..? def maximize_myWindow(): cmd = """osascript<" click button 2 of wi

Re: [Sikuli-driver] [Question #205306]: How to use Java code and Sikuli to click menu items

2012-08-08 Thread Ona_17
Question #205306 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/205306 Status: Answered => Open Ona_17 is still having a problem: Oh. Actually we already do that. (Yet another detail I forgot to add -- apologies) The click method that I used in the above code is declared i

[Sikuli-driver] [Question #205343]: find a highlighted section of the screen

2012-08-08 Thread Abhilash Ravi
New question #205343 on Sikuli: https://answers.launchpad.net/sikuli/+question/205343 Hi, So here's what i'm trying to do, I have a section of the screen that has been defined in a region. This region displays the activities being performed on a device's screen relayed in using some hardware. T

Re: [Sikuli-driver] [Question #205343]: find a highlighted section of the screen

2012-08-08 Thread Abhilash Ravi
Question #205343 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/205343 Abhilash Ravi posted a new comment: Also an alternative would be if i can find a region with the background pixel color as white or gray and the text color as black -- You received this question notificatio

Re: [Sikuli-driver] [Question #205272]: Maximize the window - Mac

2012-08-08 Thread RaiMan
Question #205272 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/205272 RaiMan proposed the following answer: really well done :-) I would add the app's name as function parameter. ... and you could add an tell application theApp to activate at the beginning, so you do not ne

Re: [Sikuli-driver] [Question #205306]: How to use Java code and Sikuli to click menu items

2012-08-08 Thread RaiMan
Question #205306 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/205306 Status: Open => Answered RaiMan proposed the following answer: Ok, understood. Then you should split the click action into the (underlying) basic mouse actions, so you have more control on what happens.