Re: [Sikuli-driver] [Question #643827]: Win10 doesn’t render RDP sessions when local screen locked
Question #643827 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/643827 Status: Open => Answered masuo proposed the following answer: There is a similar question. How to continue script running when RDP window minimized. https://answers.launchpad.net/sikuli/+question/213636 Your case may be different from this, but for your reference. -- You received this question notification because your team Sikuli Drivers 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 #643686]: dragDrop with no screenshot? just basic text.
Question #643686 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/643686 masuo posted a new comment: When you close question, select best answer and click "This Solved My Problem" button. -- You received this question notification because your team Sikuli Drivers 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 #643830]: Print the current mouse cursors location
Question #643830 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/643830 Status: Open => Answered masuo proposed the following answer: see this document. http://sikulix-2014.readthedocs.io/en/latest/globals.html?highlight=getMouseLocation To realize what you want to do is not only one way. Document tell us a lot of things. To know existence of document is important anytime. -- You received this question notification because your team Sikuli Drivers 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 #643686]: dragDrop with no screenshot? just basic text.
Question #643686 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/643686 Status: Answered => Solved arminius confirmed that the question is solved: worked great, thanks -- You received this question notification because your team Sikuli Drivers 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 #643830]: Print the current mouse cursors location
New question #643830 on Sikuli: https://answers.launchpad.net/sikuli/+question/643830 I have designed my program to deliver my mouse cursor to a spectic point in a screen shot, but I need to drag and drop between that position and the center of the screen. I can't do that without knowing where the point in the screen shot is, so how do I print where the location of the mouse cursor is? -- You received this question notification because your team Sikuli Drivers 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 #643827]: Win10 doesn’t render RDP sessions when local screen locked
New question #643827 on Sikuli: https://answers.launchpad.net/sikuli/+question/643827 With Windows 7 I was able to RDP into a test machine running Server 2012, kick off a sikuli script, and then lock my local Win7 client’s screen. Windows would continue to render the RDP session (with the screen locked) and sikuli would be able to see images without issue. Now that my local machine is Win10, however, it will no longer continue to render the RDP session when the screen is locked so all Sikuli image searches fail. Does anybody know if there a workaround to get this to work with Win10? Display settings and video card settings have had no effect. -- You received this question notification because your team Sikuli Drivers 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 #643548]: AssertionError
Question #643548 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/643548 Status: Needs information => Open Abhi gave more information on the question: if model which is drawn by SikuliX is not similar to the model screenshot then it saves that model to error folder and close the model and assert failure. -- You received this question notification because your team Sikuli Drivers 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 #643629]: Drag and drop while IF is untrue?
Question #643629 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/643629 Status: Open => Solved arminius confirmed that the question is solved: sorry, I had to log out and back in and when I tried again it worked fine. -- You received this question notification because your team Sikuli Drivers 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 #643629]: Drag and drop while IF is untrue?
Question #643629 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/643629 Status: Solved => Open arminius is still having a problem: actually I spoke to soon, I didn't fully run the entire code, I was looking for the drag and drop operation. now it's returning with "[error] SyntaxError ( "no viable alternative at input 'sleep'", )" -- You received this question notification because your team Sikuli Drivers 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 #643629]: Drag and drop while IF is untrue?
Question #643629 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/643629 Status: Answered => Solved arminius confirmed that the question is solved: Worked great, thanks. -- You received this question notification because your team Sikuli Drivers 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 #643462]: How to calculate the exact center of a computer screen?
Question #643462 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/643462 Status: Answered => Solved arminius confirmed that the question is solved: Sorry, my bad, that worked great. -- You received this question notification because your team Sikuli Drivers 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 #643462]: How to calculate the exact center of a computer screen?
Question #643462 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/643462 masuo posted a new comment: Please close if this question is solved. -- You received this question notification because your team Sikuli Drivers 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 #643686]: dragDrop with no screenshot? just basic text.
Question #643686 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/643686 Status: Open => Answered masuo proposed the following answer: if you want to drag & drop from (300,300) to (450,450). x1 = 300 y1 = 300 x2 = 450 y2 = 450 dragDrop(Location(x1,y1),Location(x2,y2)) -- You received this question notification because your team Sikuli Drivers 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] [Bug 1489809] Re: [1.1.0] run sikuli script with jenkins
appearently i have the same problem when trying to run sikuli through an sshtask with cygwin as ssh-host. I get the following error message: 14-Jun-2017 14:03:48+++ running this Java 14-Jun-2017 14:03:52+++ trying to run SikuliX 14-Jun-2017 14:03:52+++ using: -Xms64M -Xmx512M -Dfile.encoding=UTF-8 -Dsikuli.FromCommandLine -jar C:\SikuliX\sikulix.jar -d 3 -r E:/Freigaben/VE_Config/AntScriptUndTests/FirstTest.sikuli 14-Jun-2017 14:03:56[debug] RunTimeINIT: loadOptions: check: C:\cygwin\home\GuiTester 14-Jun-2017 14:03:56[debug] RunTimeINIT: loadOptions: check: C:\Users\GuiTester 14-Jun-2017 14:03:56[debug] RunTimeINIT: loadOptions: check: C:\Users\GuiTester\AppData\Roaming\Sikulix\SikulixStore 14-Jun-2017 14:03:56[debug] RunTimeINIT: global init: entering as: IDE 14-Jun-2017 14:03:57[debug] RunTimeINIT: ScreenDevice 0 has (0,0) --- will be primary Screen(0) 14-Jun-2017 14:03:57[debug] RunTimeINIT: Monitor 0: (0, 0) 1024 x 768 14-Jun-2017 14:03:57[debug] RunTimeINIT: runs as sikulix.jar in: C:\SikuliX 14-Jun-2017 14:03:57[debug] RunTimeINIT: exists libs folder at: C:\Users\GuiTester\AppData\Roaming\Sikulix\SikulixLibs_201703300100 14-Jun-2017 14:03:59[debug] RunTimeINIT: addToWindowsSystemPath: added to systempath: 14-Jun-2017 14:03:59 C:\Users\GuiTester\AppData\Roaming\Sikulix\SikulixLibs_201703300100 14-Jun-2017 14:03:59[debug] RunTimeINIT: checkJavaUsrPath: added to ClassLoader.usrPaths 14-Jun-2017 14:03:59* show environment for IDE (build 201703300100) 14-Jun-2017 14:03:59user.home: C:\Users\GuiTester 14-Jun-2017 14:03:59user.dir (work dir): C:\cygwin\home\GuiTester 14-Jun-2017 14:03:59user.name: GuiTester 14-Jun-2017 14:03:59java.io.tmpdir: C:\Users\GuiTester 14-Jun-2017 14:03:59running 32Bit on Windows (6.1) from a jar 14-Jun-2017 14:03:59java 8-32 version 1.8.0_131-b11 vm 25.131-b11 class 52.0 arch x86 14-Jun-2017 14:03:59app data folder: C:\Users\GuiTester\AppData\Roaming\Sikulix 14-Jun-2017 14:03:59libs folder: C:\Users\GuiTester\AppData\Roaming\Sikulix\SikulixLibs_201703300100 14-Jun-2017 14:03:59executing jar: C:\SikuliX\sikulix.jar 14-Jun-2017 14:03:59*** classpath dump sikulix 14-Jun-2017 14:03:59 0: /C:/SikuliX/sikulix.jar 14-Jun-2017 14:03:59*** classpath dump end 14-Jun-2017 14:03:59* show environment end 14-Jun-2017 14:03:59[debug] RunTimeIDE: global init: leaving 14-Jun-2017 14:03:59[debug] RunTimeIDE: initIDEbefore: entering 14-Jun-2017 14:04:00[debug] RunTimeIDE: initIDEbefore: leaving 14-Jun-2017 14:04:00[debug] RunTimeIDE: initAPI: entering 14-Jun-2017 14:04:00[debug] RunTimeIDE: resourceList: enter 14-Jun-2017 14:04:00[debug] RunTimeIDE: resourceLocation: (class org.sikuli.ide.SikuliIDE) /Lib/sikuli 14-Jun-2017 14:04:00[debug] RunTimeIDE: resourceList: having jar: jar:file:/C:/SikuliX/sikulix.jar!/Lib/sikuli 14-Jun-2017 14:04:17[debug] RunTimeIDE: files exported: 7 from: Lib/sikuli to: 14-Jun-2017 14:04:17 C:\Users\GuiTester\AppData\Roaming\Sikulix\Lib\sikuli 14-Jun-2017 14:04:17[debug] RunTimeIDE: initAPI: leaving 14-Jun-2017 14:04:17[debug] IDE: Switching to ScriptRunner with option -r, -t or -i 14-Jun-2017 14:04:17[debug] Runner: commandline: -d 3 -r E:/Freigaben/VE_Config/AntScriptUndTests/FirstTest.sikuli 14-Jun-2017 14:04:17[debug] --- Sikuli parameters --- 14-Jun-2017 14:04:17[debug] 1: -d 14-Jun-2017 14:04:17[debug] 2: 3 14-Jun-2017 14:04:17[debug] 3: -r 14-Jun-2017 14:04:17[debug] 4: E:/Freigaben/VE_Config/AntScriptUndTests/FirstTest.sikuli 14-Jun-2017 14:04:17[debug] ScriptingSupport: givenScriptName: 14-Jun-2017 14:04:17 E:/Freigaben/VE_Config/AntScriptUndTests/FirstTest.sikuli 14-Jun-2017 14:04:17[debug] ScriptingSupport: Trying to run script: 14-Jun-2017 14:04:17 E:\Freigaben\VE_Config\AntScriptUndTests\FirstTest.sikuli\FirstTest.py 14-Jun-2017 14:04:17[debug] ScriptingSupport: initScriptingSupport: enter 14-Jun-2017 14:04:22[debug] JythonSupport: init: starting 14-Jun-2017 14:04:22[debug] JythonSupport: init: success 14-Jun-2017 14:04:22[debug] JythonSupport: * Jython sys.path 14-Jun-2017 14:04:22 0: C:\SikuliX\Lib 14-Jun-2017 14:04:22 1: C:\SikuliX\sikulix.jar\Lib 14-Jun-2017 14:04:22 2: __classpath__ 14-Jun-2017 14:04:22 3: __pyclasspath__/ 14-Jun-2017 14:04:22[debug] JythonSupport: * Jython sys.path end 14-Jun-2017 14:04:22[debug] Jython: sikuli: Sikuli: starting init 14-Jun-2017 14:04:27[debug] RunTimeIDE: loadLib: VisionProxy.dll 14-Jun-2017 14:04:27[debug] Mouse: init start 14-Jun-2017 14:04:27[error] Location: outside any screen (7522624, 7522624) - subsequent actions might not work as expected 14-Jun-2017 14:04:27[debug] Mouse: init end 14-Jun-2017 14:04:27[debug] RunTimeIDE: loadLib: WinUtil.dll 14-Jun-2017 14:04:27[debug] Jython: requested to use as default region:
Re: [Sikuli-driver] [Question #643686]: dragDrop with no screenshot? just basic text.
Question #643686 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/643686 Status: Answered => Open arminius is still having a problem: I couldn't find the answer in any of that, I see drag and drop there but I don't understand how to actually do it yet. It's like these instructions were written for advanced programmer's, I'm just starting out. -- You received this question notification because your team Sikuli Drivers 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 #643548]: AssertionError
Question #643548 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/643548 Status: Open => Needs information Manfred Hampl requested more information: The python instruction "assert False" aborts processing by generating an "AssertionError" message. So what you see is exactly what you have written in your program. What should the program do in case that the model is not found on screen? -- You received this question notification because your team Sikuli Drivers 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 #643548]: AssertionError
Question #643548 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/643548 Status: Answered => Open Abhi is still having a problem: #If correct result(Molde)is not found on the screen, assert failure if not rgn.exists(Sikuli.Pattern(Model).similar(0.99)): #Captures the window and save the content as image on the path below focusWindow = App.focusedWindow() regionImage = capture(focusWindow) shutil.move(regionImage, os.path.join(r'C:\Errors\model','Model.jpg')) print "Model drawing failed" print "Path to image is: "+os.abspath('C:\Errors\model\Model.jpg') click("1458553913060.png") wait(1) click("1463297616160.png") wait(1) click("1450875259885.png") doubleClick("1453237275065.png") wait(1) #Clicks on field-filename to enter the name for the model click(Region(361,446,7,12)) wait(1) type("Automata_Example2") wait(1) click("1450875347964.png") assert False #If correct result(Model)is found on the screen, test passes if rgn.find(Sikuli.Pattern(Model).similar(0.99)): #Save the model click("1463297599172.png") click("1463297616160.png") wait(1) click("1450875259885.png") doubleClick("1453237275065.png") wait(1) #Clicks on field-filename to enter the name for the model click(Region(361,446,7,12)) wait(1) type("Automata_Example2") wait(1) click("1450875347964.png") --- this is code and condition need to satisfied so there I wrote assert False. but don't understand what is the problem. -- You received this question notification because your team Sikuli Drivers 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 #643780]: Can't find main class setup.RunSetup
Question #643780 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/643780 Nicholas posted a new comment: but* -- You received this question notification because your team Sikuli Drivers 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 #643780]: Can't find main class setup.RunSetup
Question #643780 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/643780 Status: Answered => Open Nicholas is still having a problem: On Windows, is it available on Windows? I can run 1.1.0 instead, but 1.1.1 keeps pop up that msg However, I can't setup 1.1.0 successfully too, I can't download all file completely, keep missing some .jar files like: sikulixlibswim, sikulixsetupIDE-1.1.0-forsetup, sikulixsetupAPI-1.1.0-forsetup, jython-standalone-2.7.0 I've read quickstart, not sure I 100% understand it but I've checked java -version, and Windows 10 x64 is on the support list too. I've run it under download folder, under C:, under a clean folder and none of them succeed, btw I closed UAC on Windows so there's no system access problem. I think you're right, I didn't do the right move, nut what did I miss? :( -- You received this question notification because your team Sikuli Drivers 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 #643780]: Can't find main class setup.RunSetup
Question #643780 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/643780 Status: Open => Answered RaiMan proposed the following answer: what system? Just doubleclick on downloaded jar - should work. Be sure you have read http://www.sikulix.com/quickstart/ -- You received this question notification because your team Sikuli Drivers 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 #643782]: Error displays while executing script.
Question #643782 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/643782 Sandy Mendoza posted a new comment: Thanks for your help sir, I'll be back to you as soon as I fix the problem.. -- You received this question notification because your team Sikuli Drivers 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 #643782]: Error displays while executing script.
Question #643782 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/643782 Status: Open => Answered masuo proposed the following answer: In case of loop a similar error will occur. You have to check loop in your code and change codes correctly. A similar error can be reproduced with simple codes. while True: print "running" -- You received this question notification because your team Sikuli Drivers 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