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

When using descriptive programming?

1092


Give the syntax to import/export xls into qtp.

1050


What phases are involved in testing an application in qtp?

1010


what is the latest version of QTP? Main difference between 9.2 and 10 version

2143


How does QTP identify an object?

1042


How many add-ins comes by default with quicktest professional?

957


How does qtp recognize objects in aut?

1039


How can i check items sorted or not in a weblist ? Give me the script for this...

2037


Describe synchronization point.

1146


How to export quicktest professional results to an .xls file?

1172


How can we conduct U-I Testing by using QTP??????

1890


How you debug your script?

1070


Does any one worked on JIL Emulator , Testing with QTP(automation). Trail Version of QTP is not identifying the child objects of JIL emulator, Can any one help me out ,

1879


How to modify object property in qtp ?

1004


Is any limitation to xml checkpoints?

1026