Re: [Sikuli-driver] [Question #654090]: How to sort without search option in python
Question #654090 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/654090 Muthumanikandan gave more information on the question: I am not able to paste my screenshot here, how to paste my screenshot -- You received this question notification because your team Sikuli Drivers 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 #653019]: How to bring the minimized window to frontmost and click the button in it
Question #653019 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/653019 dinev posted a new comment: No attached image. Use Jing and post a link here -- You received this question notification because your team Sikuli Drivers 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 #621227]: Sikuli not mathing images taken with native MAC OSX Screen Snipping Tool
Question #621227 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/621227 Jai P posted a new comment: I used the grab.app on Mac and was able to get Sikuli to match the target image. Apowersoft Mac Screenshot did not work for me. I am on macOS Sierra 10.12.5 -- You received this question notification because your team Sikuli Drivers 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 #654290]: Java - Finder unable to find target image
Question #654290 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/654290 Status: Open => Solved Jai P confirmed that the question is solved: I used the grab.app on Mac and was able to get SikuliX to match the target image. Cmd+Shift+4 or Apowersoft Mac Screenshot did not work for me. I am on macOS Sierra 10.12.5 -- You received this question notification because your team Sikuli Drivers 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 #654290]: Java - Finder unable to find target image
Question #654290 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/654290 Status: Solved => Open Jai P is still having a problem: I used the grab.app on Mac and was able to get SikuliX to match the target image. Cmd+Shift+4 or Apowersoft Mac Screenshot did not work for me. I am on macOS Sierra 10.12.5 -- You received this question notification because your team Sikuli Drivers 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 #653019]: How to bring the minimized window to frontmost and click the button in it
Question #653019 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/653019 Rathinavel posted a new comment: am using Win7 64 -- You received this question notification because your team Sikuli Drivers 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 #653019]: How to bring the minimized window to frontmost and click the button in it
Question #653019 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/653019 Rathinavel gave more information on the question: Hi Dinev, "X" is for maximizing the window. It is working fine. for me minimized should be restored. In the attached image (Image sent to mail id "launchpad-us...@lists.launchpad.net"), you see the below execution: Switched the window to RstStimulations. Option "RESTORE" is highlighted but not clicked automatically. So line no.18 action is failing. error also raised in the log. I need to click the Option "RESTORE" manually, so that line no.18 actin is performing. Please provide the solution. Thanks in advance! -- You received this question notification because your team Sikuli Drivers 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 #654290]: Java - Finder unable to find target image
New question #654290 on Sikuli: https://answers.launchpad.net/sikuli/+question/654290 I am combining Appium and Sikuli to be able to automated my native app on iPhone by following the methodology discussed here - https://medium.com/@SimonKaz/appium-with-image-recognition-17a92abaa23d. Specifically I am reusing the OCR.java here - https://github.com/Simon-Kaz/AppiumFindByImage/blob/master/src/main/java/OCR.java The modified getCoords() method I am using is below - public Point2D getCoords(BufferedImage baseImg, String targetImgPath, double minSimilarityValue) { // set new minimum similarity Settings.MinSimilarity = minSimilarityValue; Match m; Finder f = new Finder(baseImg); Point2D coords = new Point2D.Double(-1, -1); f.find(new Pattern(targetImgPath).similar((float) Settings.MinSimilarity)); if (f.hasNext()) { m = f.next(); coords.setLocation(m.getTarget().getX(), m.getTarget().getY()); } // revert to default similarity Settings.MinSimilarity = DEFAULT_MIN_SIMILARITY; return coords; } This doesn't find my target pattern (subset image) regardless of the similarity. It does work when I set the target to be the same as the base image. Here are the logs - [debug] Debug.init: from sikuli.Debug: on: 3 [debug] RunTimeINIT: loadOptions: check: /Users/JP/ppium_mobile [debug] RunTimeINIT: loadOptions: check: /Users/JP [debug] RunTimeINIT: loadOptions: check: /Users/JP/Library/Application Support/Sikulix/SikulixStore [debug] RunTimeINIT: global init: entering as: API [debug] RunTimeINIT: ScreenDevice 0 has (0,0) --- will be primary Screen(0) [debug] RunTimeINIT: Monitor 0: (0, 0) 1920 x 1200 [debug] RunTimeINIT: runs as sikulixapi.jar in: /Users/JP/sikulix [debug] RunTimeINIT: exists libs folder at: /Users/JP/Library/Application Support/Sikulix/SikulixLibs_201703300100 * show environment for API (build 201703300100) user.home: /Users/JP user.dir (work dir): /Users/JP/appium_mobile user.name: JP java.io.tmpdir: /var/folders/f0/stp5z28967v65lqf8yxdfcxmgn/T running 64Bit on Mac OSX (10.12.5) from a jar java 8-64 version 1.8.0_60-b27 vm 25.60-b23 class 52.0 arch x86_64 app data folder: /Users/JP/Library/Application Support/Sikulix libs folder: /Users/JP/Library/Application Support/Sikulix/SikulixLibs_201703300100 executing jar: /Users/JP/sikulix/sikulixapi.jar *** classpath dump sikulix 46: /Users/JP/sikulix/sikulixapi.jar *** classpath dump end * show environment end [debug] RunTimeAPI: global init: leaving [debug] RunTimeAPI: initAPI: entering [debug] RunTimeAPI: resourceList: enter [debug] RunTimeAPI: resourceLocation: (class org.sikuli.script.RunTime) /Lib/sikuli [debug] RunTimeAPI: resourceList: having jar: jar:file:/Users/JP/sikulix/sikulixapi.jar!/Lib/sikuli [debug] RunTimeAPI: files exported: 7 from: Lib/sikuli to: /Users/JP/Library/Application Support/Sikulix/Lib/sikuli [debug] RunTimeAPI: initAPI: leaving [debug] RunTimeAPI: loadLib: libVisionProxy.dylib [debug] Image: loaded: /Users/JP/appium_mobile/src/test/resources/DelMonteOffer.png (file:/Users/JP/appium_mobile/src/test/resources/DelMonteOffer.png) [debug] Image: cached: /Users/JP/appium_mobile/src/test/resources/DelMonteOffer.png (103 KB) (# 1 KB 103 -- 0 % of 64 MB) [debug] Image: reused: /Users/JP/appium_mobile/src/test/resources/DelMonteOffer.png (file:/Users/JP/appium_mobile/src/test/resources/DelMonteOffer.png) [debug] Image: reused: /Users/JP/appium_mobile/src/test/resources/DelMonteOffer.png (file:/Users/JP/appium_mobile/src/test/resources/DelMonteOffer.png) [debug] Image: reused: /Users/JP/appium_mobile/src/test/resources/DelMonteOffer.png (file:/Users/JP/appium_mobile/src/test/resources/DelMonteOffer.png) [debug] Image: reused: /Users/JP/appium_mobile/src/test/resources/DelMonteOffer.png (file:/Users/JP/appium_mobile/src/test/resources/DelMonteOffer.png) [debug] Image: reused: /Users/JP/appium_mobile/src/test/resources/DelMonteOffer.png (file:/Users/JP/appium_mobile/src/test/resources/DelMonteOffer.png) [debug] Image: reused: /Users/JP/appium_mobile/src/test/resources/DelMonteOffer.png (file:/Users/JP/appium_mobile/src/test/resources/DelMonteOffer.png) [debug] Image: reused: /Users/JP/appium_mobile/src/test/resources/DelMonteOffer.png (file:/Users/JP/appium_mobile/src/test/resources/DelMonteOffer.png) [debug] Image: reused: /Users/JP/appium_mobile/src/test/resources/DelMonteOffer.png (file:/Users/JP/appium_mobile/src/test/resources/DelMonteOffer.png) FAILED: chooseStackAndSignup org.openqa.selenium.TimeoutException: Expected condition failed: waiting for ss.qa.utilities.OCR$1@1654a892 (tried for 15 second(s) with 500 MILLISECONDS interval) Build info: version: '3.4.0', revision: 'unknown', time: 'unknown' System info: host: 'JaiPadmbhansMBP.home', ip:
Re: [Sikuli-driver] [Question #652975]: capture image automatically in a specific location
Question #652975 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/652975 dinev posted a new comment: Just saw the question and can confirm that this code: print "You have 3 seconds to focus notepad" sleep(3) keyDown(Key.SHIFT) type("a") keyUp() works fine on Windows 10, Mac Os ElCapitan and Lubuntu 16.04 -- You received this question notification because your team Sikuli Drivers 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 #653019]: How to bring the minimized window to frontmost and click the button in it
Question #653019 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/653019 dinev posted a new comment: Just wondering what "w" is doing - at least nothning on my Win10 Maybe you need "x" is for maximizing Can you provide screencast of your problem. You may use notepad if you do not want to show your app under test -- You received this question notification because your team Sikuli Drivers 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 #654227]: Use offset(Location(x, y)} but get wrong position some time
Question #654227 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/654227 dinev posted a new comment: Use "highlight" command to visualize your target and subsequent calculation There is a chance that initial target is not recognized correctly if you dynamic application -- You received this question notification because your team Sikuli Drivers 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 #654090]: How to sort without search option in python
Question #654090 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/654090 dinev posted a new comment: Can you give a visual example of your question? -- You received this question notification because your team Sikuli Drivers 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 #654229]: Loading Sikuli script from an URL Steps Required
Question #654229 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/654229 Status: Open => Answered dinev proposed the following answer: Idea 1 : Use STAF framework: This is very robust and well supported test framework with multiple purposes - http://staf.sourceforge.net/ Idea 2: remote execution : -- If you using windows - you can use psexec for windows https://docs.microsoft.com/en-us/sysinternals/downloads/pstools -- for linux you can use ssh Idea 3: You can use jenkins to orchestrate test execution - can be a burden with 500 machines finally but not last : I like the git idea above - can fit well with above 3 ideas -- You received this question notification because your team Sikuli Drivers 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 #654244]: Waiting for image, type command, then waits again
Question #654244 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/654244 Status: Open => Answered dinev proposed the following answer: "I am looking for a simple script that will watch for an image, type the letter c until the image is gone. then wait for the image to come back again indefinitely." Here is possible solution to your initial question: while True: while not exists(image1): sleep(1) while exists(image1): type("c") sleep(1) -- You received this question notification because your team Sikuli Drivers 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 #654090]: How to sort without search option in python
Question #654090 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/654090 Muthumanikandan posted a new comment: Can anyone help me with example code for the above query -- You received this question notification because your team Sikuli Drivers 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 #654252]: While opening a particular script: index out of range error displayed
Question #654252 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/654252 Status: Needs information => Solved Muthumanikandan confirmed that the question is solved: Issue solved , i copied the script from backup folder and replaced the script now it is working fine.. But while changing the settings SikuliX->file->preferences->more options->Text search and OCR ->checked . issue will occur -- You received this question notification because your team Sikuli Drivers 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 #654252]: While opening a particular script: index out of range error displayed
Question #654252 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/654252 Status: Open => Needs information Manfred Hampl requested more information: Can you post the contents of your script, either here, or in pastebin.ubuntu.com, or somewhere else? -- You received this question notification because your team Sikuli Drivers 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