Re: [Sikuli-driver] [Question #693680]: [error] Env.getClipboard: cannot open system clipboard
Question #693680 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/693680 Status: Needs information => Open James Panteleone gave more information on the question: what would be the most stable way to clear the clipboard contents? -- 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 #693719]: As a beginner in using sikuli IDE, have launched the IDE and tried taking screen shot manually by clicking the 'camera button'. it is taking me always to desktop pa
New question #693719 on Sikuli: https://answers.launchpad.net/sikuli/+question/693719 As a beginner in using sikuli IDE, have launched the IDE and tried taking screen shot manually by clicking the 'camera button'. it is taking me always to desktop page and not the one i would like to capture (chrome or any other screens). I want to capture some images from chrome browser for test. whenever i click image capture button in sikuli IDE (2.0.4) - java version 8, it is taking me to my desktop screen everytime. is there any setting i need to configure to make sure i can capture any screen i want? -- 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 #693707]: Problem with mouse clicks on images
Question #693707 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/693707 RaiMan proposed the following answer: @Manfred: Anders is right: if region has a lastMatch, it is used until overwritten otherwise the center of region is used. So his approach is absolutely correct. @Anders: switching to the web page might indeed have such an effect of content "flying in" somehow. -- 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 #693707]: Problem with mouse clicks on images
Question #693707 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/693707 Anders W posted a new comment: As I understand it the region.click() will use the last match by default when not specifying any match/image? -- 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 #693707]: Problem with mouse clicks on images
Question #693707 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/693707 Manfred Hampl proposed the following answer: Another possible reason for you problem: region.click() does a mouse click in the center of the region. In case that your button is outside the center of the region, your click may be outside the button. Try if region.exists(button): region.getLastMatch().click() -- 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 #693707]: Problem with mouse clicks on images
Question #693707 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/693707 Anders W posted a new comment: I'm using SikuliX to test an web application so the action just before is switch to new web page where this button should appear an be clicked on. I will test this wait trick. -- 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 #693707]: Problem with mouse clicks on images
Question #693707 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/693707 Status: Open => Answered RaiMan proposed the following answer: Is the button visible before and moving to its place as a result of some action before (some animation)? try with a short but appropriate wait before: wait(0.3) if region.exists(button): region.click() -- 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 #693707]: Problem with mouse clicks on images
New question #693707 on Sikuli: https://answers.launchpad.net/sikuli/+question/693707 Hi, I have problem with mouse clicks on found images. After verifying that a image exists, sometimes the mouse pointer is not moved to the correct area of the region before the click. Example: if region.exists(button): region.click() This sometimes result in a click to the left of the button SikuliX version 2.0.4 Java version 1.8.0_271 -- 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