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

Answer Posted / johnson

set ocheck=description.create
ocheck("micclass")="webedit"
set checkcol=browser().page().childobjects(ocheck)
for i=0 to checkcol.count -1
if i=10 and i=11 and i=14 then
checkcol(i).set "ON"
end if
next

Is This Answer Correct ?    1 Yes 16 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

I want to open a Notepad window without recording a test and I do not want to use System utility Run command as well. How do I do this?

616


banking project description for software tester

7020


What is the use of text output value in quicktest professional?

506


Can we create user defined functions in qtp?

551


PLEASE TELL ME WHEN DO YOU USE THE OBJECT SPY AT RUN TIME

5930






What is debugging? How you debug your script?

603


What is quicktest professional window?

555


banking domain description for software tester for interview

3467


Explain advantages and disadvantages kdf?

516


Which scripting language used by quicktest professional?

526


Explain the concept of object repository and how quicktest professional (qtp) recognises objects?

605


Give me detailed theritical explanation about keyword driven, hybrid framework, environment variables, hybrid frame work

1438


can any boby tell me what is method or steps to connect the remote desk top by using QTP 9.2 version?

1619


Can anybody post some real time scenario in qtp? please its very urgent.

1799


what is error and fault in terms of software quality?

1455