
Test Cases: Do You Really Need Them?
Test cases have a clear structure, allowing you to easily keep track of the testing process. You will always be aware of what has already been tested, what has not been tested yet, which test has passed, and which one has failed.
Sometimes the tester doesn't understand how to test the product because the requirements are not clear. There is also a situation where it is generally impossible to test the solution. The test case will help the testers identify and solve the problem.
Test cases include all the necessary information about the project. These can be passwords, certificates, documents, and other important notes. You will always find the data you need quickly and easily.
If a new tester joins the project, test cases will help you describe the product and its features easily and quickly. What's more, if any tester leaves the project, it won't be very painful to replace him/her thanks to the test cases.
Using test cases significantly speeds up regression testing.
Test cases will allow you to hire less qualified specialists and save money on labor costs.
Using test cases and other materials from a previous project will make it easier for you to work on the following tasks.
What Is a Test Case?
A test case consists of the following components:
Test name
Description
Prerequisites
Test steps
Expected results
Rules on How to Write Good Test Cases
Examples of Good and Bad Test Cases
A Correct Test Case
Click on the Contact Us button in the upper right corner of the website.
Enter a value in the First Name field consisting of Latin letters.
Enter a value in the Last Name field consisting of Latin letters.
Enter a valid email in the Email field.
Enter a value in the Company field consisting of Latin letters.
Enter a phone number in the appropriate field.
Enter a value consisting of Latin letters, special characters, and numbers in the Message field.
Check the appropriate box.
Click on the Send Message button.
Check the email of the website administrator.
The Contact Us page has opened.
The entered name is displayed in the First Name field.
The entered name is displayed in the Last Name field.
The entered email is displayed in the Email field.
The entered phone number is displayed in the appropriate field.
The entered text is displayed in the Message field.
The box is checked.
The message is sent.
All fields are cleared.
The administrator has received a message sent through the Contact Us form and containing the data entered in steps 1-5.
A Wrong Test Case
Click on the Contact Us button. (Specify its location)
Enter a name in the First Name field. (What symbols should you enter?)
Enter a name in the Last Name field. (What symbols should you enter?)
Enter an email in the Email field. (Is it correct or incorrect?)
Enter a value consisting of Latin letters. (What field?)
Enter a phone number in the appropriate field.
Enter a text in the Message field. (What symbols should you enter?)
Check the appropriate box.
Click on the button. (What button?)
(The last step is not entered. It's wrong because we won't be able to check whether it's possible to send messages through the contact form)
The page has opened. (What page?)
The entered name is displayed in the First Name field.
(It's not specified what should happen?)
The entered email is displayed. (What email? Where is it displayed?)
The entered phone number is displayed. (Where?)
We see the entered text in the Message field. (Do we see or is it displayed?)
The box is checked.
The message is sent.
Everything is cleared. (What is cleared?)
The administrator has received a message. (What message?)
+48 22 104 20 98