A compiled module is a script containing a library of user-defined functions that you want to call frequently from other tests. When you load a compiled module, its functions are automatically compiled
Test script contains the executable file in WinRunner while Compiled Module is used to store reusable functions. Complied modules are not executable. b. WinRunner performs a pre-compilation automatically
Latest Answer : Script is a Executable File whereas Compile Module is used to store the Resuable Functions & it is not Executable. ...
A user-defined function has the following structure: [class] function name ([mode] parameter...) { declarations; statements; }b. The class of a function can be either static or public. A static function
The class of a function can be either static or public. b. A static function is available only to the test or module within which the function was defined. c. Once you execute a public function, it
auto: An auto variable can be declared only within a function and is local to that function. It exists only for as long as the function is running. A new copy of the variable is created each time
In order to access the functions in a compiled module you need to load the module. You can load it from within any test script using the load command; all tests will then be able to access the function
If you make changes in a module, you should reload it. The reload function removes a loaded module from memory and reloads it (combining the functions of unload and load). The syntax of the reload function
Latest Answer : The reload function removes a compiled module from memory, and then loads it again. In effect, reload combines the functions of unload and load.When you reload a module you can define the module type. The compiled module types are system and user. ...
Latest Answer : Change the script as "compiled module" from "main test" from test properties.and load that compiled module in the script where you want loading is nothing but compiled. ...
Latest Answer : load,reload,unload 3 steps ...