Logic to check:
val= array("itemtocheck","itemtocheck1")
dropdownall = .weblist().getroprperty("all items")
Items= Split(dropdownall, ";" )
for i=0 to ubound(items)
for j=0 to ubound(val)
if item(i)=val(i) then
'pass
end if
next
On Wed, Feb 17, 2010 at 2:34 PM, jv.qa <[email protected]> wrote:
> Use the following script:
>
>
> ic=Browser().page().Weblist().Getitemscount
>
> For i=1 ic
>
> Item=Browser().page().Weblist().Select(i)
>
> Print item
>
> Next
>
>
> =====================================================
>
>
> On Mon, Feb 8, 2010 at 9:03 PM, 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
>>
>
> --
> 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
>
--
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