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

When to Insert transactions in QTP?

3 Answers   Siemens,


What is checking bitmaps?

0 Answers  


How to change the screen name while running the test.

3 Answers   TCS,


Hi All, What is an XML Checkpoint in QTP? How can i use it while testing a web application? Kindly explain in detail. Thanks in advance

2 Answers  


Hi This is tanya actually im facing problem in Qtp actully some time QTP doesnot recoznise the recorded object due to which script is going to fail.so can you tell me how we can handle this situation and i have another concerened issue is that at the time of run New errors comes every time so how we can handle this sitauation how we can add Recovery scenarios to the script.some time application runs successfully and some time it produces new error thats why i am facing lot of problem please give me the sugeestion as soon as possible.

2 Answers  


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?

0 Answers  


What is the difference between Image Checkpoint and Bitmap Checkpoint?

8 Answers  


Give a comment on Regular Expressions using QTP?

4 Answers  


Give one example of Standard checkpoint in qtp 10?

1 Answers  


When there is descriptive programming, why do we go for Object repository for desigining scripts.?? why cant we use descriptive programming instead of using the Object repository..??

4 Answers   DST Global Solutions,


what is error and fault in terms of software quality?

0 Answers   TCS,


how to compare two bitmaps( 1. clients requirement & 2. Designed by dev) in qtp 8.2 wann clear steps

0 Answers  


Categories