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


Please Help Members By Posting Answers For Below Questions

Hi, is it possible for recording shortcut key during record session? The application on which I am working is web based application. This application has several shortcut key associated with menu option. I have succesfully recorded all menu option but unable to record shortcut key.

1808


Explain quicktest professional (qtp) testing process?

1001


Sql questions to find second max salary and how to use joins

1524


How many types of run modes are there in qtp?

1026


What are the disadvantages of recording test cases in qtp?

1025


In the website, the protocol has been changed http: to https what you will do? Tell me your approach?

996


I want to do Certification course in QTP. For this I request you to suggest the best Tutorial in PDF format. Hence, if possible, kinldy mail PDF file to my mail-ID: sushmapokhriyal79@gmail.com

1937


How is UFT 11.5 version different from UFT 12.0?

1058


Hi All, I Want To excute scripts batch without using QC .I need code for that Thanks Balaji

1817


Can we run test with out adding object in object repository? How it is possible?

1061


unique properties of button,edit box, radio button,check box?

4488


Hi, Can we open a test in qtp10 which is saved in qtp 9.2?

1885


can any body tell me how i create a simple script and apply output value on it .pls send me a step by step process

1759


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.

1820


How do Parameterization and Data-Driving relate to each other in QTP?

1047