Re: [Sikuli-driver] [Question #245286]: Sikuli radio button with associated text

2014-09-10 Thread Krishna Teja
Question #245286 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/245286 Krishna Teja posted a new comment: Hi can any body help with the java code to select a radio button from multiple radio buttons -- You received this question notification because you are a member of Sikuli

Re: [Sikuli-driver] [Question #245286]: Sikuli radio button with associated text

2014-03-12 Thread Helene Pedata
Question #245286 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/245286 Helene Pedata posted a new comment: Hi Eugene, Seems like I had focus issues yesterday resulting In failed finds. At the time, I did not have exception handling so it was not obvious the find was failing.

Re: [Sikuli-driver] [Question #245286]: Sikuli radio button with associated text

2014-03-12 Thread Eugene S
Question #245286 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/245286 Eugene S posted a new comment: Happy to help :) -- You received this question notification because you are a member of Sikuli Drivers, which is an answer contact for Sikuli.

Re: [Sikuli-driver] [Question #245286]: Sikuli radio button with associated text

2014-03-11 Thread Helene Pedata
Question #245286 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/245286 Helene Pedata posted a new comment: Hello Again, Yes, make sense! Can you tell me if the linux version of Sikuli behaves differently than the mac version? find(Yes.png).left() does not seem to work on

Re: [Sikuli-driver] [Question #245286]: Sikuli radio button with associated text

2014-03-11 Thread Helene Pedata
Question #245286 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/245286 Helene Pedata posted a new comment: Hi Eugene, I just realized since it says int object, it is not finding the match. Right? HP -- You received this question notification because you are a member of Sikuli

Re: [Sikuli-driver] [Question #245286]: Sikuli radio button with associated text

2014-03-11 Thread Eugene S
Question #245286 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/245286 Eugene S proposed the following answer: Hi Helene, I don't know whether there are differences between the Linux and Windows or Mac versions however, if you see that the same code works on Mac, then it makes

[Sikuli-driver] [Question #245286]: Sikuli radio button with associated text

2014-03-10 Thread Helene Pedata
New question #245286 on Sikuli: https://answers.launchpad.net/sikuli/+question/245286 Hello! As a new Sikuli user I am having difficulty managing this region: Are you female: O Yes O No where O is a radio button. I would like to be able to determine if the Yes button is clicked

Re: [Sikuli-driver] [Question #245286]: Sikuli radio button with associated text

2014-03-10 Thread Eugene S
Question #245286 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/245286 Status: Open = Answered Eugene S proposed the following answer: Hi, Given you don't have any more similar radiobuttons in the SAME HORIZONTAL LINE, you can try something like that: 1. Create a pattern

Re: [Sikuli-driver] [Question #245286]: Sikuli radio button with associated text

2014-03-10 Thread Eugene S
Question #245286 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/245286 Eugene S posted a new comment: Couple of mistakes I've made: Instead of line: regionYes = yestext.left() Should be: regionYes = find(yestext.png).left() Instead: if region.exists(checkedButton.png): It

Re: [Sikuli-driver] [Question #245286]: Sikuli radio button with associated text

2014-03-10 Thread Helene Pedata
Question #245286 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/245286 Helene Pedata posted a new comment: Thanks Eugene! I'm trying it now. Will let you know :) -- You received this question notification because you are a member of Sikuli Drivers, which is an answer contact

Re: [Sikuli-driver] [Question #245286]: Sikuli radio button with associated text

2014-03-10 Thread Helene Pedata
Question #245286 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/245286 Helene Pedata posted a new comment: Hi Eugene, The code does not seem to recognize the radio box to the left of the Yes text. The condition if regionYes.exists(Checked_Button.png): Fails

Re: [Sikuli-driver] [Question #245286]: Sikuli radio button with associated text

2014-03-10 Thread Eugene S
Question #245286 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/245286 Eugene S proposed the following answer: Hi, What can be a problem is that the radiobutton region is shorter than your Yes region (if that makes sense? :) ) So make sure that when you create a pattern for