If Sreedhar's solution did not work, go for this:
'======================================================================
cnt=Browser("BBB").Page("PPP").WebList("LL").GetROProperty("items
count")
For i=1 to cnt
Print Browser("BBB").Page("PPP").WebList("LL").GetItem(i)
Next
'======================================================================
On Feb 9, 5:57 am, Sreedhar Mallipeddi <[email protected]> wrote:
> no..did you split and check the count of the items present in the
> dripdownall variable...?
>
> check this one ...add the weblist from yahoo registration page called
> Country and run the below code...
>
> val = Browser("Yahoo! Registration").Page("Yahoo!
> Registration").WebList("country").GetROProperty("all items")
> arrValues = Split(val,";",-1,1)
> msgbox Ubound(arrValues)
>
>
>
> On Mon, Feb 8, 2010 at 9:33 AM, Kiran Ogeti <[email protected]> wrote:
>
> > This is something new , I never noticed..
>
> > I have like 200+ values in my dropdown (List box)...I wanted to make sure
> > couple of values listed in there..so I did
>
> > dropdownall = .weblist().getroprperty("all items")
>
> > but it looks like the variable "dropdownall" has a length limit and it
> > pulls only about 20 values in the field and get truncated..
>
> > Any ideas please
>
> > --
> > 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]<mercuryqtp%[email protected]>
> > For more options, visit this group at
> >http://groups.google.com/group/MercuryQTP?hl=en
>
> --
> Mallipeddi Sreedhar
> 215-688-2456
> Sent from Addison, Texas, United States
--
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