How to create Compile Module. Please give me right steps for that because I'm so confused with Compile Module.

Showing Answers 1 - 13 of 13 Answers

Abhisek

  • Aug 21st, 2006
 

Just write the steps in a new test page.

then go to the File menu.Check there is an option for test properties.Click on to that.Now change the test property from Main Test  to Compiled Test.

Now you can call this compiled test using call() function where ever you require that compiled one.

  Was this answer useful?  Yes

ramakrishna

  • Aug 22nd, 2006
 

to invoke user defined functions in our test scripts, we should maintain user defined functions .exe forms in RAM.

we can load the user defined functions in ram by using the following syntax.

syn: load(compile module name, 0/1,0/1);

0   ->  user defined

1   -> system defined

0   -> path appears

1   -> path hided

  Was this answer useful?  Yes

Hema

  • Aug 24th, 2006
 

Creating a compiled module is similar to creating a regular test script.To create a compiled module:1 Choose File > Open to open a new test.2 Write the user-defined functions.3 Choose File > Test Properties and click the General tab.4 In the Test Type list, choose ?Compiled Module? and then click OK.rogramming with TSL5 Choose File > Save.Save your modules in a location that is readily available to all your tests. When amodule is loaded, WinRunner locates it according to the search path you define.6 Compile the module using the load function.

  Was this answer useful?  Yes

anand

  • Oct 2nd, 2006
 

hii thx for giving nice answer

tell me TSL fn to find parent path of WR pls

my mail id is yoga.kanumuri @ gmail.com

  Was this answer useful?  Yes

For creating compile module ,From file menu goto test properties ,it will open test properties window there select script type as compile module.

Use of compile module is suppose if you save functions using this compile ,simple by using load command you can load that function and execute it also.

Suppose that compile module contains more than one function also ,by using single load command you can access all the function which are stored in that compile module,this is the major advantage of compile module.

  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