[Sikuli-driver] [Bug 513312] Re: Invalid key code when : included in a string with type()
@ Roberto To type the symbol : you have to replace each occurence with . for example: C\\temp This isn´t very nice but it will grant you the possibility to run your test. I hope this will be fixed in any version. A possible Idea to fix this Issue would be a parameter, which will set the input type of the keyboard. // Example.sikuli Setting.keyboardLayout(it) ... following Testcode in which the keyboardLayout will be used -- You received this bug notification because you are a member of Sikuli Drivers, which is subscribed to Sikuli. https://bugs.launchpad.net/bugs/513312 Title: Invalid key code when : included in a string with type() Status in Sikuli: In Progress Bug description: Trying the following code: type(cd C:\\temp\\\r); The result is: [sikuli] type: 'cd C:\temp\ ' +0 [sikuli] [Error] source lineNo: 2 [sikuli] [Error] Traceback (innermost last): File C:\DOCUME~1\ADMINI~1\CONFIG~1\Temp\sikuli-tmp3784144668038766078.py, line 2, in ? File C:\Archivos de programa\Sikuli\sikuli-ide-full.jar\Lib/python/edu/mit/csail/uid/Sikuli.py, line 403, in type at sun.awt.windows.WRobotPeer.keyPress(Native Method) at java.awt.Robot.keyPress(Unknown Source) at edu.mit.csail.uid.SikuliScript.doType(SikuliScript.java:409) at edu.mit.csail.uid.SikuliScript.doType(SikuliScript.java:410) at edu.mit.csail.uid.SikuliScript.doType(SikuliScript.java:401) at edu.mit.csail.uid.SikuliScript.type_ch(SikuliScript.java:504) at edu.mit.csail.uid.SikuliScript.type(SikuliScript.java:542) at edu.mit.csail.uid.SikuliScript.type(SikuliScript.java:390) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) java.lang.IllegalArgumentException: java.lang.IllegalArgumentException: Invalid key code I am using Windows XP (Spanish) and Sikuli latest version. To manage notifications about this bug go to: https://bugs.launchpad.net/sikuli/+bug/513312/+subscriptions ___ 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 #261759]: Running Sikulix Tests on a VM via Jenkins: click() is reported, but not done really
Question #261759 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/261759 Alessandro Capello posted a new comment: The solution is kind of brute force. We got an old laptop on which we run the tests. The laptop itself isn´t locked so that sikulix can run the tests. I don´t like this solution but it´s the only thing I could have thinked of doing right now. If there is anything better which doesn´t require a huge investment/effort, I would be delighted to hear that ;) regards Alessandro -- 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 #261759]: Running Sikulix Tests on a VM via Jenkins
Question #261759 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/261759 Status: Open = Solved Alessandro Capello confirmed that the question is solved: ... I'm truly sorry for asking this question. Sadly I haven't got any search results for my question so I started writing it. It must have been a bug or just the search engine who failed. Could someone please close the question because I read the answer on the board. regards Alessandro -- 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
[Sikuli-driver] [Question #261759]: Running Sikulix Tests on a VM via Jenkins
New question #261759 on Sikuli: https://answers.launchpad.net/sikuli/+question/261759 Hi everyone, I have an issue with the Sikulix 1.1.0 version. My Scenario: I have an jenkins instance which continuously triggers a maven build which is ran on a virtual machine. The job contains just a simple setup followed by an execution of a very simple sikuli test (Open firefox - paste url - press buttons, nothing fancy) The problem which I'm currently facing is that the test won't get executed on the vm. The weird thing is that sikulix still logs the actions but without executing them. My first thought was that the vm had any problems (like missing write privileges) but after executing the test manually with success all those concerns were gone. I always log on to the vm via RDP (Win- Win). My guess is that when leaving the vm (still be logged on but not watching the vm desktop) the test won't get executed. Is this a common problem? And are there maybe some fixes? regards Alessandro -- 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