tiffany_ip
12 years agoOccasional Contributor
How to get coordinates of items (non-objects) in Lists
Hello,
I need to drag and drop items for a Java Swing List (JList) and it recognizes when I click the item as shown below:
backgroundActionLibrary.ClickItem("Unlatch / Acknowledge all");
I do not know if there is a way to get the coordinates of the item (as itemX and itemY) in that backgroundActionLibrary so I can drag drop.
Also I'm dragging it into a JTable where each cell contains a JList. I need the coordinates of that list object as toX and toY. Is there a way for TestComplete to do this???
backgroundActionLibrary.Drag(itemX, itemY, toX, toY);
I need to drag and drop items for a Java Swing List (JList) and it recognizes when I click the item as shown below:
backgroundActionLibrary.ClickItem("Unlatch / Acknowledge all");
I do not know if there is a way to get the coordinates of the item (as itemX and itemY) in that backgroundActionLibrary so I can drag drop.
Also I'm dragging it into a JTable where each cell contains a JList. I need the coordinates of that list object as toX and toY. Is there a way for TestComplete to do this???
backgroundActionLibrary.Drag(itemX, itemY, toX, toY);