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 is file database?

1688


• What type of testing questions will be asked for 2+ yrs exp people in interview?

1254


Is it possible to split an action? How?

656


How is UFT 11.5 version different from UFT 12.0?

604


Explain types of output values?

564






How many ways we can parameterize data in quicktest professional (qtp)?

581


i am looking job in perfomance testing using Loadrunner any one help me a project plz......?(Chandana) chs_29@rediffmail.com

1462


hi can anybody help with an qtp 9.2 license key please. Thanks, Nitesh.

1834


How to add verification steps to tests?

9122


What are the types of object repositories? Which one is you are using?

628


Explain about Test Fusion Report of QTP?

610


Suppose you are using shared objects repository in your test and you want to split your present action? At that time shared object repository is single or it’s also splits?

643


How to handle the exceptions using recovery secnario manager in quicktest professional?

632


What is the extension of the qtp local repository?

562


Where to use function or action?

667