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

Explain the difference between gui map and gui map files?

778


What is the difference between gui map and gui map files?

786


wat is the d/b windows 95&98&xp?could anybody give reply ?

2057


what is the difference between toggle checkpoint and checkpoint?

4594


What is the purpose of a gui spy?

918


How to check property of specific icon is highlighted or not?

773


How do you clear a gui map files?

867


i this is priya speaking, any 1 tell me project detail for NETBANKING and HELTHCARE pls send to this E-MAIL ADDRESS; (priyadharshni2@yahoo.com)pls qik, thank u once agajn.

1806


what is qtp licence

1793


When would you use 'set_window' and when would you use 'win_activate'?

965


how can you explain your Real Estate Project in front of interviewer..? please step by step......

1368


How do you configure gui map?

909


How do you select multiple objects during merging the files?

889


How to break infinite loop?

855


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

1809