Software Testing - Test Steps
What are Test Steps?
Test Steps describe the execution steps and expected results that are documented against each one of those steps.
Each step is marked pass or fail based on the comparison result between the expected and actual outcome.
While developing the test cases, we usually have the following fields:
Let us say that we need to check an input field that can accept maximum of 10 characters.
While developing the test cases for the above scenario, the test cases are documented the following way. In the below example the first case is a pass scenario while the second case is a FAIL.
|Scenario||Test Step||Expected Result||Actual Outcome|
|Verify that the input field that can accept maximum of 10 characters||Login to application and key in 10 characters||Application should be able to accept all 10 characters.||Application accepts all 10 characters.|
|Verify that the input field that can accept maximum of 11 characters||Login to application and key in 11 characters||Application should NOT accept all 11 characters.||Application accepts all 10 characters.|
If the expected result doesn't match with the actual result then we log a defect. The defect goes through the defect life cycle and the testers address the same after fix.