Re: [Sikuli-driver] [Question #706170]: [2.0.5] after changing a method imported inside another method, IDE restart needed
Question #706170 on SikuliX changed: https://answers.launchpad.net/sikuli/+question/706170 Status: Open => Answered RaiMan proposed the following answer: BTW: from sikuli import * import sys ... not needed in main script --- possible solution: - import everything in main - use the deeper level via parameter #main.sikuli import sub1 import sub2 sub1.dotest1(sub2) #sub1.sikuli from sikuli import * def dotest1(pack): pack.finalteste() #sub2.sikuli from sikuli import * def finaltest(): print("test x") -- You received this question notification because your team Sikuli Drivers is an answer contact for SikuliX. ___ 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 #706170]: [2.0.5] after changing a method imported inside another method, IDE restart needed
Question #706170 on SikuliX changed: https://answers.launchpad.net/sikuli/+question/706170 Summary changed to: [2.0.5] after changing a method imported inside another method, IDE restart needed Description changed to: confirmed: auto reload for imported methods only works for the 1st level below main. workaround: run the main script in parallel with the IDE from command line, while editing and saving script content in the IDE. caveat: you will have the startup delay of some seconds with every run from command line. - this is my code: _ #main.sikuli from sikuli import * import sys import sub1 sub1.dotest1() _ #sub1.sikuli from sikuli import * import sys import sub2 def dotest1(): sub2.finalteste() _ #sub2.sikuli from sikuli import * import sys def finaltest(): print("test x") if i change print("test x") for ("text y")after i run main.sikuli i get the error: [error] IDE: Run Script: internal error: Traceback (most recent call last): File "", line 1, in NameError: name 'sub2' is not defined -- You received this question notification because your team Sikuli Drivers is an answer contact for SikuliX. ___ 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 #706170]: Sikuli 2.0.5 after changing a method inside another method, restart needed
New question #706170 on SikuliX: https://answers.launchpad.net/sikuli/+question/706170 this is my code: _ #main.sikuli from sikuli import * import sys import sub1 sub1.dotest1() _ #sub1.sikuli from sikuli import * import sys import sub2 def dotest1(): sub2.finalteste() _ #sub2.sikuli from sikuli import * import sys def finaltest(): print("test x") if i change print("test x") for ("text y")after i run main.sikuli i get the error: [error] IDE: Run Script: internal error: Traceback (most recent call last): File "", line 1, in NameError: name 'sub2' is not defined -- You received this question notification because your team Sikuli Drivers is an answer contact for SikuliX. ___ 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 #705963]: Automated GUI Testing
Question #705963 on SikuliX changed: https://answers.launchpad.net/sikuli/+question/705963 Raúl Muñoz posted a new comment: Hi, the idea of using RobotFrameWork was a proposal of a workmate but I prefer to use SikuliX IDE as you mention, I see it more suitable, I deal your point of view with my colleagues. Tranks -- You received this question notification because your team Sikuli Drivers is an answer contact for SikuliX. ___ 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 #706107]: SikuliX 2.0.5 on Ubuntu 22.04 OS. Please Guide me with the steps.
Question #706107 on SikuliX changed: https://answers.launchpad.net/sikuli/+question/706107 Status: Open => Answered RaiMan proposed the following answer: start from a terminal: java -jar /sikulixidejar -v You should see startup log and possible problems -- You received this question notification because your team Sikuli Drivers is an answer contact for SikuliX. ___ 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 #705863]: Sikulix 2.0.5 I want use requests (HTTP for Humans)
Question #705863 on SikuliX changed: https://answers.launchpad.net/sikuli/+question/705863 Status: Open => Answered RaiMan proposed the following answer: with for e in sys.path: print e you can show the current content of sys.path. You should see, that Jython/Lib is already there (when using SikulixIDE). in sites.txt have line C:\temp\Anaconda2\Lib to add it to sys.path. After changing sites.txt you have to restart the IDE. -- You received this question notification because your team Sikuli Drivers is an answer contact for SikuliX. ___ 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 #705863]: Sikulix 2.0.5 I want use requests (HTTP for Humans)
Question #705863 on SikuliX changed: https://answers.launchpad.net/sikuli/+question/705863 RaiMan proposed the following answer: with for e in sys.path: print e you can show the current content of sys.path. You should see, that Jython/Lib is already there (when using SikulixIDE). in sites.txt have line C:\temp\Anaconda2\Lib to add it to sys.path. After changing sites.txt you have to restart the IDE. -- You received this question notification because your team Sikuli Drivers is an answer contact for SikuliX. ___ 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 #706168]: i want the software to press the buttons shown on the screen, but i dont know how
Question #706168 on SikuliX changed: https://answers.launchpad.net/sikuli/+question/706168 Status: Open => Answered RaiMan proposed the following answer: if exists("key on the screen"): click() exists returns a match-region if the image is found on screen. click() clicks in the middle of the last found match. Read the docs and/or look for tons of examples in the net. -- You received this question notification because your team Sikuli Drivers is an answer contact for SikuliX. ___ 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 #705963]: Automated GUI Testing
Question #705963 on SikuliX changed: https://answers.launchpad.net/sikuli/+question/705963 RaiMan posted a new comment: I do not understand, why you want to use RobotFramework (using sikulilibrary). Using scripts in the SikuliX IDE and running them from command line is usually enough for automating an app. With RobotFrameWork I cannot help you. -- You received this question notification because your team Sikuli Drivers is an answer contact for SikuliX. ___ 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 #705963]: Automated GUI Testing
Question #705963 on SikuliX changed: https://answers.launchpad.net/sikuli/+question/705963 Status: Answered => Solved Raúl Muñoz confirmed that the question is solved: Hi RaiMan, I am working on a virtual platform with a linux distribution. Some progress in sikulixide has been done, basically I open the application .csh by double-clicking on icon that I have in my desktop screen, and then; I do automatically some actions with some control buttons and finally close the application. This is not a great thing but it is useful for me because I am starting learning about everything. Next step, I will try to integrate these actions in the robotframework environment. I should download a sikuli library, but I can not do it directly because the virtual platform does not have access to Internet, I mean I can not use use "pip install robotframework-SikuliLibrary" for example. I will try to get source code from GITHUB, and use Maven to build SikuliLibrary.jar on target OS, and replace the jar file in ‘lib’ folder, or something like that. Thank you and best regards, Raúl -- You received this question notification because your team Sikuli Drivers is an answer contact for SikuliX. ___ 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 #706168]: i want the software to press the buttons shown on the screen, but i dont know how
New question #706168 on SikuliX: https://answers.launchpad.net/sikuli/+question/706168 i am trying to automate pressing the buttons in a game, when i used it i did the 'if exists("key on the screen"): type(Key."key"). I i really am not sure how this software works i need help -- You received this question notification because your team Sikuli Drivers is an answer contact for SikuliX. ___ 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