Answer Posted / jinsha
First we have to define the function and then we have to
call the function.
Eg:
to define a function
integer biger(integer a,integer b)
if (a>b)
return a
else
return b
save the file with .inc extension as x.inc
Now to call a function
Use x.inc
test case userfn1()
int a=10
int b=5
int c=biger(a,b)
print("{c}is greater")
| Is This Answer Correct ? | 2 Yes | 0 No |
Post New Answer View All Answers
How to create and edit a testplan?
How to assign attribute values to test cases?
Can silktest run on mac?
How to add objects of other pages to a test frame?
Where are the testplan attributes stored?
How to run all test cases in a testplan?
What is the segue testing methodology?
How to create group and sub group descriptions in a testplan?
Where is a testplan stored?
What is the dom browser extension?
how to pass TDS intery in tally?
What is the syntax of ui object identifier used by dom extension?
Hi All, An newbiee to silk test tool. I wanted to write a function which checks the browser type installed in the local machine & then based on the browser type test case should run. I tried little bit writing the function : Void Func_ValidateBrowserType() Window myWin myWin = Browser.GetRealBrowser () print (myWin) Any help please.. Thanks, V
What is the standard flow of execution of a test case?
What is silktest project?