SOFTWARE ENGINEERING

SOFTWARE TESTING

TEST PLAN AND TEST CASE DEVELOPMENT

Question [CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
The “Priority” test case property ____
A
Does not exist.
B
Shows how fast we should execute the test case.
C
Shows how important this test case is.
D
Only applicable to test cases inside test scenarios.
Explanation: 

Detailed explanation-1: -Priority is an attribute that tells TestNG which order the tests need to follow. When we have multiple test cases and want to execute them in a particular order, the TestNG priority attribute helps in executing the test cases in that order. The test cases get executed in ascending order of the priority list.

Detailed explanation-2: -To set test case priority in TestNG, we need to add annotation as Test (priority=X). In the below-shown example, we have given a priority of 1 to the test case.

Detailed explanation-3: -The task is going to be repeated. It’s going to save time. The requirements, the test, or the task are low risk, stable, and unlikely to change often. The test is subject to human error. The test is time consuming. More items •06-May-2022

There is 1 question to complete.