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 / ayushi saxena
set ocheck=description.create
ocheck("micclass").Value="WebCheckBox"
set checkcol=browser("micClass:=Browser").page("micClass:=Page").childobjects(ocheck)
for i=0 to checkcol.count -1
if i=9 OR i=10 OR i=13 then
checkcol(i).set "ON"
end if
next
Is This Answer Correct ? | 8 Yes | 0 No |
Post New Answer View All Answers
Limitations in QTP?
Which recording modes need more memory?
How can you send user defined messages to test report?
How to find the path of folder in which the test is saved in qtp?
Why is action split used by qtp?
Hybrid framework supports Descriptive programming. Is it true?
In qtp, explain what is crypt object
How to test background color and dynamic images during run time can you put the check point for moving objects?
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.
Analyzing the checpoint results?
Hi Frenz... I would like to take up the QTP certification . Can anyone tell me what is the procedure. n if anybody have the study materials pls fwd it to jkpunathil@gmail.com
How you can find the absolute value of the number in qtp?
Give the syntax to import/export xls into qtp.
What is the Difference between test object and run time object?
How will you find the current time of the remote machine using QTP script?