How do you parametrize radio button?

Questions by pashu

Showing Answers 1 - 15 of 15 Answers

meenakshi

  • Aug 8th, 2007
 

 I think we cannot parameterize a radio button.....

  Was this answer useful?  Yes

sachin

  • Aug 12th, 2007
 

Yes, Parameterizing a radio button is not possible and  in fact its not needed. In usual practice you wont find 2-3 radio buttons on a web page, max 5-6. So these can be treated as new test cases. Parameterizing is used only when you have huge set of data for one few perticular input fields needed to execute in large cycles. 

  Was this answer useful?  Yes

ManjuPillae

  • Mar 26th, 2008
 

We can Parametrize Radio button in the Web page by using the name of the radio Button.

If we have 5 sets of Radio Buttons,
say RdBtn1, RdBtn2, RdBtn3, RdBtn4 and RdBtn5.

We can add one RadioButton in Object Repository and referr others by passing the name or changing the name of the object in Object Repository.

  Was this answer useful?  Yes

sri_yarley

  • Apr 16th, 2008
 

Yes. You can parameterize the radio button through Object repository. Assume that
you have three radio buttons r1, r2, r3 in a page. add one radiobuttion say r1 to the object repository. Now Select that particular radiobutton and go to Object Properties section(Displayed on Right side). In the list of properties you can see Name as propertyname and r1 as the value. Select that value. You can see "configure" Ikon getting displayed there once it is selected. Now click on that IKON. Parametirization window gets displayed there. Select the column and datasheet in that. Click on ok.
Now go to object repository and change the name of radio button in the left side
displayed section so that u will not get confused.

An important care which should be taken here is that. while entering values for the Radiobutton column in Datasheet. check that the value enetered is exactly equal to the Name displayed for that radiobutton as it is in application

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions