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 to Write user defined functions?

Answer Posted / kkamalay

Hi Padmaja,
with silktest you can write user defined functions as same
as c, c++

<returntype> <functionName> (Arguments list)
--------------
------------
statements
return

eg:1
Integer simpleAdd(Integer a, Integer b)
Integer c=0
c=a+b
return c

eg: 2

Void PrintStatement(String msg)
Print(msg)

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How to open an existing silktest project?

1018


How to add objects of other pages to a test frame?

1039


How record a test case into a testplan automatically?

960


how to pass TDS intery in tally?

2619


How to specify a browser extension to a web application?

1096


What are the problems you faced while identifying an object in silk?

2419


What are the important aspects of a test case?

994


How load testing can be done with silk international?

974


How to download latest silk test trial version?

1115


How to run a test case from a test script file?

1029


What is silktest project?

919


What is defaultbasestate?

1064


What is stored in a test frame?

1030


What is the syntax of ui object identifier used by dom extension?

1050


What is 4test?

971