write a qtp code to count the number of child objects in login
page and highlight it

Answers were Sorted based on User's Feedback



write a qtp code to count the number of child objects in login page and highlight it..

Answer / mudaseer

set childobj=dialog("text:=login).childobjects
msgbox childobj.count
for i=0 to childobj.count-1
childobj(i).highlight
next

Is This Answer Correct ?    4 Yes 0 No

write a qtp code to count the number of child objects in login page and highlight it..

Answer / prathyusha

set olink=Description.create
olink.add "micclass","text"
set olinkcol=B().P().Link().childobjects(olink)
msgbox olinkcol.count
for i=0 to olinkcol.count-1
olinkcol(i).HighLight
next

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More QTP Interview Questions

What is Object Spy in QTP?

11 Answers   vsworx,


how many scripts r there in QTP? pls any answer this question?

4 Answers  


What is the differences between image check point and bit map check point?

0 Answers  


In how many ways we can add check points to an application using QTP.

4 Answers  


Could you please suggest a book to start with QTP and also a book for advanced concepts?

2 Answers  


How should i find out whether the cursor is moving horizantally. when tabbing continuously

2 Answers   Livetek,


What is the current version of QTP?

19 Answers  


In an output value text checkpoint, where does the output value stored by default ?

4 Answers   Ordain Solutions,


How can i learn Descriptive programming in QTP. Please reply.

3 Answers  


i've installed qtp9.2 on Windows 7. Recording and everything no problem. But when i am saving the test, it is not happening. it says 'general error while saving'. But teh test is getting saved but as a folder with lock icon. When i wanted to open it, it is jst showing as a locked folder but not as a test. Somebody help me out plz

1 Answers  


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

0 Answers   FirstApex,


Scripts for Ascending order in qtp.

3 Answers  


Categories