Label: swing

Content with label swing in Knowledge Base
Related Labels: object, windows, rcp, tk, swt, window, naming, mfc, java, awt, qt, minimize, toolkit, web, maximize

Page: Article - Explicitly Naming Objects
Table of Contents Why Should I Explicitly Name Objects? Squish identifies application objects by their most stable properties to make tests as robust and reliable as possible. However, as an application is developed and maintained, existing widgets get moved around ...
Other labels: naming, object, toolkit, qt, java, awt, swt, rcp
Page: Example - Maximizing, minimizing Windows, Frames (AWT, Swing)
Example Here is an example of how to maximize and minimize javax.swing.JFrame instances: def main(): #... windowName = " " window = waitForObject(windowName) test.log("Setting maximized...") window.setExtendedState(javaawtFrame.MAXIMIZEDBOTH) snooze(1) test.log("Setting normal...") window.setExtendedState(javaawtFrame.NORMAL) snooze(1) test.log ...
Other labels: maximize, window, minimize, java, awt