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

How can you quit from Action.

2 Answers  


How do know the number of browsers opened?

0 Answers  


In a QTP project lets say there are 100+ function library and incorrectly we have duplicate some function in multiple libraries. How to find those duplicate functions and remove them?

1 Answers  


Suppose there is a bitmap with some text in it how do you write the script to get the text.

2 Answers   BirlaSoft,


How to Test the mainframe application?(tell me few basic things)

1 Answers   Covansys, IBM, UST,


Does QTP10 supports Windows 7OS +IE 9 combination? Which is the preffered combination ,Plz let me know?

0 Answers  


Explain the concept of Output values in Quick Test Professional?

1 Answers   Crea,


Can u explain about QTP framework

10 Answers   ACS,


What is the difference between QTP 8.2 and QTP 9.2 ?

4 Answers   IBM, Infotech,


what is the difference between an Action and a function in real time

4 Answers  


What is the keyword view and expert view in qtp?

0 Answers  


I have the script like this: Browser("Login").Page ("Application").Frame("ScopeFrame").Link("DC3701737 (Active)").Click in which the value "DC3701737" will get changed and i have to use the same value in so many places. I got the value "DC3701737" in to a variable(Say x). Now if i want to pass the variable in to link object .. how? Browser("Login").Page("Application").Frame ("ScopeFrame").Link(x).Click Is it possible to pass any variable into a link object .. so, that the application will select that link automatically? If ur not able to understand, pls let me know.

2 Answers   ABC,


Categories