Hi,

Why does the script fail saying "WinList" object is not found.  I don't 
know which other property to use, all the items in the list have same width 
and height and they don't have index.



Rcount = .WinObject("WinObject").WinList("height:=605", "width:=759")
.GetROProperty("items count")
     ReDim x(Rcount)
     For i=0 to Rcount-1                
         Listitem = .WinObject("WinObject").WinList("height:=605", 
"width:=759").GetItem(i)
         If Listitem = "Blank Form" Then         
             x(i)=Listitem
            ItemRequested = x(i)  
            Exit for
                        
         End If
     Next
    
    .WinObject("WinObject").WinList("height:=605", "width:=759").Select(i)
    
    .WinObject("WinObject").WinList("height:=605", "width:=759").Activate 
ItemRequested

-- 
-- 
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