how you execute the function



how you execute the function..

Answer / 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

More WinRunner Interview Questions

What are the couple of web functions found in the function generator and what is the purpose of them?

1 Answers  


What is the use of gui map and what happens when gui map file get loaded?

0 Answers  


what is the TSL statement to find current systsem date?

2 Answers  


What is Diff. between Pause() ,report_msg() statements?

6 Answers  


What is meant by the logical name of the object?

6 Answers  


what is the winrunner framework?

1 Answers   Agile Software, GE,


Write test scripts on a scenario where you have to transfer data from one table to another.

0 Answers  


winrunner & QTP both are developed by mercury interactive,what is main difference between these two? Thanks in ADVANCE

3 Answers  


How to break infinite loop?

0 Answers  


How many Record Methods are there in Winrunner?

6 Answers   Accenture, Indicus Software,


what is the automation frame work ?

1 Answers   BeBo Technologies,


What r the recording methods in winrunner and wht r the uses and where do we use and how do we use? pls dont mention recording modes(context sensitive and analong)

2 Answers  


Categories