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
When using descriptive programming?
Give the syntax to import/export xls into qtp.
What phases are involved in testing an application in qtp?
what is the latest version of QTP? Main difference between 9.2 and 10 version
How does QTP identify an object?
How many add-ins comes by default with quicktest professional?
How does qtp recognize objects in aut?
How can i check items sorted or not in a weblist ? Give me the script for this...
Describe synchronization point.
How to export quicktest professional results to an .xls file?
How can we conduct U-I Testing by using QTP??????
How you debug your script?
Does any one worked on JIL Emulator , Testing with QTP(automation). Trail Version of QTP is not identifying the child objects of JIL emulator, Can any one help me out ,
How to modify object property in qtp ?
Is any limitation to xml checkpoints?