hi
Try this
ListValue=JavaWindow(Window name).JavaList(List name).GetItem("#0")

-- 
Thanks  & Regards
Sujit :)

On Sun, Sep 9, 2012 at 2:41 PM, parvathy purushothaman <
[email protected]> wrote:

> Hi,
> I am facing the same issue now. Please help me if you got the solution for
> the issue.
> I am using QTP 11.
> Thanks,
> Parvathi
> On Wednesday, October 7, 2009 4:24:07 PM UTC+5:30, Jagannath wrote:
>
>> This property also returns "null" value.
>>
>> Regards,
>> Jagannath
>> On Tue, Oct 6, 2009 at 7:02 PM, Akshay verma <[email protected]>
>> wrote:
>> > Try this
>> > javaList("").GetROProperty("**value")
>> >
>> >
>> > On 10/6/09, Jagannath Prasad Padhy <[email protected]> wrote:
>> >>
>> >> Hi All,
>> >> My application has a JavaList object using which I can perform the
>> >> operations like "Select" and GetROProperty("items count")
>> >> successfully.
>> >> But when I try to retieve an element in the JavaList through
>> >> JavaWindow(Window name).JavaList(List name).GetItem("0"), the
>> >> systemreturns me the value as "#0"(i.e. the index number preceded by
>> >> "#").
>> >> I tried using the "list_content" property through JavaWindow(Window
>> >> name).JavaList(List name).GetROProperty("list_**content"), the system
>> >> returns values like "null null". If three elements are there, then
>> >> three "null" values will be displayed.
>> >>
>> >> I am using licensed QTP 10.0 with Java Addin. my application is on
>> >> JavaSwing.
>> >>
>> >> Appreciate if you can provide any solution for this.
>> >>
>> >>
>> >> Regards,
>> >> Jagannath
>> >> >>
>> >
>>
>  --
> 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

Reply via email to