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

Answers were Sorted based on User's Feedback



hi i have one isuue on selecting webcheckbox .there are 15 wecheckboxex i want to select every tim..

Answer / deep

HemaKumar has given your answer but has written the code
for WebList by mistake.
You can use this:
Browser("title:=.*").Page("title:=.*").WebCheckbox
("name:=account type","index:=8").Set "On"

Is This Answer Correct ?    2 Yes 0 No

hi i have one isuue on selecting webcheckbox .there are 15 wecheckboxex i want to select every tim..

Answer / hemakumar.m

Use index property.

Ex:
Browser("title:=.*").Page("title:=.*").WebList
("name:=account type","index:=8").Select "value"

Is This Answer Correct ?    2 Yes 1 No

hi i have one isuue on selecting webcheckbox .there are 15 wecheckboxex i want to select every tim..

Answer / raghavender

We Can check the webcheck box by using its Index number in
the application.
Browser().page().Webcheckbox("Name:=Chekbox name","index:=9
or 8").select

OR

We Can also Add all the check boxes To the Object
repository based on the Index numbers and select them in
the Code by writing
Browser().page().webCheckbox().select "ON"

Is This Answer Correct ?    0 Yes 0 No

hi i have one isuue on selecting webcheckbox .there are 15 wecheckboxex i want to select every tim..

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

More QTP Interview Questions

What exactly is the difference among all the three recording modes.

2 Answers   TCS,


Please can you give where can we get good QTP Training at Hi-Tech city Hyderabad?

10 Answers  


How does qtp identify objects in the application?

0 Answers  


What is accessibility check point?

0 Answers  


How did you use regular expressions in QTP and also in WR?

0 Answers  


Explain about random testing of 500 test cases?

1 Answers   IBM,


hen do start automation testing after manual testing

1 Answers   Infosys,


what is the diff between manual test plan document and automation test plan doc.can u explain indetail.

0 Answers   Value Labs,


What is Step generator in qtp? wt is the use? can u any body explain me? plz

1 Answers  


What is difference between Class and MicClass

2 Answers  


What is FRAME WORK? How many Frameworks can QTP supports?

4 Answers  


Hi frens! I am testing VB project with MS Access database. At add button click my record is storing in data table and it is shown in datagrid. So at Delete button click i want to check datagrid rows 9before and after delete). so how can i do it using descriptive programming?

0 Answers  


Categories