Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How to identify the object when it is dynamically changing behavior
#8
Solved: 11 Years, 3 Months, 3 Weeks ago
Hi All,
Thanks for all your respoonse,
I have find the solution and implemented in my code,
Thanks basanth for your valuable suggestion....

Forgot to paste the code here,

Code:
Sub ChildObjects_Example()
Set oDesc = Description.Create()
    oDesc("html tag").Value = "A"
Set EditCollection = Browser("xxxx").Page("xxxxx").Frame("xxxx").WebTable("Category").ChildObjects(oDesc)
NumberOfEdits = EditCollection.Count
msgbox NumberOfEdits
'Search for a specific link object and fetch its value
For i = 0 To NumberOfEdits -1
    If EditCollection(i).GetROProperty("html tag") = "A" Then
       p= EditCollection(i).GetRoProperty("name")
       msgbox p
    End If
Next
End Sub
Call ChildObjects_Example()
Reply


Messages In This Thread
RE: How to identify the object when it is dynamically changing behavior - by venkatbatchu - 10-28-2009, 10:08 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Changing Data in the application newbieny 0 766 07-17-2019, 07:11 PM
Last Post: newbieny
  Unable to identify Child Object for a window application created using C#. ssanjeev 3 6,234 03-27-2017, 05:38 AM
Last Post: ankita
  How to identify Jquery slider object and use the slider in QTP? axn700 0 2,682 10-22-2015, 12:03 PM
Last Post: axn700
  When UFT Does Not Identify an Object vinod123 4 7,400 06-20-2014, 02:44 PM
Last Post: vinod123
  "Cannot identify object" failure only when script is checked into QC msacks 0 2,029 02-28-2014, 12:40 AM
Last Post: msacks

Forum Jump:


Users browsing this thread: 2 Guest(s)