- Confident and satisfied tester
- Better Testing
- More No. of bugs
- A lively job
- Better Self Education
- Happy Management
Reference: "The Man Who Mistook His Wife For A Hat" by Oliver Sacks
It is a hot debate topic among testing professionals “Exploratory Testing Vs Scripted Testing”. Open any discussion forum and you will find one or more such discussions. In these discussions, majority of the test professionals support Exploratory Testing and a very few test professionals are there in favour of Scripted Testing. This displays that the exploratory testing is in trend.
I also think that Exploratory Testing is better approach than Scripted Testing but still we can't ignore the importance of Scripted Testing. Although majority of testers support Exploratory Testing Techniques but still the mostly organizations follow the Scripted Testing process.
In Scripted Testing, tests are predefined in form of Test Cases.
What are Test Cases? - In simple words, a test case is a step or sequence of steps to test the correct behavior of a functionality/feature of an application.
More organized definition of Test Case could be:
A test case is a set of conditions or variables under which a tester will determine whether an application or software system is working correctly or not.
It doesn't mean that a single test case is sufficient to determine the correct functionality of an application. It may take many test cases to determine that a software system or application is functioning correctly. Test cases are often referred to as test scripts, particularly when written. Written test cases are usually collected into test suites.
Now the question is why we write test cases? - The reason behind writing test cases is to ensure the testing coverage of an application. Another reason is to test the application quickly. The idea is to write test cases based on design while code is incomplete, so that we could test the application quickly once the code is ready.
The test cases can be divided into two categories:
Formal Test Cases : Formal test cases are designed to fully test all the requirements of an application. There must be at least two test cases for each requirement: one positive test and one negative test.
Informal Test Cases : For application without formal requirements, test cases can be written based on the accepted normal operation of programs of a similar class. In few organiztions, test cases are not written at all but the activities and results are reported after the testing is completed.
Test Case Format: A typical Test Case may include
Test Case No.
Testing Component
Description of Test
Input Data (If any)
Expected Result
Actual result
Test Date
Status – Pass/Fail
Remarks
A sample Test Case is attached here.