Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Is there a way to get all object names within the current active page

Status
Not open for further replies.

jloyzaga

Programmer
Feb 26, 2003
4
AU
I use this in my automated test tool (qtp) - is there a pure vbs method?
set PageObjectColl = Browser("micclass:=Browser").Page("micclass:=Page").ChildObjects()
print PageObjectColl.count
For x = 0 to PageObjectColl.count-1
print PageObjectColl(x).GetROProperty("micclass")
print PageObjectColl(x).GetROProperty("name")
print ""
next
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top