Page 1 of 1

Selection of radio button issue

Posted: Thu Aug 09, 2018 9:25 am
Hi,

Clicking on radio button is not working.
RadioButton.png
As in the above screenshot I wanted to click on Ansback but it is not working.
Only selection of that text working but not selection of radio icon of that value.
I have used the below two way of coding
1)
var ansbach = repo.Book1Excel.MSelectorListControl.Ansbach;
ansbach.Select();
ansbach.Click();

2)
Ranorex.Unknown radiobutton = "/form[@controlname='CnAbstractValueHelpControl']/container[@controlname='mSelectorListControl']//tree[@accessiblename='mTreeView']/treeitem[@text=ansbach]";

radiobutton.Focus();
radiobutton.Click()

And one more doubt For what exactly we should use Ranorex.uknown in the automation.

Thanks and Regards,
Basavaraj

Re: Selection of radio button issue

Posted: Mon Aug 13, 2018 9:21 am
by RobinHood42
Hi,

It would be really helpful if you could provide a Ranorex snapshot file of the mentioned elements.

Ranorex Snapshot

Thanks in advance.

Sincerely,
Robin