kavansays
10 years agoContributor
Unable to access Swing objects
Hello Folks,
We are not able to access below Swing object(Table), no methods are available to access the Table row/column or even cell !!
Sys.Process("javaw").SwingObject("UIServices$2", "TradeBlade: User: TUTFUS31(kevinwise): raw://170.198.112.32:5463", 0).SwingObject("JRootPane", "", 0).SwingObject("null.layeredPane").SwingObject("null.contentPane").SwingObject("JDesktopPane", "", 0).SwingObject("JInternalFrame", "RFQ Manager", 0).SwingObject("JRootPane", "", 0).SwingObject("null.layeredPane").SwingObject("null.contentPane").SwingObject("JideScrollPane", "", 0).SwingObject("JViewport", "", 0).SwingObject("CollapsiblePanes", "", 0).SwingObject("JideSplitPane", "", 0).SwingObject("JPanel", "", 0).SwingObject("JideSplitPane", "", 0).SwingObject("JPanel", "", 0).SwingObject("PreviewQuoteRequestPanel", "", 0).SwingObject("JViewport", "", 0).SwingObject("FXOPreviewQuoteRequestTable", "", 0)
* While recording this table in testcomplete it creates below code where it only clicks on the object instead of accessing the methods to select cell or operate cell.
Set FXOPreviewQuoteRequestTable = internalFrame.PreviewQuoteRequestPanel.Viewport.FXOPreviewQuoteRequestTable Call FXOPreviewQuoteRequestTable.Click(21, 8) Call FXOPreviewQuoteRequestTable.Click(307, 7) Call FXOPreviewQuoteRequestTable.Click(615, 60) Call javaw.dialog03.RootPane.null_layeredPane.null_contentPane.RFQCreateQuotePanel.Panel.JideButton2.Click(18, 14)
If anyone have faced this issue, please share the methods/way to access these objects.
Thanks in Advance..
Cheers !!
Kavan Shah