Public Function WebButtonClick(oBjName)
Webbutton = oBjName.ToString
If oBjName.Exist(0) Then
If oBjName.Object.Isdisabled Then
WebButtonvisibleClick = False
ExitTestIteration
Else
oBjName.click
WebButtonvisibleClick = True
End if
Else
WebButtonvisibleClick = False
ExitTestIteration
End If
End Function
No comments:
Post a Comment