GUI crashes - menu bar is invisible and problems with popup windows
Hi all, I got problem with Ready API! 1.7. When I open it there are problems with showing content of popup windows and application menu bar is missing. In running log I see lot of similar exceptions (one of logs in attachment): java.lang.Error at javax.swing.UIDefaults.getUIError(UIDefaults.java:730) ... In GUI it results with something like below. You can see in the middle broken popup window with a question "Exit Ready! API?" and I don't have any chance to answer it. Additionally there is no menu bar so I can't access many functions and keyboard shortcuts also doesn't work (so I can't import projects, can't save, can't open existing one). Did anyone of you experienced something similar in the past? Is there any workaround? A friend of mine says it can be related to the Oracle SSO but I don't have any chance to disable it. Some background: Everything was OK up to the last week when I've removed from my machine all the JREs except 1.6.0.45 (I had 1.7.0.73, 1.8.0.87 and the newest was always set as system default one). I got a couple of JDKs. Anyway it shouldn't be a problem as I'm using Ready API distributed with own JRE. Env details: - JRE 1.6.0.45 as default at system level - JAVA_HOME = C:\Program Files\Java\jdk1.8.0_73 - JRE_HOME = C:\Program Files\Java\jdk1.8.0_73\jre - Windows 7 x64 - 16 GB RAM - Ready API 1.7 32b, distributed with own JRE Problem is the same for all Ready API 1.7 versions and combinations of variants: - x64 - 32b - with own JRE - without Command to run Ready API looks like: "C:\dev\ReadyAPI-1.7.0-win32\bin\..\jre\bin\java" -Xms128m -Xmx900m -XX:MinHeapFreeRatio=20 -XX:MaxHeapFreeRatio=40 -Dsoapui.properties=soapui.properties -Dgroovy.source.encoding=iso-8859-1 "-Dsoapui.home=C:\dev\ReadyAPI-1.7.0-win32\bin\\" -splash:ready-api-splash.png -Dsun.net.http.allowRestrictedHeaders=true -Dsoapui.ext.libraries="C:\dev\ReadyAPI-1.7.0-win32\bin\ext" -Dsoapui.ext.listeners="C:\dev\ReadyAPI-1.7.0-win32\bin\listeners" -Dsoapui.ext.actions="C:\dev\ReadyAPI-1.7.0-win32\bin\actions" -Djava.library.path="C:\dev\ReadyAPI-1.7.0-win32\bin\\" -Dwsi.dir="C:\dev\ReadyAPI-1.7.0-win32\bin\..\wsi-test-tools" -cp "C:\dev\ReadyAPI-1.7.0-win32\bin\ready-api-ui-1.7.0.jar;C:\dev\ReadyAPI-1.7.0-win32\bin\..\lib\*;C:\dev\ReadyAPI-1.7.0-win32\bin\..\.install4j\*" com.smartbear.ready.ui.ReadyApiMai1.5KViews0likes2CommentsUnable 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 Shah1.8KViews0likes4CommentsGetting the coordinates of Javax.Swing.Tree items
We have swing tree objects where the user drags an item from one tree to another tree. When this action gets recorded in Jscript it ends up with x, y coordinates like this: object. drag(132, 245, 55, 78) These statements are sensitive to screen resolution and the size of the application window. The issue is that I can locate the items in the tree using either the name of the item, e.g.,: Dest.ClickItem("null|end_of_the_road|Segment_1|Segment Field_8"); Or using the wItems e.g.,: Src.wItems.Item(0).Items.Item(0).Items.Item(12).Click(0); But what I eally want to know is where the item is located. Typically with objects I can use their top, height, and width properties and then replace the drags with a function that will calculate the drag coordinates at run time thus removing the issues of size and resolution. Does anyone know how to figure out the location on the screenof the node of a swing tree?Solved1.9KViews0likes2Comments