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

What are the methods used in UFT to handle exceptions or run-time errors?

1116


how to acess a test in RSA?

2263


What are the factors on which script execution time is dependent?

1070


What is Cross browser testing? Does UFT support it?

1135


can anyone tell me what to say in interview when interviewer asks about "tell me about your framework in your project"?

2023


What is the file extension of the code file and object repository file in QTP?

1109


How are actions and functions different in QTP?

1072


How to import a test case present in ".xls" file to TD under a Test set?

1230


Is it possible to change the values of analog recording?

1139


what is description object?

2058


Hi All, How to get repeated word in string . Thanks Balaji

1359


Hi ,Can any one pleas explain how to test splash objects using QTP?

2365


How to use debug tools?

2727


Explain the concept of object repository and how qtp recognises objects?

1038


How to analyzing the checpoint results?

1052