05-22-2012, 05:18 PM
Hi dipti,
try like this For Button:
Regards,
Arul
try like this For Button:
Code:
Class ButtonClass
Funcion Webbutton("Logicalname",ObjectName,WaitTime)
Set objButton=Browser("Google").Page("Google")
If objButton.Exist(WaitTime) Then
ObjectName.Click
End If
Set objButton=Nothing
End Function
End Class
ButtonClass.Webbutton "Submit",Browser("Google").Page("Google").Webbutton("Submit"),10
Regards,
Arul