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 create a new silktest project?

1097


What is multi-tagging?

1161


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

2518


How to create a test frame?

1142


How to run a test case from a testplan file?

1176


What is the vo browser extension?

1124


Is there any way of passing values at runtime? Like scanf does in C.

2785


can any one please tell me the full form of .g.t in silktest datadriven method

3117


How load testing can be done with silk international?

1052


What is the dom browser extension?

1205


What is a silktest testplan?

1107


How to define an object verification in a test case?

1121


How to define values for a testplan attribute?

1202


How to define new testplan attributes?

986


How dom browser extension identify a web application ui object?

1282