there are having 10 checkboxes..how can i check only first
5 check boxes by using descriptive programing..
Answer Posted / naazneen
set desc_obj=description.create
desc_obj("micclass").value="WebCheckBox"
set obj=Browser("creationtime:=0").page("title:=.*").ChildObjects(desc_obj)
for i=1 to 5
obj(i).set "ON"
next
| Is This Answer Correct ? | 2 Yes | 0 No |
Post New Answer View All Answers
Explain hybrid framework with advantages and disadvantages?
Where to use function or action?
when to start the automation?
Write a script to verify font style and color of a windows object using descriptive programming
How to test background color and dynamic images during run time can you put the check point for moving objects?
If I am scripting Web-based Surveys using QTP that open up differently but at the exact same point require a username and password can I automate that username and password for all the surveys some how using QTP?
What are the different recording modes and how do they work?
Whats the realtime QTP testing process
How do you check ticket cost and ticket number in flight application?
write the vb script for call to new action in qtp?
How to check which add-ins are associated with a test in qtp?
What is the use of Debug Viewer?
If I change the property value at runtime is it effect is object repository?
Can I change properties of a test object?
How to use setroproperty?