Use .....weblist("name:=listbox").select "#" & i
Thanks,
RevanthOn 20 January 2012 16:46, syed rowff <[email protected]> wrote: > i hav a weblist with 10 items > now i want to set it for 10 itrations that is retesting the weblist by > selecting each time one item through script > how to handle the situation > > .....weblist("name:=listbox").select("#1") > is working to select one item > if we put this in loop > for i=0 to 10 > .....weblist("name:=listbox").select("# i ") showing some error > next > > -- > > -Syed Rowff > > -- > 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 "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
