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?
Answers were Sorted based on User's Feedback
Answer / 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 |
Answer / jinsha
pass modes are in, out and inout. the default is in
| Is This Answer Correct ? | 0 Yes | 0 No |
How to record a test case?
Can silktest switch browsers automatically?
What are the default testplan attributes?
What is present in review report .
What is a silktest testplan?
what is DON in SILK?
Define Silk Testing.
procedure or steps to do silk test? clearly
What is silktest host?
what is the use of exception handling in Silk Test and how to use the commands?
How to run a test case from a test script file?
I'm involved in automation using silk test of an swing application running in a browser. There is a window whose name is a dynamic. i.e based on the input(eg: some filename) the window name keeps on changing. I need to capture the window name for every run of silk test case for different input filenames. I'm aware of GetName() in SilkTest, but its not working for me. Can anybody suggest me any logic to achieve this using silktest?