Why does this  loop never stops?  It sits at Next statement and does 
nothing.  I've to kill QTP process to stop this.


Rcount = .WinObject("WinObject").WinList("WinList").GetROProperty("items 
count")

  ReDim x(Rcount)
  For i=0 to Rcount-1          
      Listitem = .WinObject("WinObject").WinList("WinList").GetItem(i)
      If Listitem = "Blank Form" Then      
       x(i)=Listitem
   ItemRequested = x(i)  
 Exit for
      
      End If
  Next



thanks

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