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

Explain in brief about the qtp automation object model (aom).

552


Generic function to search for the unique link in webtable and click on it

2479


Can UFT be connected to Quality Center? If ‘Yes’ brief the process or steps.

621


What are the features of quick test pro(qtp)?

522


How to do the scripting. Is there any inbuilt functions in qtp as in qtp-s. What is the difference between them? How to handle script issues?

558






What contains Data Driven Framework document in qtp?

1455


How many number of actions possible in qtp?

598


how to evalute defects in QTP script?

1480


How can I open a EXCEL file from QTP Resultviewer with reporter.ReportEvent function call. Example: Test files for details click "here". And clicking "Here" in the resultviewer will open a local EXCEL FILE.

1798


WHAT IS THE DIFFERENCE BETWEEN QTP SCRIPT AND VB SCRIPT? HOW MUCH PERCENTAGE WE USE IN QTP SCRIPT REAL TIME AND HOW MUCH PERCEN OF VB SCRIPT,,,,,,,

1494


what is keyword driven testing in qtp?n how is it useful?

1483


How many tabs are available to view your test in a test pane and what are they?

557


How to use transactions in qtp?

555


How many types of recording modes in qtp? Describe each type with an example where we use them?

605


Hi Every body please explain me in steps to use checkpoints and object Repositories in QTP for Flight Reservation application please tell me the steps for this its urgent pls thanx for urs answers

1567