Printer FriendlyEmail Article Link

How to use “Advance Merging Behavior” setting of parameters?

Answer

To determine parameter values to use at runtime, a test case can inherit nodes and parameters from a testbed. A child test case can inherit nodes and parameters from a testbed.

 By default, parameters with different names are inherited. The advanced mode settings handle special situations where the parameter names in the testbed and the test case are the same.

 For example, below screenshot shows the testbed parameters inherited into parameters tab of testcase during execution which can be achieved by checking the check box "Show the parameter values that will be used for execution" and with default settings of “Advanced merging Behavior” fields (Merge alignment to "Inherit choice from parent; if no parent, add if missing/multiple" & Merge Value Update setting to "Inherit choice from parent; if no parent, update only if missing").

 Here the testbed is the parent of the test case. By default, test cases inherit parameters settings from testbed and parameters with different names are inherited.

 Other options available under Merge alignment are

·         Always add

·         Use if present

·         Add if missing/multiple

·         Use if present but do not add if missing

Other options available under Merge Value Update are

·          Inherit choice from parent; if no parent,

·          update only if missing

·          Do not update value 

·         Update value only if missing

·          Update value only if present

·          Always update value


Product : Velocity Portfolio,Velocity iTest