Test case – it is the minimum element testing. A good test case consists of three parts:
It is essential that the act of verification is only one. That is why the test case can not be crushed, divided into several test cases. That is why it is a minimal element of verification. If the verification is more than one, this is not a test case, and its fabrication.
The first and third components of the test case study is also very important. They do a different test cases are independent of each other. They can be performed in either order. This is extremely important for test automation. But for manual testing is also important. Because of the test cases are test suites – a group of related test cases. Association in a group test suites creates a new test suite. That is, the test suite consists of either test cases or test suites from.
Consider the example of a typical error when writing test cases. Open Notepad. There, under the Search menu is a menu item called Find. Find selection leads to a dialog box with the same name. If the Find what box, there is no text, the Find Next button is disabled (it is in the disabled), which reflects its color. When inscribing at least one letter in the Find what button Find Next unlocked and its color changes.
We have to verify two facts:
Tester will do two verification. Therefore, test cases should be two. Here’s a test case, written by an inexperienced tester:
In this example we have two elements of the verification in a single "test case". Now, as this is an example of an experienced tester will be processed:
Test cases are an experienced tester can be reordered, that is performed in any order.