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
What is ‘object spy’ and what is the function of object spy in qtp?
Is there any relation between Keyword Driven Framework and Recording modes provided in QTP( whether Recording modes are applied on keyword driven framework or not?)
What is the difference between byref and byval in qtp?
How to open a new test using quicktest professional (qtp)?
How to use the object spy in quicktest professional 8.0 version?
How is a Step generator used in UFT?
How do I get the QTP scripts result in xml format by using vb script function?
how to create flat file datasubmission in qtp
Explain the views in the QTP GUI?
What is the use of "New Property" in "Add properties" of testobject properties in object repository. How can i use "New properties" while writing scripts if i have assign some values to the testobject properties Can anyone help me? plz
What is an object repository?
What is post recovery scenario?
What is Test Fusion Report in QTP?
hi, FOR 3+ QTP INTERVIEW, FOR EXAMPLE WE PUT ONLINE BANKING SYSTEM PROJECT IN OUR RESUME, IN PROJECT MANAGER ROUND...WHAT R THE MAJOR QUESTIONS ARE ASKED IN P.M? PLS TELL ME ATLEAST 10 QUESTIONS?.....AND IF POSSIBLE POST ANSWERS ALSO....
What is the difference between local and shared object repository in qtp?