FRM
v1.4.2

frm.tpl.scripts.drv
Script drv1_lib

CompiledModule
  |
  +--drv1_lib

This main test implements a "dummy" step driver which you may use to implement the real one. 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 "dummy" template 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:

Tsl
drv1_lib.tsl

Function Summary
 String 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.
 String AUT_DRV_init_steps(in tid, in test)
          Initialises the test steps.
 String AUT_DRV_load(in tid, in test)
          Load the necessary LIBs & GUIs here NOTE: You should use FRM_load_XXX() instead of ordinry load().
 String AUT_DRV_report(in tid, in test)
          Implements the test reporting logic.
 

Function Detail

AUT_DRV_report

public String AUT_DRV_report(in tid,
                             in test)
Implements the test reporting logic.


AUT_DRV_load

public String AUT_DRV_load(in tid,
                           in test)
Load the necessary LIBs & GUIs here

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.


AUT_DRV_init_steps

public String AUT_DRV_init_steps(in tid,
                                 in test)
Initialises the test steps.

NOTE: Use the third parameter to customise the name of the Testsequence row.


AUT_DRV_call_block

public String 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.


FRM
v1.4.2