tiffany_ip
13 years agoOccasional Contributor
Coordinates and Items (Non-Objects)
Hello,
I have a listbox (Java Swing ListBox - JList) that contains several items (which are not objects). The only way that I could reach these items is by index. Even though they have text in the application - it shows up as Null in the Object Name Mapping for its caption/text/string properties. Now I have no choice but to select them by index, but the biggest problem is that I need to use Drag (for drag drop) or MouseUp MouseDown functions.
I need the TC to drag drop the items at the appropriate coordinates of each item and I got "undefined" for both 'Listbox.Item(index).Top' or .Left properties.
I'm not sure what else I can do now... :( since Drag or MouseDown require coordinates. I even tried Name Mapping to find child objects, but since they're not objects, it doesn't find them. Item count works properly FYI so it knows there are items.
Please help!
- Stressed Intern
I have a listbox (Java Swing ListBox - JList) that contains several items (which are not objects). The only way that I could reach these items is by index. Even though they have text in the application - it shows up as Null in the Object Name Mapping for its caption/text/string properties. Now I have no choice but to select them by index, but the biggest problem is that I need to use Drag (for drag drop) or MouseUp MouseDown functions.
I need the TC to drag drop the items at the appropriate coordinates of each item and I got "undefined" for both 'Listbox.Item(index).Top' or .Left properties.
I'm not sure what else I can do now... :( since Drag or MouseDown require coordinates. I even tried Name Mapping to find child objects, but since they're not objects, it doesn't find them. Item count works properly FYI so it knows there are items.
Please help!
- Stressed Intern