Theoretical approach is something very different from practical approach.
QUESTION: You are given an online shopping site. As a user, Click on products. You see a variety of products under different categories. Write a test case for add product as admin and view product as user.
ANSWER: Let's first write the test case for admin login.
1) Login using valid user name and password.
2) Click on Add product. Check whether we are able to add the product successfully.
3) Verify whether all the fields marked in (*) are mandatory.
4) Verify whether the admin has the option to edit the product added.
5) Click on view products in admin to check whether the added product is displayed successfully.
6) Verify whether the admin has the option to remove the product from the site.
7) Edit a product. Check whether the changes are saved successfully.
8) Verify whether the added product is displayed under the category selected by the admin.
Test cases for user:
1) Verify whether the added products are displayed under view products.
2) Verify whether the removed product is displayed under view products.
3) Verify whether the edited product by the admin is displayed correctly.
4) Verify whether the user has the option to edit the product.
5) Verify whether the user can delete the product.
These are the test cases as far as my experience. You may be able to write more test cases than me. So you can work out on these criterion.
Wednesday, August 19, 2009
RE-TESTING & REGRESSION TESTING
Now a days most of the interviewer's ask what is the difference between Re-testing and Regression testing.
What is Retesting?
Test an application. You find a bug. Report it. Developer fixes it. You test it again with the same set of data. This is known as Re-testing. It is as simple as that.
What is Regression testing?
Test an application. Find a bug. Developer fixes it. You test the other modules so as the fixation of this bug is not affected the other modules. This is known as Regression testing.
Test an module of the application. There are no bugs. A new module is added. Tester test this module to make sure no bugs are arised since a new module is added. This is also known as Regression testing. This happens most of the times when the developers are in-experienced. Regression testing is very important in software testing. Regression testing is usually implemented with the help of a tool.
*Testing is never an activity but a challenge*
What is Retesting?
Test an application. You find a bug. Report it. Developer fixes it. You test it again with the same set of data. This is known as Re-testing. It is as simple as that.
What is Regression testing?
Test an application. Find a bug. Developer fixes it. You test the other modules so as the fixation of this bug is not affected the other modules. This is known as Regression testing.
Test an module of the application. There are no bugs. A new module is added. Tester test this module to make sure no bugs are arised since a new module is added. This is also known as Regression testing. This happens most of the times when the developers are in-experienced. Regression testing is very important in software testing. Regression testing is usually implemented with the help of a tool.
*Testing is never an activity but a challenge*
Subscribe to:
Posts (Atom)