Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How to parameterize WebRadioGroup
#11
Solved: 11 Years, 3 Months, 3 Weeks ago
Hi saket i didi like this
Hi saket i didi like this

Code:
Dim i
For i = 1 to NumberOfLogo
Datatable.LocalSheet.SetCurrentRow(i)

strValue = Datatable("Group",dtLocalSheet)
If strValue = "optBanner1" Then
Browser("Publish").Page("Publish").WebRadioGroup("optBanner1").Select "N"
Exit For
ElseIf strValue = "optBanner2" then
Browser("Publish").Page("Publish").WebRadioGroup("optBanner2").Select "X"
Exit For
ElseIf strValue = "optBanner" then
Browser("Publish").Page("Publish").WebRadioGroup("optBanner").Select "Y"
Exit For
End If

DataTable.LocalSheet.SetNextRow

Next

please let me know if i m wrong
Reply
#12
Solved: 11 Years, 3 Months, 3 Weeks ago
Yes, That should work.
There is no need to set the Next row as you are already setting the current row earlier.

Reply
#13
Solved: 11 Years, 3 Months, 3 Weeks ago
Hi saket,

But that shouldn't work, actually it logout and showing me result pane. Thats why i was asking shall i need to parameterize userID also, please let me know

Thanks
Mahesh
Reply
#14
Solved: 11 Years, 3 Months, 3 Weeks ago
if you need to do it for different logins then defintely you should parameterize the user id and other credentials as well.
if required you should set the group also.

let me know how it goes.

Reply
#15
Solved: 11 Years, 3 Months, 3 Weeks ago
Hi saket,

I need to do it for the same login, so can i need to parameterize then.

Mahesh
Reply
#16
Solved: 11 Years, 3 Months, 3 Weeks ago
No you dont neet to do that in that case.
remove 'exit for' from the statements ,it will go through all the rows.

Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  How to use the Descriptive programming for WebRadioGroup? Uma 4 9,176 09-27-2011, 11:17 PM
Last Post: Uma
Exclamation How to parameterize / do Desc. Programm on Calender control nistalaramesh 7 6,316 05-10-2011, 11:24 AM
Last Post: nistalaramesh
  Parameterize checkpoint using excel sheet prasadworld321 1 3,937 04-05-2010, 10:43 AM
Last Post: manishbhalshankar

Forum Jump:


Users browsing this thread: 6 Guest(s)