In for test there are three pass modes for function
arguments. They are rarely used since pass mode always
default to the most used one. Pls name them and specify
which one is a default?
Answer Posted / pooja
The following table describes the pass modes for function
arguments.
Pass mode
in : The default. Specifies an input argument, used when
you only want to get the argument's value. Any changes made
to this argument are not reflected outside of the function.
out : Specifies an output argument, used when you only
want to set the argument's value. This argument is modified
in a function and the new value is passed back out of the
function when the function ends.
inout : Specifies an input and output argument, used when
you want to get the argument's current value and you want
the function to change that value and pass the new value
out.
| Is This Answer Correct ? | 2 Yes | 0 No |
Post New Answer View All Answers
How to create and edit a testplan?
How load testing can be done with silk international?
How to specify a browser extension to a web application?
Is there any way of passing values at runtime? Like scanf does in C.
What is 4test?
How to define new testplan attributes?
How to include a test case into a testplan?
What is the standard flow of execution of a test case?
How to create a new silktest project?
How to download latest silk test trial version?
What is the syntax of ui object identifier used by dom extension?
How to record a test case?
How to assign attribute values to test cases?
how to pass TDS intery in tally?
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