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

any body can you help me what is the script to automate an comand promt

1986


what difference between runtime object and text object and what property they have. whether they have same properties or different properties.

1711


How you calling actions in qtp?

637


Hello, Is there any way to send the test results in html format (or any other) by email using outlook after the test run ends? thank you in advance

1745


Please guide me release notes of Automation once scripts are completed

1472






what are the critical test cases in crm? tell me atleast 5 critical test cases? what are the critical bug u find out while testing crm domain?

2748


Hi Samrat, Thank u very much, what u said it is right.

1353


How can i check items sorted or not in a weblist ? Give me the script for this...

1588


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

1402


How to test background color and dynamic images during run time can you put the check point for moving objects?

1458


What is QTP and the use of QTP in TD?

606


how could i download qtp in which i get add-in support for 'oracle' is there any way to get it? i finding but not getting pls help me out :)

1439


what are the issues we will get when there is migration from QTP 8.2 to QTP 10.0? Is there any problem in executing scripts of 8.2 on 10.0?

1455


Which environments does qtp support?

685


What are the key points to create a framework in QTP for oracle forms?

1821