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 are the methods used in UFT to handle exceptions or run-time errors?
how to acess a test in RSA?
What are the factors on which script execution time is dependent?
What is Cross browser testing? Does UFT support it?
can anyone tell me what to say in interview when interviewer asks about "tell me about your framework in your project"?
What is the file extension of the code file and object repository file in QTP?
How are actions and functions different in QTP?
How to import a test case present in ".xls" file to TD under a Test set?
Is it possible to change the values of analog recording?
what is description object?
Hi All, How to get repeated word in string . Thanks Balaji
Hi ,Can any one pleas explain how to test splash objects using QTP?
How to use debug tools?
Explain the concept of object repository and how qtp recognises objects?
How to analyzing the checpoint results?