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

Answer Posted / firoz shaik

A Small correction in the above code :

set objCheckBox=Description.Create()
objCheckBox("micclass").Value="WebCheckBox"
set objChildObjects=Browser("micclass:=Browser").Page
("micclass:=Page").Childobjects(odesc)


for i=1 to objChildObjects.Count
If i=5 Then
Exit For
End If
objChildObjects(i).Set "ON"
Next

Is This Answer Correct ?    12 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Why we load add-ins in qtp?

626


whenever U using QTP,Test Director, Why we using separate Bug tracking tool?

1568


what you mean by artifact,milestone...

1494


Can any one tell me how to write a script for selecting open option in File menu of A word document.here you have to add objects to OR.try like that and give me the ans.i asked this question to so many but no one knows.if any one know the answer plz let me know

1407


how will you load the test cases in ddt?

1598






Dear All , For UFT 12.02 which version QC or ALM will support ? Thanks Balaji

921


How to capture a window in QTP?

1529


Can any one send me the QTP Basic Coding Samples?

1614


Why qtp always start action1 and does not start action?

605


I am getting an error "failed to open the XML checkpoint result viewer" in result window,after clicking on "View XML checkpoint results".Someone suggest me settings,if any...

1463


How many tabs are available in debug viewer pane?

649


.have you ever written compiled module? if yes , tell me about some of the function that you wrote.

1682


In Test Directory, What are the contents in test case designing? if you prepare in excel sheet how u use thrw Test Directory?

1509


Hi, my requirement is to make a query in SQL using QTP. And i have to get the results of that query and i have to use those results for future testing. I created a driver but i dont know the code for using this Driver. please help me by providing the solution for y requorement

1647


Is the qtp course will help to create a virtual object?

1516