how you execute the function

Answer Posted / swarup

Wat, i understood from ur Question is? How to execute a
function right?

First step: Create a function Like

public function add( in a, in b, out c)
{
c=a+b;
printf(c);
}

2nd Step: Convert the File type to Complie module (File ->
Test properties -> General tab -> conver the test type to
Complie module)

3rd step: Save and write the load statement for the file and
store at start up script to activate this function parmanently.

4th step: call the function by the fun name with paramenters
{add(2,3)} in any file script.

This is the method how the functions are designed and used in WR

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How do you make the configuration and mappings permanent?

628


When do you feel you need to modify the logical name?

647


Explain difference between winrunner and test director?

642


What happens when the gui map file get loaded?

671


by useing qtp where the maximum people feeling difficult

1398






The title of the window consists of date and time.What is the regular expression to recognize the window as unique?

1487


How do you find out which is the start up file in winrunner?

602


What are the three modes of running the scripts?

569


Dear all i am new to testing my company using vb.net and we are developing web based application. How i can test those application with winrunner if any one have some good tutorial or link kindly provide thanks u.

1561


What is the purpose of different record methods?

664


What is the purpose of regexp_msw_class property?

675


What do you mean by the logical name of the object.

644


what is risk?

2095


Have you used winrunner in your project?

600


What actually happens when you load GUI map?

759