GeekInterview.com
  I am new, Sign me up!
 
GeekInterview.com  >  Interview Questions  >  Testing Tools  >  Winrunner
Go To First  |  Previous Question  |  Next Question 
 Winrunner  |  Question 97 of 464    Print  
What is the difference between script and compile module?
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 when it saves a module assigned a property value of “Compiled Module”.
c. By default, modules containing TSL code have a property value of "main". Main modules are called for execution from within other modules. Main modules are dynamically compiled into machine code only when WinRunner recognizes a "call" statement. Example of a call for the "app_init" script:
call cso_init();
call( "C:\MyAppFolder\" & "app_init" );
d. Compiled modules are loaded into memory to be referenced from TSL code in any module. Example of a load statement:
reload (“C:\MyAppFolder\" & "flt_lib");
or
load ("C:\MyAppFolder\" & "flt_lib");



  
Total Answers and Comments: 5 Last Update: March 21, 2006   
  
 Sponsored Links

 
 Best Rated Answer

No best answer available. Please pick the good answer available or submit your answer.
August 11, 2005 08:23:32   #1  
BLOP        

RE: What is the difference between script and compile module?
gud one answer
 
Is this answer useful? Yes | No
September 29, 2005 14:12:34   #2  
Priya        

RE: What is the difference between script and compile ...
Compiled over script:
Speed - because it is a compiled module it runs faster
Ease of coding call - no need to repetitively typing call_close
Memory management - less memory required for compiled

Script over compiled:
All statements work - specifically eval statments (they may not work in compiled function)
Variable definition - no need to define variables in script
No compiling before run - a change to the script does not need to be loaded to memory before a run during debugging.


 
Is this answer useful? Yes | No
September 29, 2005 14:16:01   #3  
Priya        

RE: What is the difference between script and compile ...
Compiled over script:
Speed - because it is a compiled module it runs faster
Ease of coding call - no need to repetitively typing call_close
Memory management - less memory required for compiled

Script over compiled:
All statements work - specifically eval statments (they may not work in compiled function)
Variable definition - no need to define variables in script
No compiling before run - a change to the script does not need to be loaded to memory before a run during debugging.


 
Is this answer useful? Yes | No
January 25, 2006 05:21:48   #4  
vamsi.mogaraju Member Since: January 2006   Contribution: 29    

RE: What is the difference between script and compile ...

When we are automating the test the test script is autmatically generated by the tool itself which contain all the function for that particular operation.

Compiled Module :-is a user set functions associated with the single driver script.


 
Is this answer useful? Yes | No
March 21, 2006 04:25:24   #5  
Ravichandran        

RE: What is the difference between script and compile ...

Script is a Executable File whereas Compile Module is used to store the Resuable Functions & it is not Executable.


 
Is this answer useful? Yes | No


 
Go To Top


 Sponsored Links

 
About Us -  Privacy Policy -  Terms and Conditions -  Contact -  Ask Question -  Propose Category -  Site Updates 

Copyright © 2005 - 2009 GeekInterview.com. All Rights Reserved

Page copy protected against web site content infringement by Copyscape