You can try like this.. After you enter Edit Box, Capture the area of
the List of items using SPY.

then write a DP to get the Count of items and store it in a variable..
-- Now run a for loop until the last item of the list. In the for
loop, You need to get the names of the items.. (For this again use SPY
to get the unique value of the list item) and then use getitem(Unique
value) store this value in a variable and print the variable in file
or excel.

Hope this works!!!! Let me know if you are not succeeding with the
above Framework/

Thanks
Ramesh Babu T






On Sep 14, 9:44 pm, Sandeep PL <[email protected]> wrote:
> HI,
>
> In Edit box after entering few char, List of Items are displayed ,
> When I spy that I am getting it as web element.
> But I need to Count the Number  of Items displayed and get the names
> of all items , Please suggest me any work around is there .
>
> Thank you,
> Sandeep

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

Reply via email to