01-29-2009, 05:33 PM
Hi Sudhir,
I hope in the RO Property "value" would help you. Check for the "value" property which,
when the first RadioButton in the group is selected, returns "#1"
when the Second RadioButton in the group is selected returns "#2"
when the first ThirdButton in the group is selected returns "#3"
Hence before going and selecting the particular webradiogroup get the ROProperty and go ahead.
i.e
then
........
Hope this would help in solving the error.
I hope in the RO Property "value" would help you. Check for the "value" property which,
when the first RadioButton in the group is selected, returns "#1"
when the Second RadioButton in the group is selected returns "#2"
when the first ThirdButton in the group is selected returns "#3"
Hence before going and selecting the particular webradiogroup get the ROProperty and go ahead.
i.e
Code:
If Not Browser("Welcome: Mercury Tours").Page("Find a Flight: Mercury").WebRadioGroup("servClass").GetROProperty("value") = "#1" and Datatable.GetSheet("Global").GetParamenter("p_Value").Value = "Business"
Code:
Browser("Welcome: Mercury Tours").Page("Find a Flight: Mercury").WebRadioGroup("servClass").Select DataTable("p_Value", dtGlobalSheet)
........
Hope this would help in solving the error.