Forum Discussion

tcsalex's avatar
tcsalex
Occasional Contributor
8 years ago

wItemList(|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||)

Hi,

 

I am trying to automate the JAVA Swing application. when I try to get the value of Swing list, I couldn't get the value. always I am getting the null value. I attached the object browser screen too. Can anyone help to get value from the Swing list when wItemlist has ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||| ? 

 

 

  • shankar_r's avatar
    shankar_r
    Community Hero

    Hi,

     

    Actually, (|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||) is not an value.

     

    If the list has value then it will be displayed like,

     

    item1|item2|item3|..............|itemn

     

    What you seeing in your Item List | isseparator (as you see in wListSeparator)

     

    So, if you getting null then that is expected. Hope it clarifies your questions.

    • tcsalex's avatar
      tcsalex
      Occasional Contributor

      Thanks for your reply. 

       

      In that case,  System doesn't get any value between separator so I can't get the value. 

      • shankar_r's avatar
        shankar_r
        Community Hero

        If AUT doesn't have any value then wItemList will display empty.

        If AUT doesn't have value for each item then it will get display as wItemList(|||||||||||....)