Re: [Sikuli-driver] [Question #269266]: Multiple instances of OCR causes Java crash
Question #269266 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/269266 Status: Open => Answered RaiMan proposed the following answer: currently nearly nothing in SikuliX is tread-safe. So you have to find an appropriate solution, to coordinate the usage of the TextRecognizer instance, that is used with Image.text(). what about delegating the text read to a service class, where you could use synchronized to take care that the read is done one after the other? -- 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 #268705]: Looking to hire a sikuli expert for project
Question #268705 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/268705 Status: Open => Expired Launchpad Janitor expired the question: This question was expired because it remained in the 'Open' state without activity for the last 15 days. -- 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 #269254]: Wait until the process is completed
Question #269254 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/269254 Status: Answered => Solved fordox 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 #269246]: Sikuli -ide crashes while taking screen shot
Question #269246 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/269246 Status: Answered => Solved Ashish 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 #269246]: Sikuli -ide crashes while taking screen shot
Question #269246 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/269246 Status: Solved => Open Ashish is still having a problem: Sikuli 1.1.0 is installed but from where I have to run the Sikuli ide Thanks Ashish -- 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 #269246]: Sikuli -ide crashes while taking screen shot
Question #269246 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/269246 Status: Open => Answered RaiMan proposed the following answer: in the folder you have run the setup, you have a runsikulix.cmd no parameters: run IDE with parameters: run scripts from command line (see docs: http://sikulix-2014.readthedocs.org/en/latest/index.html) alternatively just doubleClicking sikulix.jar should start the IDE as well. -- 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 #269246]: Sikuli -ide crashes while taking screen shot
Question #269246 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/269246 Status: Answered => Open Ashish is still having a problem: While running runsikulix.cmd this cmd is coming for just 2 seconds while running sikulix.jar nothing is coming Thanks Ashish -- 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 #269246]: Sikuli -ide crashes while taking screen shot
Question #269246 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/269246 Status: Open => Answered RaiMan proposed the following answer: then run this on command line and paste the output here runsikulix.cmd -d 3 -c -- 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 #269254]: Wait until the process is completed
Question #269254 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/269254 Status: Solved => Open fordox is still having a problem: there is an error: [error] AttributeError ( 'Popen' object has no attribute 'terminate' ) on myApp.terminate() -- 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 #269277]: Is there any way to trigger sikuli code from one machine so that it can run in parallel on other machines also?
Question #269277 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/269277 Cameron Jones posted a new comment: Setup Jenkins? I think this may be a convenient solution, depends on your environment, but if its *nix machines, then setting up slave node would be easy. Not sure about running Selenium behind Jenkins, but I know many people have done it successfully. -- 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 #269254]: Wait until the process is completed
Question #269254 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/269254 Status: Open => Answered RaiMan proposed the following answer: If you are working with the latest build of SikuliX 1.1.0, it should be there. … if not (using Jython < 2.7) you have to get the pid using Popen.pid and issue a kill command. -- 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 #269299]: How to use hover command in sikuli ide....i am getitng error
New question #269299 on Sikuli: https://answers.launchpad.net/sikuli/+question/269299 please help me out to use hover command to open drop-down. First i am not able to find the exact button on screen. please help me out with example. Thanks, ravi -- 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 #269254]: Wait until the process is completed
Question #269254 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/269254 Status: Answered => Open fordox is still having a problem: In latest version of Sikuli unfortunately does not work properly module "Urlib" [error] java.lang.IllegalStateException ( java.lang.IllegalStateException: failed to create a child event loop ) [error] --- Traceback --- error source first line: module ( function ) statement 26: urllib ( ) So I'm using version 1.0.1. Please give an example, how I can using Popen.pid and issue a kill command? :-) if not more difficult. -- 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 #269303]: Text Search off error on image [Sikuli java Eclipse]
New question #269303 on Sikuli: https://answers.launchpad.net/sikuli/+question/269303 First of all, hello. I'm trying to use Sikuli in my workplace to automate tests over Flex, and by recommendation of other workers and superios, I should use Sikuli together with Eclipse so everyone could use the same IDE, and that I could use it java-like. Tried to follow some tutorials to start somehtign simple, here are the links for the tutorials: http://www.softwaretestinghelp.com/sikuli-tutorial-part-1/ http://doc.sikuli.org/faq/030-java-dev.html BUT I'm stuck with this error: - [error] txt_image.png looks like a file, but not on disk. Assume it's text. FindFailed: Text search currently switched off Line 1671, in file Region.java at org.sikuli.script.Region.wait(Region.java:1671) at org.sikuli.script.Region.find(Region.java:1590) at org.sikuli.script.Region.getLocationFromTarget(Region.java:1991) at org.sikuli.script.Region.click(Region.java:2197) at org.sikuli.script.Region.click(Region.java:2181) at teste.teste.main(teste.java:11) [error] Region.find(text): text search is currently switched off [error] doc_image.png looks like a file, but not on disk. Assume it's text. [error] Region.find(text): text search is currently switched off - The code I have is a simple "open notepad from desktop and write", follows the code (I tell already that is the same code as it shows on the first link I sent here, but changed to have my imgs): - package test; import org.sikuli.script.*; public class teste { public static void main(String[] args) { Screen s=new Screen(); try{ s.click("txt_image.png"); s.find("doc_image.png"); } catch(FindFailed e){ e.printStackTrace(); } s.type("doc_image.png","This is Nice Sikuli Tutorial"); } } - Tried to look on google, stacksoverflow, and even similar questions here but am sill stuck on this. OS si Windows 7, 64 bits. JRE is 1.6.0_22. Thanks for your time, Augusto. -- 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 #269303]: Text Search off error on image [Sikuli java Eclipse]
Question #269303 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/269303 Tepedino gave more information on the question: Oh yes, sorry! Forgot somethign that might be related to the roblem: I both links it was asked for em to add "sikuli-script.jar" tot he jexternal libs, and at the setup was told that option 4 would generate it, yet it generated "sikuli-java.jar". Assumed it was only a name change and tried to continue. Thanks, Augusto. -- 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 #269266]: Multiple instances of OCR causes Java crash
Question #269266 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/269266 Status: Answered => Solved Dan confirmed that the question is solved: I did not realize it was not thread safe. I have a workaround. -- 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 #269311]: compare directory of pictures to screen with loop
New question #269311 on Sikuli: https://answers.launchpad.net/sikuli/+question/269311 Hello, First i wish to congratulate for this program and the help you provide. I have a directory with 221 file *.png and i need to find similar image in a sotfware and delete : i made this simple script but i need to capture manual each time the var "img" how to load from disk directory the file compare and go to second etc... in a loop img="1437079537448.png" img1="delete.png" wait(0.5) type(Key.HOME) wait(0.5) while True: # loop forever if exists(Pattern(img).similar(0.99)): rightClick(Pattern(img).similar(0.99)) click(Pattern(img1).similar(0.99)) break else: wait(0.5) type(Key.PAGE_DOWN) Thank. -- 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 #269311]: compare directory of pictures to screen with loop
Question #269311 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/269311 Description changed to: Hello, First i wish to congratulate for this program and the help you provide. I have a directory with 221 file *.png and i need to find similar image in a software and delete : i made this simple script but i need to capture manual each time the var "img" how to load from disk directory the file compare and go to second etc... in a loop img="1437079537448.png" img1="delete.png" wait(0.5) type(Key.HOME) wait(0.5) while True: # loop forever if exists(Pattern(img).similar(0.99)): rightClick(Pattern(img).similar(0.99)) click(Pattern(img1).similar(0.99)) break else: wait(0.5) type(Key.PAGE_DOWN) Thank. -- 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 #269299]: How to use hover command in sikuli ide....i am getitng error
Question #269299 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/269299 Status: Open => Needs information Eugene S requested more information: Can you describe exactly what are you trying to do? -- 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 #269303]: Text Search off error on image [Sikuli java Eclipse]
Question #269303 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/269303 Status: Open => Answered Eugene S proposed the following answer: It looks like Sikuli can't find these files on your disk. Are you sure it looks for the in the right location? -- 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 #269303]: Text Search off error on image [Sikuli java Eclipse]
Question #269303 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/269303 Tepedino posted a new comment: Well, I added a new folder and then added the .pngs there, dunno if I should do it another way. This is the first time I'm using imgs on selenium -- 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 #269303]: Text Search off error on image [Sikuli java Eclipse]
Question #269303 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/269303 Eugene S proposed the following answer: Selenium or Sikuli? :) Anyway, just to be certain, try to use full path and see if that works for you. For example something like that: Screen s = new Screen(); s.find("C:\\...\\image.png").highlight(1); -- 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 #269303]: Text Search off error on image [Sikuli java Eclipse]
Question #269303 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/269303 Tepedino posted a new comment: Sorry, I meant Eclipse (sikuli on eclipse to be more specific). the part 2 of the first link I added here have an explanation on hwo to add everything to work with selenium, tat's why I got confuse. Hn... Will try that tomorrow at work. I'm not using on personal computer since I'm using Sikuli IDE to do automated tests on Flex and I don't want to mess with the graduation tests. -- 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 #269246]: Sikuli -ide crashes while taking screen shot
Question #269246 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/269246 Status: Answered => Solved Ashish 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