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 / ranga
set ocheck=description.create
ocheck("micclass")="webCheckbox"
set checkcol=browser().page().childobjects(ocheck)
for i=0 to checkcol.count -1
if i=9 and i=10 and i=13 then
checkcol(i).set "ON"
end if
next
Is This Answer Correct ? | 3 Yes | 8 No |
Post New Answer View All Answers
How to Test the mainframe application?
With what extension you can save the list of tests in a file to run in test batch runner?
What the differences are and best practical application of Object Repository?
Can anyone tell me how i used QTP 9.2 use for GIS based S/w with an example?
QTP 10.0 is not identifying web objects for IE 8.it is identifying like winObject.I installed HP patch QTPWEB_00037.Still getting issue
Plz Explain How to access Or Store Script from VSS? Explain Real time work (qtp) where you store folders and next to how to you access that folders and how you maintain folders in VSS ? What are the Menu's in VSS? Suppose in Manual, by using Checkin Checkout u can access documents. how you access in QTp REal time?
On what document base Descriptive programming is written if build is not yet ready ?
What are the types of object repositories? Which one is you using?
When Recovery scenario actually starts while testing the application?
before launching qtp, we need to close all the open browsers u dont know what are all the browsers either it might be ie,mozilla etc and u dont know how many brosers are open.... u need to close all these before launching qtp.. can anyone plz temme d solution...
What is ‘object spy’ and what is the function of object spy in qtp?
What is the new version of qtp which is recently released in the market?
Give the syntax to import/export xls into qtp.
can any boby tell me what is method or steps to connect the remote desk top by using QTP 9.2 version?
What is the virtual object?