11-19-2009, 08:18 PM
Hi v_selvam,
Thanks for your code but every time it logout after taking 1st value
actually i want that every time it login and select next value from datatable.
Even i am not able to parameterize webradiogroup.
please help me out
Thanks
mahesh
Thanks for your code but every time it logout after taking 1st value
Code:
Dim strValue,NumberOfLogo
Set checkLogoDesc = Description.Create()
checkLogoDesc("micclass").Value = "WebRadioGroup"
'Retrieve all WebEdit objects in this page
Set logoOptionCollection = Browser("Publish").Page("Publish").ChildObjects(checkLogoDesc)
NumberOfLogo = logoOptionCollection.Count
MsgBox(NumberOfLogo)
strValue = Datatable("Group",dtLocalSheet)
If strValue = "optBanner1" Then
Browser("Publish").Page("Publish").WebRadioGroup("optBanner1").Select "N"
ElseIf strValue = "optBanner2" then
Browser("Publish").Page("Publish").WebRadioGroup("optBanner2").Select "X"
ElseIf strValue = "optBanner" then
Browser("Publish").Page("Publish").WebRadioGroup("optBanner").Select "Y"
End If
actually i want that every time it login and select next value from datatable.
Even i am not able to parameterize webradiogroup.
please help me out
Thanks
mahesh