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

hi i have one isuue on selecting webcheckbox .there are 15
wecheckboxex i want to select every time 9 th one how can i
select plese help me

regards
balaji

Answer Posted / manoj kumar

'Create teh object of Browser
set brow_obj = description.Create

brow_obj("title").value = "Google Accounts"

'Create the object description for Checkbox

Set chk_obj = description.Create

chk_obj("html tag").value = "INPUT"
chk_obj("type").value = "checkbox"

'Find out the all check box on page

Set ocheckbox = Browser(brow_obj).page
(brow_obj).ChildObjects(chk_obj)

'Count the no of check box
intcountobj = ocheckbox.count

'Select only two check box on page

For i = 0 to 8

ocheckbox(i).set "ON"

Next

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

i am new QTP... please tell me automation frameworks , types & for whiich type of applications frameworks are used & how to generate script in keyword driven framework

2056


terminal services client

2206


i can done the project with QTP in that time i can say how many members in my team size?

1884


i have a doubt can anyone tell me where are scripts stored while using QTP.Tell me the exact procedure takes place in real time?like how we call scripts how to proceed after writing scripts?how scripts are executed etc?i heard some use Qc whether others dont use.so tell me whole procedure for both the things it will be a very big help.as i have interview i want to have whole idea on this.its very urgent.

1876


Name the properties you would use for identifying a browser and page when using descriptive programming?

966


what difference between runtime object and text object and what property they have. whether they have same properties or different properties.

2151


write a script to validate the content in the web application. (do it by OR method) and (do it by Descriptive method by creating a description object..

2273


Hi,Sudhanandareddy plz forword framework and ppts for QTP to me. This is my mail id: ranjith_99reddy@yahoo.co.in (your contact number also)

2363


Can any body please tell me the steps of keyword driven frame work in qtp. My mail is saswat445@gmail.com please send some materials on keyword driven testing in qtp. thanks a lot...

2203


How to indentify MS-Word objects like Menubar, Toolbar, table/columns/rows/cells etc within Word document, using QTP?

2292


Call to copy of an action and call to existing action… i know the diff but in real project how to use..? i want live scenario.pls help me..

1741


What are the benefits of quick test pro(qtp)?

942


how to acess a test in RSA?

2189


explain structured testing? plz guys with exp. do answer

1838


In qtp, explain what is crypt object

994