Re: [Sikuli-driver] [Question #258555]: [error] ResourceLoaderBasic: checkLibsDir: libs dir is not on system path: C:\KarthikFolder\SikuliForLuna\libs
Question #258555 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/258555 Status: Answered => Solved Karthik 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 #99911]: Is there a way to enter a timed pause between commands.
Question #99911 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/99911 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 #258625]: best way to run script inside another script
Question #258625 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/258625 Status: Answered => Open retano is still having a problem: for some reason still does not work I run it via command while IDE is closed: R:\work\Sikuli-r931-win32\Sikuli-IDE\Sikuli-IDE.exe -r R:\main.skl it returns an error: ImportError: No module named script1 the main script (saved and exported into the same folder, root of R:\) # from sikuli import* # runAll wait(1) import script1 wait(1) import script2 popup('all done OK') # end the script1 (saved into the same folder, root of R:\) # from sikuli import* popup('script1 running ok') # -- 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 #258626]: wait until specified time
Question #258626 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/258626 Status: Answered => Solved retano 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 #258628]: Placing Sikuli script in a queue
Question #258628 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/258628 Eugene Maslov posted a new comment: Dear Raimund, Creating the structure of files, which can run the tests in an unittest queue, is not simple from scratch, especially if the user has to transfer parameters. I suggest, it would be fine to have some little official archive of sikuli files with the simple sample of a queued test. For example: - start.sikuli hub script, receiving some general parameters from the command line, collecting the suite of tests with their own parameters, and running it with HTMLTestRunner; - tempate.sikuli containing __init__ with parsing coming parameters , some setUp, and some tearDown - test.sikuli containing __init__ procedure to process coming parameters, some simple test itself, and __name__=='__main__' block at the bottom, allowing to debug the test from Sikuli IDE when necessary. This tiny archive would save huge time of people getting familiar with Sikuli, because normally it's really difficult for testers to write this object-oriented skeleton. -- 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 #258525]: getBundlePath() in Windows returns different slash as os.sep
Question #258525 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/258525 Rodolfo posted a new comment: I just installed this version: Latest available Build: 1.1.0 2014-12-05_01:00nightly I tried the same test and this is the output (same problem): --- console: Failed to install '': java.nio.charset.UnsupportedCharsetException: cp0. Finding files... done. [error] Sikuli Jython API already on sys.path, but not at sikulixapi.jar/Lib [error] Found here: D:/SikuliX110/Lib/ Importing test modules ... This is the path I am adding: images\login [error] ImagePath: add: class images not found on classpath. [error] ImagePath: add: not valid: images/login / [debug] ImagePath: ImagePath has 1 entries (valid 0) [debug] ImagePath: Path: NULL done. [error] ImagePath: setBundlePath: invalid BundlePath: null using working folder: D:\development\workspace\AutomationFramework\src -- Regards, Rodolfo -- 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 #258522]: Where can I find documentation for the write() command?
Question #258522 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/258522 Status: Answered => Solved Rodolfo confirmed that the question is solved: The fix to #DEL works great; I tested with 3 browsers: IE, Firefox and Chrome. Thanks, Rodolfo -- 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 #255601]: OCR or other solution
Question #255601 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/255601 rrTenz posted a new comment: This needs to be added to speed up the function: myRegion.setAutoWaitTimeout(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
[Sikuli-driver] [Question #258691]: Problem with Internet Explorer Region
New question #258691 on Sikuli: https://answers.launchpad.net/sikuli/+question/258691 Environment: Windows 7 + Eclipse Luna + PyDev + Jython 2.7b + Sikuli 1.1.0 My test is like this: - open browser (IE, Firefox, Chrome) - enter a url and press enter - find a login picture in the screen and highlight it In Firefox and Chrome works as expected but in IE it doesn't find the picture in the screen. I have put a print statement and I see that after IE is opened, only a small rectangle is return as region. In Firefox and Chrome the region is the full screen. These are the two main methods: def open_browser_with_url(self, executable, name, url, wait_for): self.stop_browser(name) App.open(executable) found = self.open_url(name, url, wait_for) if not found: print "could not open url:", url exit(1) found.highlight(2) return self.get_browser_window(name) def open_url(self, name, url, waitFor=None, waitTime=20): wait(5) browser_window = self.get_browser_window(name) print "[Rodolfo] " + str(browser_window) if browser_window: #write("#C.l#w1."); write("#B.#w1."); paste(url); write("#N.") write("#C.l#w1."); write("#DEL.#w1."); paste(url); write("#N.") if waitFor: if not browser_window.exists(waitFor, waitTime): return None return browser_window.getLastMatch() print "[Rodolfo] " + str(browser_window) return browser_window This is the output for all browsers, notice that IE shows R[0,0 300x300]: Chrome: [log] App.open C:\Program Files (x86)\Google\Chrome\Application\Chrome.exe(12308) [Rodolfo] R[0,0 1920x1048]@S(0)[0,0 1920x1080] E:Y, T:3.0 [info] Write: #C.l#w1. [info] Write: #DEL.#w1. [info] Write: #N. [log] highlight M[479,249 308x231]@S(S(0)[0,0 1920x1080]) S:0.73 C:633,364 [913/595 msec] for 2.0 secs -- Ran 1 test in 14.548s OK FireFox: log] App.open C:\Program Files (x86)\Mozilla Firefox\firefox.exe(14160) [Rodolfo] R[0,0 1920x1048]@S(0)[0,0 1920x1080] E:Y, T:3.0 [info] Write: #C.l#w1. [info] Write: #DEL.#w1. [info] Write: #N. [log] highlight M[479,290 308x231]@S(S(0)[0,0 1920x1080]) S:0.99 C:633,405 [342/42 msec] for 2.0 secs -- Ran 1 test in 13.800s OK IE: [log] App.open C:\Program Files (x86)\Internet Explorer\iexplore.exe(15216) [Rodolfo] R[0,0 300x300]@S(0)[0,0 1920x1080] E:Y, T:3.0 [info] Write: #C.l#w1. [info] Write: #DEL.#w1. [info] Write: #N. could not open url: https://myurl.com/ == ERROR: test_open_browser_with_url (browser_test.IETest) -- Traceback (most recent call last): File "D:\development\workspace\AutomationFramework\test\browser_test.py", line 68, in test_open_browser_with_url self.assertTrue(browser.open_with_url(lms_url), "Can't open url with browser") File "D:\development\workspace\AutomationFramework\src\browser.py", line 95, in open_with_url return self.driver.open_browser_with_url(self.path_to_executable, self.browser_name, url, self.wait_for_image) File "D:\development\workspace\AutomationFramework\src\driver.py", line 19, in open_browser_with_url exit(1) File "D:\SikuliX110\Lib\sikuli\Sikuli.py", line 424, in exit sys.exit(code) SystemExit: 1 -- Ran 1 test in 30.591s FAILED (errors=1) Can I get help to debug or fix this problem? Thanks, Rodolfo -- 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 #258693]: why when install sikuli set up it comes up with program to select
New question #258693 on Sikuli: https://answers.launchpad.net/sikuli/+question/258693 I tried to install sikuli-setup.jar at sikuliX folder by double click on the sikuli-setup.jar it did not come up with the x.cmd windows like I once had. This happened when I started to install java 1.8 64bits then uninstalled it (I had a install incomplete issue on 1.8). I still have 32bit java 6 update 30 -- 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 #169194]: How do you keep a Swing GUI open after end of script?
Question #169194 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/169194 Jason posted a new comment: Can you explain how to do this on windows? Putting runsikulix.cmd -r [path to sikuli file] runs the script fine but the jframe gui I have it in just open for a second then closes. -- 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