This is the same document i am following currently. That is only giving me what regions should i use but did not mention how to read like what steps to do in order to get whether radio button is checked or not.
Do those elements contain an attribute named "Checked"? If they don't, then "Get Checked" won't work. I suspect they won't as they're radio buttons. I think the "Checked" attribute is only associated with Checkboxes.
Give my suggestion a try and see if that suits what you're trying to do. You could set a Flag to be True or False depending on which element is found.
I identified two radio buttons Male and Female using region mode. Similarly check box of verified using region mode. It is identifying as a button but not radio button or check box. Hence I do not have an attribute name 'Checked?'. How can I identify them such that I get 'Checked?' attribute name?
@Naga Mounika Gella it looks to me like you've spied the checkboxes using traditional spying methods (eg. Win32 mode) rather than surface automation. Surface automation uses regions to handle the screen as images.
I'd review the Surface Automation guides on the portal to complete the exercises and ensure you're using regions and the Image Manipulation VBO.
@adebroise Thank you. I used surface automation guides from the portal. They asked to take different screen shots for male checked and female checked radio buttons. Thats why I used spied using region mode and not win 32 or AA mode. Please find the screenshot of my male checked element.
Hi, did you get the answer on how to check if the check box / radio button is Clicked or not ?
I'm looking for the same. Could not find more info or no one seems to know it thoroughly. Please help ? Do u have any samples