Label: awt

Content with label awt in Knowledge Base
Related Labels: object, windows, rcp, tk, window, swt, swing, naming, mfc, java, 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, swing, 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, swing