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 download latest silk test trial version?

1174


What are the important aspects of a test case?

1039


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

1099


What is silktest project?

986


What is the segue testing methodology?

1131


Can silktest run on mac?

1072


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

1093


How to run all test cases in a testplan?

1142


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

2474


How dom browser extension identify a web application ui object?

1219


What is 4test?

1041


How to specify a browser extension to a web application?

1167


How to define an object verification in a test case?

1078


What is the standard flow of execution of a test case?

1052


Where are the testplan attributes stored?

987