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


Please Help Members By Posting Answers For Below Questions

what is error and fault in terms of software quality?

1847


Explain the parameter in qtp?

995


What r the different filters in defect in quality center

3695


What is the use of running the scripts in Hidden-mode in UFT?

1171


how to find that tools work well with ur existing system?

1857


what is key word driven frame work ? why it is called like that ? what is the diference between keyword driven and data driven frame work ?

1939


If u r using library files (Instead of Check Points) , How do u do bitmap check ?

1971


What is object repository in qtp?

967


What is recovery scenario manager? When you go for recovery scenario manager?

993


If created one virtual object? Next time I changed the window position will it work?

991


If a button named "CLICK" is recorded in low level recording mode , what will be the values stored for "name" property of that button in object repository ?

2128


How can i initiate the objects to find uniquely in OR

1838


Hi, I got error message as "object does not support this property or method: "Test.Actions" when i execute the following line of script on QTP 9.0 Dim qtApp, qtRep Set qtApp = CreateObject("QuickTest.Application") Set qtRep = qtApp.Test.Actions("Action1").ObjectRepositories Can anyone tell me where i am wrong.

2036


What is 'sleep' in sync point?

1043


An action has both shared and local or associated to it and both have the same object in them. In the test which one will be considered?

1051