Forum Discussion
Thanks for your reply.
In that case, System doesn't get any value between separator so I can't get the value.
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(|||||||||||....)
- tristaanogre8 years agoEsteemed Contributor
It could also be that the items aren't rendering as text. For example, if the item list contains a list of images or objects, your wItemList will not show the objects but just the text separators. This does not mean the objects don't exist, just that they don't render out as text.
So, if you call wItem(0), what does this return? That SHOULD be the first item in your list.
What does the list look like on screen? Can you see the individual objects themselves? What do they render as in your AUT?- tcsalex8 years agoOccasional Contributor
Hi,
when I use wItem(0) or any values in wItem, I am getting the null value as result. Object exist in screen but I couldn't get it in code.
The list UI render by Java Swing List. I can able to select an individual row and scroll down/ up.
- tristaanogre8 years agoEsteemed Contributor
Can you show us what this thing looks like on screen?
Again... note that wItemList has a WHOLE bunch of list separators but no actual data in between.... this means that the list is there... but the individual items are not text objects....so.... what are they?
It might be that you need to go with some other methods other than wItemList or wItem. See if there is an "Items" property on your component or something else that has the list of objects.
Related Content
- 15 years ago
- 15 years ago
Recent Discussions
- 2 days ago
- 2 days ago
- 5 days ago