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


Please Help Members By Posting Answers For Below Questions

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

2825


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

2042


can any one please tell me the full form of .g.t in silktest datadriven method

2584


What is 4test?

596


What is multi-tagging?

608






What are the important aspects of a test case?

567


How to select a group of test cases in a testplan to run?

552


In SilkTest we have a function Except Log which displays the path of the error occured in a Script.In QTP do we have any function like that?

2061


Want to lear from basic about silktest and how to write scripts. Please let me know if you know any website

2616


How to define new testplan attributes?

520


What is silktest host?

585


What is the segue testing methodology?

620


What is a silktest testplan?

616


What is silktest agent?

583


How to record a test case?

596