|Top Previous Next|
Every time you record, the script recorder updates your test script. Be cautious about what changes you make to the test script; some changes could be lost if the recorder is re-run (see Usage).
The test script path can be found in the Settings Dialog under Settings > ScriptPath. Unless you specify otherwise, the test script is named testname.js (where testname is whatever you named your test).
Note that the Script Recorder only has knowledge of four functions and two data structures:
You can make changes to the body of any of the above functions, and you can alter the initialization of g_load_libraries and saved_script_objects. All other changes are unsafe.
During Recording, the Script Recorder:
For example, suppose that you have the following code inside your script file:
//External comment // UNSAFE: will be removed by recorder
/*Another comment*/ // UNSAFE
var external_var; // UNSAFE
var external_var; //SAFE: defines a local variable for function �Test�
global_var=value; //SAFE: updates (or defines) a global variable
//SAFE everything inside this function will be kept intact after recording
The parts of code marked UNSAFE will be deleted by the script recorder.