#1.

set obj = Description.Create
obj("micclass").value = "WebCheckBox"

set checkObjs = 
Browser("B").Page("P").WebTable("W").Childobjects(obj)                          
      
'returns all the childobjects of the webtable 'W' oftype 'WebCheckBox'
for i=0 to checkObjs.count-1
    select case i
        case 
0,2,6                                                                           
                                        
'focussing only on checkboxes with index=0/2/6 as per your requirement
             checkObjs.item(i).set "ON"
    end select
next

-- 
-- 
You received this message because you are subscribed to the Google
"QTP - HP Quick Test Professional - Automated Software Testing"
group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/MercuryQTP?hl=en

--- 
You received this message because you are subscribed to the Google Groups "QTP 
- HP Quick Test Professional - Automated Software Testing" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to