For any corporate training requirements Please mail To sudhakar@qtpsudhakar.com
Course Name Date Time Duration Type Location
WhatsApp to 91-8328152362 for address details of AnyTechLabs
Selenium + Appium 27th February 2019 7.00 AM IST to 8:45 AM IST 45 Days Class Room + Online AnyTechLabs
Selenium + Appium 9th March 2019 9.00 AM IST to 2.00 PM IST 5 WeekEnds Class Room + Online AnyTechLabs

A book "Cracking the QTP interview" authored by Sudhakar.Read More. Buy From FlipKart

Tuesday, February 24, 2009

Show all Object properties without using Object Spy

Set oDesc=Description.Create

Set qtApp = CreateObject("QuickTest.Application")
Set qtIdent = qtApp.Options.ObjectIdentification

set objList=browser("micclass:=Browser").page("micclass:=Page").ChildObjects(oDesc)

For iCounter=0 to objList.count-1

 Set qtObject = qtIdent.Item(oClassName)
 set PropColl=qtObject.AvailableProperties
 print "*******************************************************"
 For oPropCount=1 to PropColl.count
  print PropColl.item(oPropCount) & ":="& objList(iCounter).getroproperty(PropColl.item(oPropCount))
 print "*******************************************************"

No comments :

Post a Comment