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
What is file database?
• What type of testing questions will be asked for 2+ yrs exp people in interview?
Is it possible to split an action? How?
How is UFT 11.5 version different from UFT 12.0?
Explain types of output values?
How many ways we can parameterize data in quicktest professional (qtp)?
i am looking job in perfomance testing using Loadrunner any one help me a project plz......?(Chandana) chs_29@rediffmail.com
hi can anybody help with an qtp 9.2 license key please. Thanks, Nitesh.
How to add verification steps to tests?
What are the types of object repositories? Which one is you are using?
Explain about Test Fusion Report of QTP?
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?
How to handle the exceptions using recovery secnario manager in quicktest professional?
What is the extension of the qtp local repository?
Where to use function or action?