Download Paper - STS
Transcript
4 The Translator Sequence This category contains all macros that are necessary to create a sequence and to control in which sequences variables and steps shall be saved. sequence € BuildSequence € Sequence name € Sequence type ; Creates a new sequence with the name Sequence Name. The Sequence type variable solely creates a sequence description for aesthetic purposes that has no effect on the procedure. sequence € BuildChapter € Chapter name ; Creates a new chapter. A chapter is a specific sequence that is called from the start sequence automatically (MainSequence). A chapter holds a complete testchapter. Chapter are independent from one another and create entry points of the test program. Before every test run one can decide which test chapter should be launched. sequence € SetSequence € Sequence name ; Sets the global variable FileGlobals.ActualSequence (which contains the reference of the current sequence) to the sequence with the name Sequence Name. All subsequent steps and variables are therefore automatically written into this sequence. sequence € RestSequence ; Sets the global variable FileGlobals.ActualSequence back to the MainSequence. Variable This category contains all makros for the creation of variables. variable € Names € Type € Location € Initials ; Declares and initializes variables. Names is a comma seperated list with variable names and Initials is a comma seperated list with their initial values. Types states the kind of variable and Location states the storage location. So far, these types are implemented: • number • string • container Also, variables for custom types can be forwarded. storage locations can be: • Locals • Inputparameter • Outputparameter • FileGlobals • Exchange 45