lib
Class FRM_lib
- public class FRM_lib
This library contains generic Framework-related functions.
"Generic" means that they are likely to be used in all contexts.
- Stereotype compiled module
- tsl FRM_lib.tsl
Method Summary |
int | FRM_Login(in table, in test, in idx, in mode) |
int | FRM_Main(in table, in test, in idx, in mode) Provides the possibility to chose an item from the main menu and toolbar. |
int | FRM_PopUp_Message(in table, in test, in idx, in mode) Handles the dynamic popup message dialog. |
int | FRM_Prolog(in table, in test, in idx, in mode) Ensures the initial state of the application. |
int | FRM_Prolog2(in table, in test, in idx, in mode) This is the short version of Prolog() with the difference that it does not attempt
to log in. |
FRM_Login
public int FRM_Login(in table, in test, in idx, in mode)
- See Also:
- GUI, Excel
FRM_Main
public int FRM_Main(in table, in test, in idx, in mode)
- Provides the possibility to chose an item from the main menu and toolbar.
- See Also:
- GUI, Excel
FRM_PopUp_Message
public int FRM_PopUp_Message(in table, in test, in idx, in mode)
- Handles the dynamic popup message dialog. The tester can define three deisions: whether
the dialog was expected or not, what message should be desplayed and what button to
use to close the dialog. Different types of message dialogs are handled with the same
function, e.g. OK, Yes/No, OK/Cancel. You have to make sure that the GUI-map is
propeprly configured (not a trivial task).
FRM_Prolog
public int FRM_Prolog(in table, in test, in idx, in mode)
- Ensures the initial state of the application. This function is the backbone of the
robustness startegy for the whole test suite. It will close all unwanted windows if necesary.
It will (re)invoke the AUT if necessary and perform the login. By the exit of this function
we can assume that the main application window is displayed. This is the starting point
for all tests.
- See Also:
- GUI, Excel
FRM_Prolog2
public int FRM_Prolog2(in table, in test, in idx, in mode)
- This is the short version of Prolog() with the difference that it does not attempt
to log in. It ensures that the Login window is open instead of the main AUT window.
This was done so that we can test the login dialog on its own.
- See Also:
- Excel