[Sikuli-driver] [Question #203999]: Sikuli Crashes and shows the error

2012-07-24 Thread Anup Apasangi
New question #203999 on Sikuli: https://answers.launchpad.net/sikuli/+question/203999 Hi, I just installed sikuli on Windows-7 operstong system and performed the following: 1.Opened the sikuli 2.Typed Click (*inserted and image)" 3.Clicked on Run. 4.Sikuli Closes automatically 5.When i open an

Re: [Sikuli-driver] [Question #203999]: Sikuli Crashes and shows the error

2012-07-24 Thread RaiMan
Question #203999 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/203999 Status: Open => Answered RaiMan proposed the following answer: look faq 2005 -- You received this question notification because you are a member of Sikuli Drivers, which is an answer contact for Sikuli

Re: [Sikuli-driver] [Question #203942]: Unable to automate File menu

2012-07-24 Thread Sathyamoorthy
Question #203942 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/203942 Status: Answered => Open Sathyamoorthy is still having a problem: Thanks for the detalied explanation. yeap. i have still have problem with my Virual macine creation wizard. Colud you please help me to

Re: [Sikuli-driver] [Question #203942]: Unable to automate File menu

2012-07-24 Thread Sathyamoorthy
Question #203942 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/203942 Status: Open => Solved Sathyamoorthy confirmed that the question is solved: Hi, Thanks For your help. I am able to do it. Thank you very much -- You received this question notification because you a

Re: [Sikuli-driver] [Question #203999]: Sikuli Crashes and shows the error

2012-07-24 Thread Anup Apasangi
Question #203999 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/203999 Status: Answered => Solved Anup Apasangi confirmed that the question is solved: Now its working fine...Thanks a lot Regards, Anup Apasangi -- You received this question notification because you are a

[Sikuli-driver] [Question #204013]: Clicking UAC dialogs

2012-07-24 Thread ane remmers
New question #204013 on Sikuli: https://answers.launchpad.net/sikuli/+question/204013 I am trying to create an install script and am having issues with UAC. I'm able to capture the UAC screenshot (I'm running the install on a VM, and Sikuli is running on my local machine) but when i run the scri

Re: [Sikuli-driver] [Question #204013]: Clicking UAC dialogs

2012-07-24 Thread RaiMan
Question #204013 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/204013 Status: Open => Answered RaiMan proposed the following answer: You must run the script as admin. -- You received this question notification because you are a member of Sikuli Drivers, which is an answe

[Sikuli-driver] [Question #204017]: .Bat file not being executed when run from Sikuli.skl

2012-07-24 Thread Chan Kok Lum
New question #204017 on Sikuli: https://answers.launchpad.net/sikuli/+question/204017 Hi all, I'm encountering a strange problem. If i run Sikuli script by clicking the "Play" button, the command below works fine. switchApp("c:\\temp\\kill-session.bat") App.open("c:\\temp\\kill-session.bat")

Re: [Sikuli-driver] [Question #204013]: Clicking UAC dialogs

2012-07-24 Thread Annie
Question #204013 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/204013 Annie posted a new comment: OK, what I'm doing is the following. I created the script on my local machine, then copied it to the VM I then right click on Sikuli and run as admin. I open said script and run i

Re: [Sikuli-driver] [Question #204017]: .Bat file not being executed when run from Sikuli.skl

2012-07-24 Thread RaiMan
Question #204017 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/204017 Status: Open => Answered RaiMan proposed the following answer: Forget about executable, this is only a zipped version of the .sikuli If you do not want the dos window, run your script using Sikuli- IDE-

Re: [Sikuli-driver] [Question #204013]: Clicking UAC dialogs

2012-07-24 Thread RaiMan
Question #204013 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/204013 RaiMan proposed the following answer: Any differences with the image on local machine and VM? Try to use an image captured in VM. -- You received this question notification because you are a member of Siku

Re: [Sikuli-driver] [Question #204013]: Clicking UAC dialogs

2012-07-24 Thread Annie
Question #204013 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/204013 Annie posted a new comment: I don't see where the difference could be. I've even captured the Yes/No buttons on the UAC dialog, and told it to wait for that. but it still doesn't pick it up. I also can't s

Re: [Sikuli-driver] [Question #204013]: Clicking UAC dialogs

2012-07-24 Thread RaiMan
Question #204013 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/204013 RaiMan requested more information: What is the easiest way, to produce such a dialog? -- You received this question notification because you are a member of Sikuli Drivers, which is an answer contact for Si

Re: [Sikuli-driver] [Question #204013]: Clicking UAC dialogs

2012-07-24 Thread Annie
Question #204013 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/204013 Annie posted a new comment: click on Start and type in UAC It will come up with "Change user account control settings" click it. Set the slider to the second from top- Default-Notify me only when programs tr

Re: [Sikuli-driver] [Question #158246]: UAC window capture

2012-07-24 Thread Annie
Question #158246 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/158246 Annie posted a new comment: I am having similar issues. only, the product I'm testing is Windows 7 compatible, which means that it must be able to run with UAC set to the Default setting. This means that i c

Re: [Sikuli-driver] [Question #204013]: Clicking UAC dialogs

2012-07-24 Thread RaiMan
Question #204013 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/204013 RaiMan proposed the following answer: Ok, just made some tests: It is not possible to act on UAC dialog using Sikuli. Neither the screen nor mouse/keyboard are accessible during the foreground display of the

Re: [Sikuli-driver] [Question #204013]: Clicking UAC dialogs

2012-07-24 Thread Annie
Question #204013 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/204013 Annie posted a new comment: This is most probably not a bug, but one of those annoying Microsoft features... -- You received this question notification because you are a member of Sikuli Drivers, which is a

Re: [Sikuli-driver] [Question #204013]: Clicking UAC dialogs

2012-07-24 Thread Annie
Question #204013 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/204013 Annie posted a new comment: OK thanx again RaiMan. I guess I will just have to run between local and VM to bypass this. -- You received this question notification because you are a member of Sikuli Drivers

[Sikuli-driver] [Question #204031]: How to press Control and A key in key board at a time to select all

2012-07-24 Thread manas
New question #204031 on Sikuli: https://answers.launchpad.net/sikuli/+question/204031 How to press Control and A key in key board at a time to select all -- You received this question notification because you are a member of Sikuli Drivers, which is an answer contact for Sikuli. ___

Re: [Sikuli-driver] [Question #204031]: How to press Control and A key in key board at a time to select all

2012-07-24 Thread RaiMan
Question #204031 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/204031 Status: Open => Answered RaiMan proposed the following answer: look docs http://sikuli.org/docx/keys.html#key-constants -- You received this question notification because you are a member of Sikuli Dri

[Sikuli-driver] [Question #204038]: need simple lock code to keep event handler in line

2012-07-24 Thread Rosie Bell
New question #204038 on Sikuli: https://answers.launchpad.net/sikuli/+question/204038 Hi guys, This relates to a previous question raised by Josh 183655. I have an event handler to click an OK button on an error messagebox that pops up. It seems to always happen in the middle of an activity wh

Re: [Sikuli-driver] [Question #204038]: need simple lock code to keep event handler in line

2012-07-24 Thread RaiMan
Question #204038 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/204038 RaiMan posted a new comment: BTW: I use Sikuli's Settings class as global variable storage - it is easier and more obvious -- You received this question notification because you are a member of Sikuli Drive

Re: [Sikuli-driver] [Question #204038]: need simple lock code to keep event handler in line

2012-07-24 Thread RaiMan
Question #204038 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/204038 Status: Open => Answered RaiMan proposed the following answer: I think, this is not the whole story, since this does not prevent the popup to arise in parallel with the swipe action, which is the real pr

Re: [Sikuli-driver] [Question #204038]: need simple lock code to keep event handler in line

2012-07-24 Thread RaiMan
Question #204038 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/204038 RaiMan proposed the following answer: Just realized the possible orphaned mouseDown(): def swipe(begin,end): while True: while Settings.myInHandler: wait(0.5) mouseDown(begin, Button.LEFT

[Sikuli-driver] [Question #204048]: Sikuli and Mountain Lion compatibility

2012-07-24 Thread Robert Grant
New question #204048 on Sikuli: https://answers.launchpad.net/sikuli/+question/204048 A colleague just tried to download Sikuli on his Mountain Lion machine and was informed that Sikuli is not compatible with OS X 10.8. Is this for real or a bug in the website? If it's for real - what's the cau

Re: [Sikuli-driver] [Question #203958]: Sikuli is stuck finding one image that no longer exists

2012-07-24 Thread Deses
Question #203958 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/203958 Deses posted a new comment: Thank you for the response. I'm going to try your variant and see if I can't debug everything with highlight... thats a nifty method, I'm sure I'm going to use it a lot. :D And th

[Sikuli-driver] [Question #204056]: Problem With For loop

2012-07-24 Thread Sathyamoorthy
New question #204056 on Sikuli: https://answers.launchpad.net/sikuli/+question/204056 Hello, I am trying to do some several step [Adding VM disk continously] using for loop. But the loop is not iterating at all. Here i am pasting the code if (ndisk > 1): ndisk = int(ndisk) - 1 for i in

Re: [Sikuli-driver] [Question #203958]: Sikuli is stuck finding one image that no longer exists

2012-07-24 Thread Deses
Question #203958 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/203958 Status: Answered => Solved Deses 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, wh

Re: [Sikuli-driver] [Question #204056]: Problem With For loop

2012-07-24 Thread Sathyamoorthy
Question #204056 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/204056 Status: Open => Solved Sathyamoorthy confirmed that the question is solved: Copying the error message... [log] App.focus New Virtual Machine - Virtual Machine properties(0) #0 [error] App.focus failed:

Re: [Sikuli-driver] [Question #204056]: Problem With For loop

2012-07-24 Thread Sathyamoorthy
Question #204056 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/204056 Sathyamoorthy posted a new comment: Copying the error message... [log] App.focus New Virtual Machine - Virtual Machine properties(0) #0 [error] App.focus failed: New Virtual Machine - Virtual Machine propert

Re: [Sikuli-driver] [Question #203958]: Sikuli is stuck finding one image that no longer exists

2012-07-24 Thread Deses
Question #203958 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/203958 Deses posted a new comment: Yep, that torally was it. Using highlight it was outlining a totally random area, that was not showing in the patterm settings. Thanks a lot RainMan! -- You received this questi

Re: [Sikuli-driver] [Question #204056]: Problem With For loop

2012-07-24 Thread Sathyamoorthy
Question #204056 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/204056 Status: Solved => Open Sathyamoorthy is still having a problem: Sorry i unfortunately clsoed Opening the issue -- You received this question notification because you are a member of Sikuli Drivers,

Re: [Sikuli-driver] [Question #204031]: How to press Control and A key in key board at a time to select all

2012-07-24 Thread manas
Question #204031 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/204031 Status: Answered => Open manas is still having a problem: But there is no alphabet key to enter. or can i use type("A") for alphabet key like A or not? -- You received this question notification becaus

[Sikuli-driver] [Bug 1028612] [NEW] Sikuli for Java 7 throws exception when launched in Java 7 on OS X

2012-07-24 Thread Jason Lunn
Public bug reported: When run with Java 6, sikuli-script.jar executes without issue. When same jar is executed with Java 7, exception similar to stacktrace below is emitted. Note that this is replicable with the jar found in sikuli- script-java7.zip posted to drop box, with the caveat that the lat

[Sikuli-driver] [Question #204066]: Builing a GUI with Sikuli

2012-07-24 Thread Deses
New question #204066 on Sikuli: https://answers.launchpad.net/sikuli/+question/204066 I want to do a GUI for my script in order to let the user input some options... I'm want to export from javax.swing and build a very basic gui, but I don't know if it's possible... and I don't want to build eve

Re: [Sikuli-driver] [Question #204056]: Problem With For loop

2012-07-24 Thread Sathyamoorthy
Question #204056 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/204056 Sathyamoorthy gave more information on the question: Hi Guys, The forloop goes first time and when comes to second iteration, the following message i am getting , [error] Stopped [error] An error occurs at

Re: [Sikuli-driver] [Question #204056]: Problem With For loop

2012-07-24 Thread Sathyamoorthy
Question #204056 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/204056 Sathyamoorthy gave more information on the question: I am also pasting my complete code here popup("... NW_OSSR Automation process ...") name = input("Enter ESX IP \n [Where to create VM for OSSR]") vname =

[Sikuli-driver] [Question #204098]: Meet OutOfMemoryError with JAVA

2012-07-24 Thread Bob
New question #204098 on Sikuli: https://answers.launchpad.net/sikuli/+question/204098 When we try to prepare the test case script with java through the sikuli-script.jar, we found that we may meet java.lang.OutOfMemoryError sometimes. If we run the test case one by one in just one static main fu

Re: [Sikuli-driver] [Question #204031]: How to press Control and A key in key board at a time to select all

2012-07-24 Thread manas
Question #204031 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/204031 manas gave more information on the question: I want to write code for hold CTRL key and press A in key board to do select all and release after select all in a screen.How to achieve this -- You received thi

Re: [Sikuli-driver] [Question #204048]: Sikuli and Mountain Lion compatibility

2012-07-24 Thread RaiMan
Question #204048 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/204048 Status: Open => Answered RaiMan proposed the following answer: Should be a bug on the website. I do not see any aspect (besides the new sandboxing feature - but that is controlled by the user), that mig

Re: [Sikuli-driver] [Question #204031]: How to press Control and A key in key board at a time to select all

2012-07-24 Thread RaiMan
Question #204031 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/204031 Status: Open => Answered RaiMan proposed the following answer: Yes it is such easy: type("a", KeyModifier.CTRL) do not use "A", because this would simulate Shift-Ctrl-a -- You received this question

[Sikuli-driver] [Bug 1028612] Re: Sikuli for Java 7 throws exception when launched in Java 7 on OS X

2012-07-24 Thread RaiMan
What happens if you use the jar from Sikuli-IDE.app in /Applications ??? java -jar /Applications/Sikuli-IDE.app/Contents/Resources/Java/sikuli- script.jar -i -- You received this bug notification because you are a member of Sikuli Drivers, which is subscribed to Sikuli. https://bugs.launchpad.ne

Re: [Sikuli-driver] [Question #204066]: Builing a GUI with Sikuli

2012-07-24 Thread RaiMan
Question #204066 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/204066 Status: Open => Answered RaiMan proposed the following answer: In a Sikuli script you can use any java/javax classes. e.g. import javax.swing.JFrame as JF frame = JF() frame.pack() frame.setVisib

Re: [Sikuli-driver] [Question #204031]: How to press Control and A key in key board at a time to select all

2012-07-24 Thread manas
Question #204031 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/204031 Status: Answered => Solved manas confirmed that the question is solved: Thanks a lots its solved my problem -- You received this question notification because you are a member of Sikuli Drivers, which

Re: [Sikuli-driver] [Question #204056]: Problem With For loop

2012-07-24 Thread RaiMan
Question #204056 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/204056 Status: Open => Answered RaiMan proposed the following answer: The error is a simple "image not found " in your script's line 65 -- You received this question notification because you are a member of S