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

Why to use descriptive programming?

569


how can we test the Triggers, Cursors, Indexes while doing Database testing in DTP??

1588


How can we import into Excel "Details" ,"Result" ,"Time" parameters from within a Results Report which is generated after a Run error when a script is executed in QTP? Refer E.g below Status Functionality Description RunDate Fail Login User should be able to Login 12/3/2007 StartTime EndTime Details* 1:31:58 PM 1:32:29 PM (this one i want)

1526


HI I want to know the detials of QTP certifications such as syllabus, study Materil etc. Can any provide me all these details?? my mail ID is krishnuvk@yahoo.com

1539


If the objects hierarchy is changing from build to build, then how you will handle that condition?

619






can u explain the keyword driven framework with an example clearly how to create all the files and how to attach to main test.

5105


What is the difference in testing a client-server application and a web application?

585


How QTP support all types of applications (platforms)?

4081


i need to add 1000 users in a domain i written the script for that and it is running successfuly but the problem is that my system is not the user of that domain in which i have to add users so for adding users in that domain i have to install qtp on that another system, can anybody suggest me the way to add those users from my system ultimately i want to know how to access remote computer through script

1418


What are the 3 main stages involved in testing with qtp?

559


Which functionalities of QTP used in banking project?

1929


On the website, the protocol has been changed https: to https what you will do? Tell me your approach?

582


To which environments does quicktest professional (qtp) supports?

591


Plz Explain How to access Or Store Script from VSS? Explain Real time work (qtp) where you store folders and next to how to you access that folders and how you maintain folders in VSS ? What are the Menu's in VSS? Suppose in Manual, by using Checkin Checkout u can access documents. how you access in QTp REal time?

1581


For QTP Test Engineer, What is his contribution to the Project? Means, As as automation test engineer what is his role in the current project?

1747