I would like to learn testing. i have learned winrunner tool. i am comfortable in creating automation scripts. regarding paper works i am still not clear about creating cases /test plan. can anyone help me by sending the details about how to create test case. for ex: login window.
Test cases should be written as grannalar as possible .i.e more details. The common man should be able to understand the test cases even if he is not familiar flowthrough. Test cases have 5 different fields.
For example your task to login to yahoo
1) Click on IE
2) Type www. Mail.yahoo.com in blank window
3) Type user name in user name field
4) Enter password in password field
5) Click on login
1) Blank window Opens
2) Mail.yahoo.com web page opens
3) User name is typed
4) Password is entered
5) Login is clicked
1) Window is retained
2) Web page Retained
3) User name is retained
4) Password is retained
5) Mail opens
This is simple example. Hope it will be helpful. Basically you have to understand the flow of the application.
There are differences of opinion regarding test case/plan writing. As usual, it depends on the company, department, or task at hand.
Some groups I have been in write test cases like this: Create an invoice; Validate the invoice data that was entered; Validate the invoice data that was generated. This is an example of a test case where the methodology states that the testers have to be knowledgeable in the application. As you can see, it is also open to interpretation.
Other groups I have been in take you from starting the application to what data to enter, which button to click, etc. This is the style I favor. It ensures the testing today will be the same as the testing tomorrow, which is the same as the testing done yesterday. As you can imagine, it costs more to produce.
If you're starting from scratch, you would benefit from one of the many books that are available on the subject. Or search this and other forums for "test case" and "test plan".
Originally posted by sathish_2004: I would like to learn testing. i have learned winrunner tool. i am comfortable in creating automation scripts. regarding paper works i am still not clear about creating cases /test plan. can anyone help me by sending the details about how to create test case. for ex: login window.
<font size="2" face="Verdana, Arial, Helvetica">Learning how to test and all of the intricacies and steps involved is much more that just creating Test Cases.
Read some books or take some courses about testing as a complete unit.
Some excellent books on testing can be found on this Blog page
...how did you write automated scripts when you don't know how to write manual scripts??
<font size="2" face="Verdana, Arial, Helvetica">I have lost count of the number of automation projects I have been brought in to rescue where test scripts had been created by developers who had no clue as to how to write a properly scoped test case.