FRM
v1.4.2

frm.tpl.scripts
Script startup

MainTest
  |
  +--startup

Make this script your startup test and place here all you allways need. If you place your complete test suite under this directory you probably won't need much more than what is already defined here.

Tsl
startup.tsl

Function Summary
protected  String strip_trail(in str, in zap)
          Trims given characters from the end of the given string.
 

Function Detail

strip_trail

protected String strip_trail(in str,
                             in zap)
Trims given characters from the end of the given string. Use this function to ensure that getvar("curr_dir") allways returns the same value. Sometimes it returns the path ended with backslash. In other occasions (e.g. re-run the same test) it returns the same path without the backslash.

Parameters:
str - (in) string to be right-trimmed
zap - (in) (optional) string to be trimmed [default: \]
Returns:
the trimmed string

FRM
v1.4.2