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

Answer Posted / 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       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain in brief about the qtp automation object model (aom).

567


Hi Friends this is kumar i would like to request to all of you ,please help me to explain real time project with using qtp scripts i know basics of qtp but it won't workout on interviews,pls help awating to reply.

1376


your coming from electrical backgroung..but y ur coming to software side?

1391


Through array we can execute the testcase how ? give me example

1403


How do you configure QTP AND Test director?

1502






What are the differences between table and db checkpoints?

537


The structure of keyword driven frame work is like a folder structure the different sub folder are 1-functional libray folder 2-object repository folder 3- database folder 4-appliction1.xls 5-initalzation vbs file 6-sequence file 7-driver script 8-test case list file My question is whether these are in a local server machine or in our pc.((whether It like Vss). can u give example of driver script(code)

2804


how to test load test and block box testing an a web based application pls give ans briefly

1359


Hi How to retrieve data from web element line by line?

1572


What is the basic concept of quicktest professional?

536


Which functionalities of QTP used in banking project? pls any say answer?

1449


How to modify object property in qtp ?

567


How to capture a window in QTP?

1530


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

582


What VBScript operators, functions, and statements do you use in QuickTest Professional?

2172