SOFTWARE TESTING
TEST PLAN AND TEST CASE DEVELOPMENT
Question
[CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
|
|
Does not exist.
|
|
Shows how fast we should execute the test case.
|
|
Shows how important this test case is.
|
|
Only applicable to test cases inside test scenarios.
|
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