Ex 3
Ex 3
given scenario.
Software Testing
Software testing is the process of verifying a system with the purpose of
identifying any errors, gaps or missing requirements versus the actual
requirement. Software testing is broadly categorised into two types -
functional testing and non-functional testing.
The process of software testing aims not only at finding faults in the existing
software but also finding measures to improve the software in terms of
efficiency, accuracy and usability.
Black box testing is a type of testing in which the tester only focuses on the
inputs and the expected outputs, without knowing how the application works
internally and how
these inputs are processed. Tester treats the Application
Under Test (AUT) as a black box.
Techniques included in black-box testing :
➢ Regression Testing
➢ Functional Testing
The Test case template contains the header section which has a set of
parameters that provides information about the test case such as the tester’s
name, test case description, prerequisite, etc. The body section contains the
actual test case content, such as test Id, test steps, test input, expected result, etc.
Here a test case template for login functionality has been created with its
parameters and values.
Assume we need to write test cases for a scenario (Verify the login of the
Gmail account).
Step #3 – Pre-Conditions:
Conditions that need to meet before executing the test case. Mention if any
preconditions are available.
Example:
Enter Username
Enter Password
Click Login button
Example:
Username: [email protected]
Password: STM
Example: Successful login
Step #9 – Status:
Finally set the status as Pass or Fail based on the expected result against the
actual result. If the actual and expected results are the same, mention it as
Passed. Else make it as Failed. If a test fails, it has to go through the bug life
cycle to be fixed.
Example:
Result: Pass