Overview | Package | Class | Use | Tree | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## FRM.TPL.Scripts.DRV
Class drv1

public class drv1

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). You should be aware of the fact that this scripts typically call themselves recursively and very much care is necessary in order to properly propagate the return code (i.e. indication of failure) up the call chain. Therefore

DO NOT MODIFY THE CODE OUTSIDE OF DESIGNATED AREAS UNLESS

- you know what you are doing,
- you have to fix a bug (in this case please let us know) or
- you are prepared to live with the consequences.

REQUIREMENTS/PREREQUISITES: The rest of the test suite should be developed according to FRM-principles in order to make any use of this script.

PARAMETERS:

- table: the name of the opened data table
- test: the name of the individual test case
- reset_rc: flag indicating whether this is the first or a recursive invocation of this script.

RETURN VALUE:

- 0: successfull completion
- >0: unsuccessfull comletion

Stereotype main test

Overview | Package | Class | Use | Tree | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD