Re: [Sikuli-driver] [Question #261971]: example of importing a .sikuli file to another detail in windows
Question #261971 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/261971 Status: Open => Answered RaiMan proposed the following answer: see http://sikulix-2014.readthedocs.org/en/latest/scripting.html#importing-other-sikuli-scripts-reuse-code-and-images and the respective Python docs -- 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 #261892]: Sikulixsetup:jar:1.1.0 was not built
Question #261892 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/261892 Status: Open => Answered RaiMan proposed the following answer: You are not using the latest version of the Git repo. -- 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 #261964]: How to get programmatically the results
Question #261964 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/261964 Status: Open => Answered RaiMan proposed the following answer: Whatever you do, if you want testcase result output, you have to set up your scripts as test cases according to the Python unittest feature (for SikuliX which uses Jython it must be language level 2.7). Depending on the test runner you use, you might get different output to parse afterwards. This is why I directed you to the above mentioned faq. For the possibilities abound logging in general: http://sikulix-2014.readthedocs.org/en/latest/scripting.html#writing-and-redirecting-log-and-debug-messages -- 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 #261760]: Fatal Error 110: loading: WinUtil.dll
Question #261760 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/261760 Status: Open => Answered RaiMan proposed the following answer: --- C:\workspace\jars\sikuliapi\sikuli-api-1.0.1 --> yes, I want to use this as well in my project then you should use their latest version I have no experience, how well Sikuli Java API and SikuliX work together in one project. So in case of trouble I cannot help you. --- I strongly recommend to use SikuliX version 1.1.0 ... then nothing else would be needed than having sikulixapi.jar in your class path at runtime. all this is no longer needed for Sikulix 1.1.0+ User Variables: PATH=C:\workspace\jars\SikuliX\libs JAVA_HOME = C:\Program Files\Java\jdk1.7.0_76 System Variables: PATH = C:\Program Files\Java\jdk1.7.0_76\jre\bin; .. .. .. -- 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 #261760]: Fatal Error 110: loading: WinUtil.dll
Question #261760 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/261760 Status: Answered => Open Bipin is still having a problem: Ok, I have created another java program "sikulixjavapgm.java" without any sikuliapi stuff and it has just SikuliX 1.1.0+ stuff in it now. 1. Downloaded sikulixsetup-1.1.0.jar 2. Ran it using "java -jar sikulixsetup-1.1.0.jar" from within my empty directory "C:\workspace\jars\sikulix" 3. Selected option 2 and all went fine Now "C:\workspace\jars\sikulix" has the following: Downloads Lib libs sikulixapi.jar and the actual setup sikulixsetup-1.1.0.jar Downloads has: 1.1.0-2.jar sikulixlibswin-1.1.0-20150116.000744-75.jar My batch is now: java -cp C:\workspace\jars\sikulix\Downloads\1.1.0-2.jar sikulixjavapgm.java and I am below getting error: [error] ResourceLoader: check: Terminating: The jar was not built with setup nor can the libs be exported from classpath! /C:/workspace/jars/sikulix/Downloads/1.1.0-2.jar [error] * Terminating SikuliX after a fatal error 999 * It makes no sense to continue! If you do not have any idea about the error cause or solution, run again with a Debug level of 3. You might paste the output to the Q&A board. -- 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 #261760]: Fatal Error 110: loading: WinUtil.dll
Question #261760 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/261760 Status: Open => Answered RaiMan proposed the following answer: Have you ever read any of sikulix.com/quickstart or the text on the nightl build page? Then you should know, what you have done wrong. Sorry, for not giving the answer directly, but when using such non- trivial stuff, one should be at least familiar with the basic docs. -- 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 #261760]: Fatal Error 110: loading: WinUtil.dll
Question #261760 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/261760 Status: Answered => Solved Bipin confirmed that the question is solved: You are absolutely right. I reckon, I was always running behind swift solutions, never looked at any documentation. Now with great pleasure, I am saying - the problem is fixed !! Thank you very much.. !! -- 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 #261971]: example of importing a .sikuli file to another detail in windows
Question #261971 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/261971 Eduardo posted a new comment: thank you! -- 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 #261971]: example of importing a .sikuli file to another detail in windows
Question #261971 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/261971 Status: Answered => Solved Eduardo confirmed that the question is solved: thanks RaiMan could make imports into my main file, the following code: #File LogarEstoque from sikuli import * def Login(): doubleClick(find("1423663740510.png")) wait("1423663829926.png" ,FOREVER) paste(exists("1423663936860.png"), 'PIRAMIDE') paste(exists("1423663909366.png"), 'PIRAMIDE60400') click(exists("1423664141247.png")) #File main myScriptPath = "C:\\Scripts" addImportPath ( myScriptPath ) import LogarEstoque try: LogarEstoque.Login() except: print('Erro no Login') -- 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 #261964]: How to get programmatically the results
Question #261964 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/261964 egavaldo 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 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 #261964]: How to get programmatically the results
Question #261964 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/261964 Status: Answered => Solved egavaldo confirmed that the question is solved: ok so I understand that depending from the underlying testrunner, I will have to get the results from different sources. I'll have to dig into that as I'm even not aware of what a testrunner is in SikuliX... For now let's close this thread. Thanks! -- 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 #261964]: How to get programmatically the results
Question #261964 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/261964 RaiMan posted a new comment: We seem to have to clear up the scene a little bit: Looking from your point of view, a SikuliX script in the first place is a bunch of statements written in Python language. Depending on how you run the stuff, the SikuliX features like find() and click() are available automatically or you have to tell the running interpreter (in case you use SikuliX features, it must be Jython, which a Java based implementation of the Python language). So SikuliX does not have any support for a reporting useful for testing frameworks/environments. You have to add something according to the Python rules or according to the rules of your testing environment (for which some people use RobotFrameWork for example). A testrunner in the Python environment is a tool (a basic one is contained in Python's unittest), that runs a bunch of classes/testcases/testsuites (however you name it), that are written down according to the rules of the Python unittesting. The result you get depends on the test runner you use. -- 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 #262029]: Error run a script without opening the IDE
New question #262029 on Sikuli: https://answers.launchpad.net/sikuli/+question/262029 utilizei o comando java -jar C:\Sikulix\sikulix.jar -r C:\Sikulix\Logar.skl and the following message appears WARNING: Could not open/creat prefs root node Sofware\javaSoft\Prefs at root 0x8002. Windows RegCreateKeyEx(...) returned error code 5. thank you! -- 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 #261892]: Sikulixsetup:jar:1.1.0 was not built
Question #261892 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/261892 Status: Answered => Solved Levent 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 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 #262029]: Error run a script without opening the IDE
Question #262029 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/262029 Status: Open => Answered RaiMan proposed the following answer: can be ignored. having other problems: java -jar C:\Sikulix\sikulix.jar -d 3 -r C:\Sikulix\Logar.skl that reveals some debug output -- 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