Re: [Sikuli-driver] [Question #262328]: After 2nd definition execution, system starts getting slow.
Question #262328 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/262328 RaiMan posted a new comment: could you please comment with more details what you mean with: I chose instead of having the drop down menu of 1.1.0 -- 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 #262228]: Getting [error] ResourceLoader: checkLibsDir: usr_paths Unhandled exception
Question #262228 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/262228 Status: Open = Answered RaiMan proposed the following answer: ok, sorry for the inconveniences. -- 1. with the new jar, you can delete the libs folder. It is no longer created in the folder of the sikulixapi.jar, but in a folder Sikulix in the folder pointed to by the environment variable %APPDATA% --2. Screen screen = new Screen(); is this the first statement executed, that references SikuliX stuff? Before any usage of SikuliX classes put: Debug.on(3); and run again. I cannot recreate the problem with a test consisting only of this: import org.sikuli.script.* public class Test { public static void main(String[] args) { Screen s = new Screen(); } } the version with Debug: import org.sikuli.basics.Debug; import org.sikuli.script.* public class Test { public static void main(String[] args) { Debug.on(3); Screen s = new Screen(); } } 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 #262339]: Compare two image excluding the particular region
Question #262339 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/262339 manas posted a new comment: I am checking the screen about an image in some region using exists() -- 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 #262180]: How i can import json module in my scripts
Question #262180 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/262180 Status: Answered = Solved Chp 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 #262180]: How i can import json module in my scripts
Question #262180 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/262180 Status: Solved = Open Chp is still having a problem: I really did not need to do -cp, D: \\ autotest \ Core \ json-simple.jar It turns out do not work: import org.json.simple.parser Needs to be done: from org.json.simple.parser import JSONParser))) And you do not know why jython 2.7 error occurs that I described above? ERROR: We failed to reach a server. Reason: [Errno 32] Illegal state exception -- 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 #262339]: Compare two image excluding the particular region
Question #262339 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/262339 Eugene Maslov proposed the following answer: Raimund, I also sometimes feel the need in this feature. For example, recognizing some characters in a dense string, adjacent characters intrude from the sides and prevent the recognition. In another case, the mouse, displayed in OpenGL viewer, moves a couple of pixels from time to time and warns that the images are different. I crop png's to exclude the mouse, but sometimes the mouse is in the middle and it is impossible. I'd suggest to consider some particular color in png as transparent during the image comparison. The user would fill in png the areas, that he wants to exclude, with this color. -- 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 #262339]: Compare two image excluding the particular region
Question #262339 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/262339 manas posted a new comment: Yes you are right -- 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 #262390]: import error for the packages import unittest2 as unittest and from sikuli import * In Pycharm Ide in HTMLTestRunner.py file
New question #262390 on Sikuli: https://answers.launchpad.net/sikuli/+question/262390 I am using HTMLTestRunner.py file for reporting , As per the instructions in the blog i have used the modified HTMLTestRunner then i installed python sikuli client and Jython sikuli server But still am facing import error with below . import unittest2 as unittest from sikuli import * Please help me out i am using Pycharm IDE working on Appium with Python so i need device screenshots in fail cases 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 #262328]: After 2nd definition execution, system starts getting slow.
Question #262328 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/262328 RaiMan posted a new comment: ok, thanks for feedback. I will do further testing, to get an idea of differences between 1.0.1 and 1.1.0 in your special case, that might need to different behaviour of the kinds you mentioned. all the best. -- 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: 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 #247469]: Need someone to program Sikuli to perform some tasks for me - relatively easy for any programer
Question #247469 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/247469 Oh No posted a new comment: I was unable to work on this without your help, so the project came to a complete halt, but I'd really like to finish it. I have sent you an email, 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
[Sikuli-driver] [Question #262429]: help with storing highlighted text in linux as variable
New question #262429 on Sikuli: https://answers.launchpad.net/sikuli/+question/262429 I'm selecting the text in a region by double clicking on the are which highlights my static form. What I'm looking to is store the highlighted text to a variable but I'm struggling due to being on a Linux platform I believe. I've observed that while highlighting text manually and using the middle mouse button to paste it works just fine, but I also observed that highlighting text and trying to do a paste function into text editor does not work which makes me suspicious that the highlight is not actually copying text to the clipboard. In other words, I'm beginning to realize that highlight - middle click does not store information the same way copy / paste traditionally works. Basically I'm finding out that the following doesn't result in my text being stored in my variable. doubleClick(reg2) #highlights the text I'm after type(c + Key.CTRL) x=Env.getClipboard() Is there a way to store what a middle click to paste has in memory to my variable? -- 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 #262429]: help with storing highlighted text in linux as variable
Question #262429 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/262429 Status: Open = Needs information RaiMan requested more information: what version of Sikuli? -- 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 #262228]: Getting [error] ResourceLoader: checkLibsDir: usr_paths Unhandled exception
Question #262228 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/262228 Status: Answered = Open Anantanag is still having a problem: Hi, thank you for the detailed explanation, unfortunately it is not working for me. With the debug line added, it is not giving any additional logging. Deleted libs folder new Code: public void testMain(Object[] args) throws Exception { Debug.on(3); Screen screen = new Screen(); } getting following exception Exception occurred during playback of script [Runner.XXX.Creation] [RationalTestScriptError on line 30 of script Runner.XXX.XCreation: [java.lang.ExceptionInInitializerError] - null.]. Not sure if this is because I am using IBM JDK 7.1. I have integrated Sikuli code with in IBM RFT framework. It works find with Sikuli 1.0 but I have a trouble in using ocr in 1.0 so I am trying to switch to sikuli 1.1.0. It will be really helpful if this issue can be resolved. Thanks Anant -- 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