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 run a test case from a test script file?
Where is a testplan stored?
How to run all test cases in a testplan?
Want to lear from basic about silktest and how to write scripts. Please let me know if you know any website
What are the problems you faced while identifying an object in silk?
What is 4test?
What is silktest host?
How to run a test case from a testplan file?
How to specify a browser extension to a web application?
How to add objects of other pages to a test frame?
What is the standard flow of execution of a test case?
What is the segue testing methodology?
How to define values for a testplan attribute?
How to select a group of test cases in a testplan to run?
How to define an object verification in a test case?