Selection of radio button issue
Posted: Thu Aug 09, 2018 9:25 am
Hi,
Clicking on radio button is not working. 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
Clicking on radio button is not working. 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