Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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

What are parameterizing tests?

1043


What is the difference between a Function and Action in QTP?

1102


How to handle dynamic objects in quicktest professional (qtp)?

951


How to use actions in qtp ?

1056


WAT IS DATA BASE AND XML CHECK POINT ?HOW TO IMPLEMENT IT ... GIVE PROPER EXAMPLE FOR IT

2149


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?

2030


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

2951


How to associate function library at a run time?

1137


What are the main differences of qtp and win runner?

1155


Both static and dynamic arrays are handled by the vb script. Is it true?

1043


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

3891


Explain the views in the QTP GUI?

1066


Write the script to delete the mail which is at 9th,13th and 18th place in INBOX of Gmail ?

2102


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..

1826


Which advantages helping QTP to hold the position of "Market Leader" for such a long period?

1849