Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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?

1041


hi this is uday iam trying for testing job with 3+ yrs of exp if u have qtp faqs materil plz send me thanks in advance

2033


What happens when the gui map file get loaded?

1184


What do you verify with the database check point custom and what command it generates, explain syntax?

1091


How do you identify which files are loaded in the gui map?

1131


Explain the winrunner testing process?

1060


How to break infinite loop?

1082


What is tsl? What 4gl is it similar too?

1220


Explain difference between winrunner and test director?

1090


soft key for virtual object wizard ?

2360


write a compilemodule function for loginscreen.

2087


How to force wr to learn the sub-items on a menu?

972


How to have winrunner insert yesterdays date into a field in the application?

1023


what is the use of generate script that is avaliable 3 places(file settings, tools, object identification)

2455


How do you unload the GUI map?

1191