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
What are parameterizing tests?
What is the difference between a Function and Action in QTP?
How to handle dynamic objects in quicktest professional (qtp)?
How to use actions in qtp ?
WAT IS DATA BASE AND XML CHECK POINT ?HOW TO IMPLEMENT IT ... GIVE PROPER EXAMPLE FOR IT
If you have two monitors one is of 19inch and the 2nd one is of 24inch,if you want to write same QTP script in both the two monitors is there any changes required in the script?
how to use the regular expression for the below code-- swf("application name").swftreeview ("Treename").select"Medication;Pharmacy:56" There is a tree view window of the folder's ie Medication- >Pharmacy(sub folder)with 56 as count of records...The records can be different or if no records present in the specific folder..then it show "Paharmacy:-no records".Whe i record at the first time .....and try to rerun the same script with different records count say "pharmacy:800"..qtp is not regnizing it...therefore i want to user regular expression..but donot now how to use it and where to use...i have tried.... swf("application name").swftreeview ("Treename").select"Medication;Pharmacy:\*"..but it s of no use..plz help..me
How to associate function library at a run time?
What are the main differences of qtp and win runner?
Both static and dynamic arrays are handled by the vb script. Is it true?
any body plz send health care domain project to me with explanation any two modules on that project. mail_id: ranjith_99reddy@yahoo.co.in
Explain the views in the QTP GUI?
Write the script to delete the mail which is at 9th,13th and 18th place in INBOX of Gmail ?
Hi could some one explan what is the use of the function Defination generator, And how to use the function defination generator.. Explan with the example..
Which advantages helping QTP to hold the position of "Market Leader" for such a long period?