Write and explain compile module?

Showing Answers 1 - 7 of 7 Answers

venu

  • Mar 30th, 2005
 

compile module is a library of user defined functions i.e. user can define his functions and store them in compile module and use these functions inscripting.

  Was this answer useful?  Yes

NMr

  • Apr 2nd, 2005
 

compile module conatain user defined function but it not excutable.once the compiled module call all function are loded to memory you can user with out any intraption

  Was this answer useful?  Yes

JKodadhala

  • Apr 5th, 2005
 

A Compiled Module is a script containing a library of user-defined funtions that yuo want to call from other scripts or test runs. 
 
When you load a compiled module , its functionas are automatically compiled and remain in memory. 
test run can call those functions directly from with in test. 
 
Important note is that this script should be saved as compiled module. 
 
Other benefits by using Compiled module. 
 
1)You can declare public variables and these variables can be used any where in test where this compiled module 
has been called. 
 
2)Create variables which has values of  
A)lengthy file name paths (network drive file path or local drive file path) 
B)Database connection strings 
C)Browser URLs 
 
use these variables in test scripts where ever you want. 
the main advantage using this method is when file somehow replaced different location in system , you donot need to 
change the file path in each script.  
 
3)you can declare winrunner default message or custom error messages. 
example 
public const E_NOT_OPEN = -20011;  
public const E_INVALID_INPUT = -20005; 
 
4)Create public Arrays so that these arrays can be called any script. 
 

  Was this answer useful?  Yes

Laxmikant

  • Jul 13th, 2005
 

Its a nice Article  
I got more info abt compiled module

  Was this answer useful?  Yes

Amit

  • Sep 5th, 2005
 

Its really very good ................

  Was this answer useful?  Yes

naveen

  • Sep 20th, 2006
 

Can we call one complile module function to one another complile module.

is this possible in winrunner?

  Was this answer useful?  Yes

Guest

  • Jan 8th, 2007
 

A Compiled module is a library of user defined functions that we call frequently from within other tests. These functions are pre compiled and remains in memory.

Regards

Titus

  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions