SetParameter for Radio Button
644028Jul 8 2008 — edited Jul 8 2008Using 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