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

I am getting an error "failed to open the XML checkpoint result viewer" in result window,after clicking on "View XML checkpoint results".Someone suggest me settings,if any...

0 Answers  


I want to do Certification course in QTP. For this I request you to suggest the best Tutorial in PDF format, and also tell me the best institute and the estimate cost for joining the institute ib delhi NCR. Hence, if possible, kinldy mail PDF file to my mail-ID: kumar123.pathak@gmail.com , Regards, kumar pathak

0 Answers  


which tpye of exceptions mostly do we face in QTP

2 Answers  


What r the different filters in defect in quality center

0 Answers  


how to parameterizing values from an excel sheet in Quick test professional?

1 Answers  






I m new to QTP? Is it necessary to know VB for learning QTP for Automation? Can I understand QTP excellently Without practical automation?

3 Answers  


Login to flight app, in window flight reservation set the date field and select flyfrom as Frankfurt and verify whether flyto list box has the item FrankFurt, log the results.

1 Answers   Cap Gemini,


Why do you create a text checkpoint on a Web application? What is the purpose of the Close method?

0 Answers  


What is the use of Accessibility check point?

8 Answers   BirlaSoft,


Ex : some mail name with surname Email id's there that is string fetch the particular surname only how to get particular surname all emails

1 Answers   Infosys,


How to convert non-reusable action into reusable action in QTP?(i know by default QTP will take it as a non-reuable action )(Chandana) plz urgent?

4 Answers   Wipro,


what is descriptiveprograming? how to do object identification thrugh Descriptive and is possible smart identification or not

5 Answers   Syntel,


Categories