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

How many add-ins comes by default with qtp?

549


how do u plan test automation?

1447


What is smart identification in QTP?

634


Your roles and responsibilities and daily tasks? (As automation tester)

2585


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

567






write the vb script for call to new action in qtp?

1864


What is Test Fusion Report in QTP?

624


What is checkpoints for quicktest professional (qtp)?

583


HOw to add the recovery file at runtime to the test file .

1545


How to write business scripts using object repository with different scenarios

1390


How many ways we can parameterize data in quicktest professional (qtp)?

589


How to create a standard checkpoint ?

561


Anybody plz give, How do you test aframe in a web page? If page cotain text message or Images, tables?

1564


can the activities of test case design be automated?

1458


what r the main attributes of test automation?

1482