Complete the code to define the first step in a test case.
test_steps = ["[1] the login page"]
The first step in a test case is usually to open the page or application under test.
Complete the code to specify the expected result after login.
expected_result = "User [1] successfully"
The expected result after entering correct credentials is that the user logs in successfully.
Fix the error in the actual result assignment.
actual_result = "User [1] successfully"
The correct past tense phrase is logged in. 'Loged' is a spelling error.
Fill both blanks to complete the test case dictionary with steps and expected result.
test_case = {
"steps": ["Enter username", "[1] password"],
"expected": "User [2] successfully"
}The test steps include entering username and password. The expected result is that the user logs in successfully.
Fill all three blanks to complete the test case with steps, expected, and actual results.
test_case = {
"steps": ["Open login page", "Enter username", "Enter [1]"],
"expected": "User [2] successfully",
"actual": "User [3] successfully"
}The steps include entering the password. The expected result uses present tense 'logs in', and the actual result uses past tense 'logged in'.