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
In qtp, explain what is keyword driven automation framework?
How you can delete excel file in qtp?
what is the latest version of QTP? Main difference between 9.2 and 10 version
How to remove associated function library?
How many types of recording modes in qtp? Describe each type with an example where we use them?
Hi! My OTP script has several bitmap checkpoints included which I check in the test results xml file. The test is for SAP 4.7. I need to save these bitmaps to files or at least export them to the html file using the export function in the test results viewer. Could you please help me with this problem? Thank you in advance! Best regards, Peter
Can an action have 2 shared object repositories associated with them? In that case, if two of them contain the same object, which one will be considered?
Could you please any one give code for the following ? Scenario : Suppose a excel file contains 10 records and earch have 5 fields. how can i input this excel file for datadrive wizard ? Please explain
How you can write contexts to text file in qtp?
How to find the path of folder in which the test is saved in qtp?
Explain the concept of object repository and how qtp recognises objects?
What is quicktest professional (qtp window?
Explain the use of action split in qtp?
write a script for allinterview-submit Question first we've to select Choose Category,second select Sub- Category(Which is comes in to runtime)third select Question Type.for that give some descriptive and vb script
Why do we use breakpoints in QTP?