If there are 100 checkboes in a page then how can we select all chexkboxes at once through descriptive programing in QTP using vb script.
Please send the answers...

Answer Posted / sunita

set obj=description.create()
obj(micclass).value="webcheckbox"
set checkboxobj=Browser("micclass:=Browser").page("micclass:=page").childobject("obj")
msgbox checkboxobj.count
checkboxobj(i).set "on"

Is This Answer Correct ?    0 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Brief the process of testing with UFT?

636


How to release all resources file from the QTP?

1055


What is meant by Step generator?what is the use of this? we have 3 steps know there what r all those.? can u all pls give me clear idea of this

1403


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.

1374


What is fragmentation and paging?

1593






Explain the qtp test phases.

619


if mandatory and Assitive propertys are shows same how will u write skript in QTP window

1628


what is the diff b/w assistive and mandatary rules of object repository in QTP???

1614


Hi can anybody send me the QTP material, To my email ID: nuve1284@gmail.com ?

1693


What is the syntax for how to call one script from another?

564


How does you pass optional arguments in qtp?

565


what is defenetion of kiran can u tell me plz CVS, SVN

1572


Can you list some technologies that support qtp?

553


Differences between text and test area checkpoints?

585


What is the extension of the qtp local repository? If it is .mtr then what is .bdb extension stands for?

573