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
What is the segue testing methodology?
What are the important aspects of a test case?
How to test your defaultbasestate?
What are testplan attributes?
How to open an existing silktest project?
How to record a test case?
What is silktest agent?
How to create a new silktest project?
What is the standard flow of execution of a test case?
What is the vo browser extension?
What is 4test?
Can silktest run on mac?
What are the default testplan attributes?
how to pass TDS intery in tally?
can we test the application by inserting checkpoints using silktest as we do in qtp and winrunner and also what are the automation frameworks in silktest