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

Why do we use breakpoints in QTP?

580


how to post xml data from QTP scripts to any application?

1499


Write a script to customize the test results in PDF and HTML format.

2082


how to evalute defects in QTP script?

1484


what is error and fault in terms of software quality?

1505






Output values? i want a practical example

1309


who QTP recognizes the object stored in object repository?

1657


can u explain the keyword driven framework with an example clearly how to create all the files and how to attach to main test.

5094


How many types of actions are there in quicktest professional?

512


What is text/text area checkpoint?

562


what is actually contain test report? can anybody post the test report

1470


what is meant by Implicit and explicit requirements?

3617


Whether qtp 9.0 supports Test director8.0

2116


How to integrate QTP with QC using VB Scripting? What are the prerequisites to connect with QC?

1272


Hi Friends, Can anyone help me out in this one? In QTP, I am using Data Driver and want to parameterise multiple values (say 3 values ) for a field. How can I do it using Data Driver wizard? Plz mention it step-by-step. In the end after doing the needful, on opening the Data Driver window, how can I get number (i.e. 3) in the Parameterised column for that particualr value? Thanks a lot in advance.

1441