146k views
3 votes
if a test configuration parameter is set on the testcase level and the same one is set on an executionlist, which one is used for the testcase when the executionlist is run?

2 Answers

4 votes

Final answer:

The value set on the executionlist takes precedence over the value set on the testcase level.

Step-by-step explanation:

When a test configuration parameter is set on the testcase level and the same one is set on an executionlist, the value set on the executionlist will be used for the testcase when the executionlist is run.

For example, let's say there is a test configuration parameter called 'timeout' and it is set to 5 seconds on the testcase level. However, on an executionlist, the same parameter is set to 10 seconds. When the executionlist is run, the 'timeout' value of 10 seconds will be used for the testcase.

In summary, the value set on the executionlist takes precedence over the value set on the testcase level.

User Niche
by
7.9k points
4 votes

if a test configuration parameter is set on the testcase level and the same one is set on an executionlist, The test configuration parameter set on the testcase level will be used for the testcase when the executionlist is run.

The above is because test configuration parameters are inherited hierarchically, meaning that values set at a lower level in the hierarchy override values set at a higher level.

In this case, the testcase level is lower in the hierarchy than the executionlist level. Therefore, the value set on the testcase level will take precedence. This behavior allows you to override default test configuration parameter values for specific testcases without affecting other testcases.

User Salexch
by
9.1k points

No related questions found