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

Answer Posted / 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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Whar are the challenges do we face while testing web based applications using the automation tool QTP or any??

1848


Will down time for server and content maintenance/upgrades be allowed? how much?

838


if anyone has idea of the interview procedure in covansys, plz send me a mail?

1729


How to get the particular property value?

799


Where should i find checkpoint and virtual objects's Object properties and values in the QTP 9.2 Means where checkpoints or virtual objects related data will store If i want to get the runtime object properties how can i use Getroproperties on Checkpoints

1677


How to sendKeys in QTP? Diff b/w sendkeys and device replay? Diff b/w function and Sub? Diff b/w Array and List Different Types of running Keys other than Fast, slow,Normal mode Regular expression for http://newtours.demoaut.com Difference between \w and \W How to generate script button Recording Types Different Types of Actions? Using DP performance degrades, If Yes why? How to close all the opened browsers? Diff b/w SystemUtil.Run and invoke application? If qtp not recognized the combo box How to select values from drop down?

3730


How to use the object spy in quicktest professional (qtp) 8.0 version?

717


How to start recording using quicktest professional?

843


How smart identification works in qtp ?

767


Differences between text and test area checkpoints?

803


Difference between copy to action and call to action?

776


Explain QTP using different development techniques ?

708


How to make qtp understand the difference amongst the same type of objects .suppose there are 5 check boxes in a page and I have to choose the 2nd one, how to do that through script?

748


How do you do batch testing in wr and is it possible to do in qtp, if so explain?

693


How you can delete excel file in qtp?

804