How to load a function, If the module is not in the search path?

Questions by prasu   answers by prasu

Showing Answers 1 - 3 of 3 Answers

John Amirtham

  • Feb 14th, 2006
 

Use Load("path for the function", 0,0)

  Was this answer useful?  Yes

MOSES ARNOLD

  • Mar 29th, 2006
 

John,

        you can place the test script in the win runner start up script. function will be automatically loaded when u start the win runner.

Regards,

Moses Arnold

fel free to call 09880939448( from out side karnataka)

  Was this answer useful?  Yes

Senthil Kumar P

  • Sep 14th, 2006
 

You can do it in two ways

 

1)      Go to Tools-> general options->folders->

 

There one ?+? button is available.?+? represents the word ?Add to search path?

 

If click that button, dialog opens.

 

It displays folders available in system.

 

Suppose you store scripts in my documents folder.

You have to select that folder and click ok.

 

Now your selected path is displayed in text box below ?+ ?button

 

Suppose your function name is Login

 

You can simply give

 

Load (?login?);

 

 

 

2)      Other wise give full path name of the script in load function.

 

 Load (?C:\Documents and Settings\username \My Documents\login?);

 

Note here we have to give path separator as ?\? instead of ?? because ?? has different meaning in winrunner

 

 

  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