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 is the extension of gui map file?

0 Answers  


hi i am unable to do select the flight in the flight table like list_select_item ("Flight",v_Select_Flight); v_Select_Flight=19072 LON 08:00 AM LAX 10:00 AM AF $161.90 why it is happining pls clarify me doubt

1 Answers  


How should we create a compiled module? What is its importance?

1 Answers  


The Concatenation Operator in TSL is?

2 Answers   FCG,


What is the purpose of Wdiff utility?

1 Answers  






How can I check the font size and color using winrunner?

3 Answers  


Does WinRunner have recovery mechanism built in?

2 Answers  


Where to use the public or private functions in your script?

2 Answers  


write a function for addition of two numbers

1 Answers   Polaris,


What are the features r there in winrunner 7.6 over winrunner 7.01..B'cos Iam using Winrunner 7.01

2 Answers  


what is the default mode of executing TSL Script

4 Answers  


What is toogle breakpoints? How does it differ from break points?

0 Answers  


Categories