give the code to count child objects (Total) in the page

Answer Posted / alok

Set var=Browser("...").Page("...").ChildObjects
var1=var.count
msgbox var1

Regards
Alok
er.qtptester@gmail.com

Is This Answer Correct ?    9 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

If you are testing a web application then what will you test in that application?

1529


Some time when i wanna learn the object i face issue like i am not able learn the object in proper manner... eg:for text bo on web page it should learn as webedit but some times it reads as winobject:internetexpoler-server, because of this i have to uninstall the qtp and re-install it again when i do this it reads the object perfectly.....plz suggest the soln

1382


What is the use of ordinal identifier in qtp?

600


How many add-ins comes by default with quicktest professional (qtp)?

547


Can any give an example(if possible templates) how to test web application using QTP. thanks in advance

1542






What is the meaning Work bench?

1753


What is quicktest professional (qtp)?

556


How many types of recording modes are there?

586


What is a Patch in QTP?

596


Explain actions in qtp ?

545


Which advantages helping QTP to hold the position of "Market Leader" for such a long period?

1371


images are dynamically changes how to compare two images with out using the bitmap

1999


In QA Testing when do you use Loadrunner vs QTP? What are the main differences between those two tools? Explain the purpose with real world scenario examples...In advance thank you!!!

2373


Explain step generator in qtp?

632


What is the basic concept of qtp?

568