How to get all the objects count and objects names in
webpage using QTP ?

Answer Posted / chivukula.kumar

Hi Chandu,

ChilObjs=Browser("BrowserName").Page
("PageTitle").Childobjects
tol=Chilobj.count

for i = 0 to UBound(tol)

a =chilObjs(i).Name
print a

Next

Is This Answer Correct ?    3 Yes 23 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Dear All, How to generate Pass or Fail Report in QTP without using Reporter.Report Event Method ? Thanks Balaji

2249


iam working in QTP for 2+ of exp if i attend the interview what r questions asked in perfomence testing{loadrunner} ? pls any one can say answer to this question?

1594


hai, i completed my b.tech in 2010 with 62.3%. i having knowledge on manual testing and Qtp. i want Relavent experience in testing.watever may be d salary i dont bother..I just want to gain knowledge. i dont have good communication skills.

1417


explain how to write vb script in qtp?when will you write own script?

1847


what is clean sweep?

1503






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

571


what is the structure for the data driven framework

1474


What is text check point and text area check point?

593


How many types of recording modes are there?

587


Hi, can explain the draw back of manual testing.plz send me the answer to my mail id deepthip1985@gmail.com

1403


What is 'sleep' in sync point?

612


how to compare two bitmaps( 1. clients requirement & 2. Designed by dev) in qtp 8.2 wann clear steps

1663


Define Environment Variable in UFT and its uses?

601


1.How do u prepare the test suits in QC? 2.How do u convert requirements to test plan in QC?

1488


How to handle dynamic objects in quicktest professional (qtp)?

542