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 difference between testlog and testdirector? thank u

3 Answers   Verizon,


soft key for virtual object wizard ?

0 Answers   Logica CMG,


hye.when we do recording,objects r indentified by GUI map editor.and respective script is generated.But my problem is that in GUI map editor objects r not stored-not their description.I tried 'LEARN' option in GUI map,even it is not working.So that i can't run my script.Tell me solution Thank you.

2 Answers  


My husband had stampped h1b visa and was valid for another 1year. problm is that he lost his pasport in travelling and we got new one in tatkal scheme. and so we applied for restamping and my dependent (h4)visa. As per immigration team petition will be the same only stamping has to b done.. what questions will they ask and what are the chances to get it aproved?? pl reply

1 Answers  


How many types of tests can u create in winrunner?

2 Answers   Covansys,


what is the difference between unit testing,integration testing and interface testing?

4 Answers  


How to test Fonts and its size thru "Font Expert" in Win Runner.

0 Answers  


Explain the synchronization points?

0 Answers  


ca n u give the eample for low severity & high priority in ur Internet Banking project

2 Answers   Agile Software,


what load_dll in winrunner

2 Answers   Sonata,


What is the different between GUI map and GUI map files?

1 Answers   Ordain Solutions,


what is mean block box and white box testing. pls give exact example in the question

2 Answers   HCL,


Categories