I have been emailing support team for a couple of weeks and no one is replying my email. I have screen shot and everything in the email too. Any ways, here is the information.
Hi,
I have a java swing grid object which contains a lot of logs. When I look at the object with object spy, the only Action I found is clicking with x and y coordinates. I do not see ClickItem() menthod in the object the method windows. I have solve the problem for selecting the right row by using setRowSelectionInterval(nRowIndex,nRowIndex) method. But if I need to right click the row to bring up a pop up menu, how do I get the x, y coordinates of the row or is there a smarter way to do that action?
I have tried
var x = Aliases.javaw.OrderBook.RootPane.null_layeredPane.null_contentPane.StatusFrame.Container.tabs.Order_Book.Panel.Panel.Panel.SPLITTER.StatusGridPanel.WorkingOrders.ScrollPane.Viewport.MainTable.;
var y = Aliases.javaw.OrderBook.RootPane.null_layeredPane.null_contentPane.StatusFrame.Container.tabs.Order_Book.Panel.Panel.Panel.SPLITTER.StatusGridPanel.WorkingOrders.ScrollPane.Viewport.MainTable.getColumnModel().getSelectionModel().getAnchorSelectionIndex();
But doesn’t seem to work. How can I click with the mouse to invoke functions?
Anyone looking in to this? Can it be solve?
From: Simon Chan
Sent: Tuesday, June 14, 2011 5:45 PM
To: 'AutomatedQA Support'
Subject: RE: Select a row on MainTable
Hi,
I was able to select the row with setRowSelectionInterval(nRowIndex,nRowIndex)
But once I select the row, how do I get the X/Y coordinates and pass it to Click() or DblClick() functions to invoke some special operation in my application?
Thanks,
Simon
From: Simon Chan
Sent: Tuesday, June 14, 2011 12:10 PM
To: 'AutomatedQA Support'
Subject: Select a row on MainTable
Hi,
I want to select one of the row on the main table but I do not see any method from the object spy that can help me select the row. Can you tell me how I can do that?
Normally there will be a clickItem but it doesn’t seem that this object allow this action?
Click will just the x and y position which will be change depends on what row I want to click right? Any way I can select a specific row here?