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 run a test case from a test script file?

1052


How to record a test case?

1003


What is silktest agent?

979


How to run a test case from a testplan file?

1076


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

1063


How dom browser extension identify a web application ui object?

1144


How to run all test cases in a testplan?

1088


how to pass TDS intery in tally?

2628


How to assign attribute values to test cases?

1052


What is multi-tagging?

1063


How to include a test case into a testplan?

970


How to define an object verification in a test case?

1031


What is the segue testing methodology?

1095


How record a test case into a testplan automatically?

971


Can silktest switch browsers automatically?

1009