hi good morning I am confused about testing part I read a lo
hi
good morning
I am confused about testing part, I read a lot of information on the internet, and its different from the requirement I had
especially about unit testing,
I saw it on the internet as codes but I am required to do it as tables and I could not find anyone did the same way
if anyone could help and give me an example in e-commerce side like add to cart or something else by filling the table?
please :(
i am developing e-commerce website and i need to fill this table in rder to decument it in my project in the implementation part , so could anyone chose any basic functionality in e-commerce webiste and try to fill this table
shown in the table below. Test Case Name Purpose Component Name Component Type (method object) Test Description (Steps) Input Provided Expected outcome Actual outcome Status (Pass/Fail) CommentsSolution
Hi,
I am filling the table considering \"Clicking of Add to Cart\" basic functionality for e commerce site.
Steps to Test:
A)
1. Open any product page without login
2.Click on Add to cart
B)
1.Open any product page with login
2.Click on Add to cart button
C)
1. Open any product test page with invalid product id
2. Click on Add to Cart button
For A) and B)
Product should be added to cart while keeping old products
For C)
User Friendly error message should come while keeping old products in cart,if any
| Test Case Name | UC_Add_To_Cart |
| Purpose | To test the basic functionality of Add to Cart button |
| Component Name | int AddToCart(bool , bool, int) |
| Component Type | Function |
| Test Description | Test the various scenario on click of add to cart function on different product pages |
| Input Provided | Steps to Test: A) 1. Open any product page without login 2.Click on Add to cart B) 1.Open any product page with login 2.Click on Add to cart button C) 1. Open any product test page with invalid product id 2. Click on Add to Cart button |
| Expected Outcome | For A) and B) Product should be added to cart while keeping old products For C) User Friendly error message should come while keeping old products in cart,if any |
| Actual Outcome | As Expected |
| Status(pass/fail) | Pass |
| Comments | Error is coming for test case C) but we can make it more user friendly |

