· Mailing List
Assert Window Showing
This allows you to make sure a window (this includes dialogs and JOptionPane's) is showing. After you have set your test class, menu-click on the script. Select Assert->WindowShowing. The placement of the assertion will be after the item currently selected.
A dialog will appear, and you can enter either the window title or ID. The ID is determined by the window's order of appearance. The first is given ID 0, the second 1, and so on.
Copyright 2002 Matthew Pekar All rights reserved.