| Documentation produced with EMOS WrDoc and Together® | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
The purpose of a step driver is to interpret the corresponding "Teststep" cell of each test case. With "interpreting" we mean the process of splitting the cell (Teststep) into individual steps and individually processing each of them either by a built-in FRM functionality (e.g. LNK or EXE steps) or by calling the specialised function. This scripts implements all the necessary interractions with the emos_FRM_STP_lib and very carefully handles the return code in order to produce correct WinRunner test results. All you need to do is to load the apropriate libraries and handle the individual keywords (step names).
NOTE: Do not rename the function names because tey are called from the generic EMOS test driver
REQUIREMENTS/PREREQUISITES: The rest of the test suite should be developed according to FRM-principles in order to make any use of this script.
RETURN VALUE:
Method Summary | |
int | AUT_DRV_call_block(in tid, in test, in step, inout mode) Implements the test keywords, i.e. links the names of the test blocks with te corresponding block functions. |
int | AUT_DRV_init_steps(in tid, in test) Initialises the test steps. |
int | AUT_DRV_load(in tid, in test) Load the necessary LIBs & GUIs here NOTE: You should use FRM_load_XXX() instead of ordinry load(). |
int | AUT_DRV_report(in tid, in test) Implements the test reporting logic. |
Method Detail |
public int AUT_DRV_call_block(in tid, in test, in step, inout mode)
public int AUT_DRV_init_steps(in tid, in test)
NOTE: Use the third parameter to customise the name of the Testsequence row.
public int AUT_DRV_load(in tid, in test)
NOTE: You should use FRM_load_XXX() instead of ordinry load(). This way you enable EMOS Framework to manage the libs and automatically unload them when they are not needed any more.
public int AUT_DRV_report(in tid, in test)
| Documentation produced with EMOS WrDoc and Together® | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |