10-17-2011 01:44 AM
The page I am testing has a webradiogroup and in run time I want to select items automaciayy, not selcted on the data.
I don know which way to follow to use in this situation but I think to select an item automacailly, for example I want first (or second maybe) item int the WebRadioGroup to get selected programmaticaly while running the test.
When I select an item from webradigroup while recording, ir produces something like that..
and when I write .... WebRadioGroup.
intelisense menu shows
I am confused, which one do I need to use, and how ? Can anyone showan example, please ?
10-17-2011 02:40 AM
So you want to always select the first item in your webradiogroup? Then the code you mentioned is the one you need to use:
The value "0" means the first item in your webradiogroup.