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

What is system testing and what are the different types of tests you perform in system testing?

1166


"What are the common constrains that we need to consider when we prepare testcases for ASP application". Thanks in Advance...

2006


How many types of run modes are there in qtp?

1034


What is Cross browser testing? Does UFT support it?

1135


what are the mandatory properties for a tex boxc (scenario?)

2007


This is Karthic and my mail id is karthic.venkitapathi@gmail.com, please give me an idea to crack qtp 10

2015


tell me exact differenceb bw qtp and selenium?(could not tell open soure and licennce? difference in usage and technical difference?

2187


What is 'sleep' in sync point?

1110


How you can make an action as re-usable action?

1129


What is the script for database check point, bitmapchek point, regular expression ?

2061


What is meant by Output Value in UFT?

1200


what is output value in QTP and how it can be used in automation testing

1996


How to add synchronisation points in qtp?

1081


What is recovery scenario in qtp?

1000


Explain runtime dynamic settings?

2450