there are having 10 checkboxes..how can i check only first
5 check boxes by using descriptive programing..

Answer Posted / satish

set x=description.create
x("micclass").value="WinCheckbox"
set y=Browser("title:=.*).page("title:=.*").childobjects(x)
print x.count
for i=1 to 5 step 1
x(i).set "on"
next

Is This Answer Correct ?    0 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

I have many listboxes in my application. I have to check whether the contents inside the listboxes are in sorted order or not..can anyone please send the code as early as possible

1448


What is output value? How many types of output values are there in qtp?

580


How to capture dynamic values in load runner and how Each of the captured values are to be written to a text file (c:\temp\LoadRunner1.txt)

1734


Explain xml checkpoints.

599


How can I check if a environment variable exist or not?

539






Hi,All How to create a link in excel sheet using qtp

3002


What is regular expression?

579


Why bpt?

594


What are the ways you can synchronize?

583


What is recovery scenario in qtp?

585


How can i initiate the objects to find uniquely in OR

1470


hi i have 4 yrs exp in manual and automation testing using QTP i need sample resumes plz can u send this mail id pbre1980@gmail.com

1413


How to check which add-ins are associated with a test in qtp?

582


how u will evaluate the tool for test automation?

1370


How do you create regression test packs?

610