Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Identifying Objects on any screem
#2
Solved: 11 Years, 3 Months, 3 Weeks ago
Hi dipti,
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
Reply


Messages In This Thread
RE: Identifying Objects on any screem - by Arul - 05-22-2012, 05:18 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  QTP is not identifying Parent objects it self then how can we automate swapna.9n9 0 2,025 12-11-2014, 04:32 PM
Last Post: swapna.9n9
  UFT11.5 is not identifying the objects in IE9. qtpexpert 1 2,825 03-19-2013, 11:59 AM
Last Post: gaveyom
  QTP is not identifying the objects in .net application. qtpexpert 0 2,670 03-12-2013, 12:59 PM
Last Post: qtpexpert
  QTP- identifying same objects with same properties sumalatha 8 28,111 08-07-2012, 04:25 PM
Last Post: abhishekjain_87
  QTP not identifying the objects in the application rao 12 11,436 03-06-2010, 11:07 PM
Last Post: virensawant

Forum Jump:


Users browsing this thread: 5 Guest(s)