Forum Stats

  • 3,782,755 Users
  • 2,254,683 Discussions
  • 7,880,153 Comments

Discussions

SetParameter for Radio Button

644028
644028 Member Posts: 15
edited Jul 8, 2008 3:57PM in QA/Testing
Using e-Tester and this VBA code I am trying to set the parameters of two radio buttons but I am getting an error "Object variable or With block variable not set" Can anyone tell my why this happening and how to correct this?


Private Sub RSWVBAPage_beforePlay()
Dim setParamName As String
Dim newParamValues As Collection
Dim resultStr As Boolean

setParamName = "deliveryPref"

newParamValues.Add "unchecked"
newParamValues.Add "checked"

resultStr = RSWApp.SetParameterValues(setParamName, newParamValues)
End Sub

Comments

This discussion has been closed.