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
Which environments does qtp support?
hi in real time who will execute the qtp test scripts? my faculty said, in a companty automation testers are written the test scripts and manual testers are execute the test scripts...IS IT RIGHT OR NOT?
Difference between test object and run time object?
Print the Prime numbers in below format only up to 20(Need commas also) 1,2,3,5,7,9,11,13,17,19
Hi all Can u give me the link where we can download full version of qtp my mail id is karthic.venkitapathi@gmail.com
1. What is the difference between Keyword and function in the keyword driven framework? 2. How do you associate Keywords to the script ?
To which environments does quicktest professional (qtp) supports?
requirement is for combo box your expected value is str= "Denver.Frankfurt.London.Los Angeles.Paris.Portland.San Francisco.Seattle.Sydney.Zurich" you must get the text in combo box and need to compare them how
Explain the differences between table and db checkpoints?
Tell me one scenario, the complex functionality you have automated in your project?
What environment does qtp run in?
How to connect to a database?
How to release all resources file from the QTP?
explain keyword driven framework with banking domain?
How many types of recording modes in qtp? Describe each type with an example where we use them?