OnlinePhotoShopInstallation Test to verify the created installation media and installation instructions for the Online Photo Shop.
F:onlinephotoshop_deployment
Step
Description
Expected
Result
1
Check prerequisites.
Installation CD for Online Photo Shop
Computer running Windows XP Professional, SP1
Internet Information Server (IIS) is installed
.NET Framework is installed
Passed
Failed
2
Open installation instructions from CD.
Installation Notes.htm is located in root directory of installation media and could be opened
in Internet Explorer. All images referenced in the installation notes are shown.
Passed
Failed
3
Follow installation instructions to set up and configure Online Photo Shop.
All steps are sufficiently described. No errors have been encountered following the steps
described in the installation notes.
Passed
Failed
4
In the Internet Explorer navigate to the address: http://localhost/shop/browse.aspx.
Passed
Failed
ProductCatalog Tests the Browse.aspx page.
F:order_products
F:products_browse
F:product_options
Step
Description
Expected
Result
1
Make sure the Online Photo Shop is set up correctly and the example product catalog is used.
If necessary perform integration test case OnlinePhotoShopInstallation.
A clean installation of the Online Photo Shop is avaialble.
Passed
Failed
2
In the Internet Explorer navigate to the address: http://localhost/shop/browse.aspx.
The product page for prints is shown
The product options are Small, Regular, Poster and Wallet prints
The preselected quantity is one (1).
Passed
Failed
3
Click on the Next button on the top of the page.
The product page for cups is shown
The product options are Coffee/Tea Mug and a set of two Caffe Latte cups
The preselected quantity is one (1).
Passed
Failed
4
Click twice on the Previous button on the top of the page and then twice on the Next button.
The product pages shown are prints, cups, prints and finally cups again.
Passed
Failed
5
Select Prints from the drop down box on the top of the page.
The product page for prints is shown.
Passed
Failed
6
Select Cups from the drop down box on the top of the page.
The product page for cups is shown.
Passed
Failed
ShoppingCart Test for the Cart.aspx page.
F:product_customize
F:product_shopping_cart
Step
Description
Expected
Result
1
Make sure the Online Photo Shop is set up correctly and the example product catalog is used.
If necessary perform integration test case OnlinePhotoShopInstallation.
A clean installation of the Online Photo Shop is avaialble.
Passed
Failed
2
Close all instances of the Internet Explorer. Then start a new Internet Explorer and navigate
to the address: http://localhost/shop/browse.aspx.
The product page for prints is shown.
Passed
Failed
3
Click on the Shopping Cart link on the top right corner of the page.
An empty shopping cart table is shown. The total of the order is $0.00.
Passed
Failed
4
Click on the Continue Shopping link on the top left corner of the page.
The product page for prints is shown.
Passed
Failed
5
Press the Browse... button and select the image file Sunset.jpg from the Sample Pictures
folder under Shared Documents. Then select the Wallet option, a quantity of 2 and press
the Add button.
At the bottom of the page a message is shown confirming that 2 items have been added to the
shopping cart.
Passed
Failed
6
Select Cups from the drop down box on the top of the page.
The product page for cups is shown.
Passed
Failed
7
Press the Browse... button and select the image file Winter.jpg from the Sample Pictures
folder under Shared Documents. Then select the Coffee/Tea Mug option, a quantity of 10 and press
the Add button.
At the bottom of the page a message is shown confirming that 10 items have been added to the
shopping cart.
Passed
Failed
8
Click on the Shopping Cart link on the top right corner of the page.
A shopping cart with two rows is shown.
The thumbnail image of Winter.jpg is located in the row of the product Cups. The option
in this row is Coffee/Tea Mug, the quantity is 10.
The thumbnail image of Sunset.jpg is located in the row of the Product Prints. The option
in this row is Wallet, the quantity is 2.
The total of the order is $141.88.
Passed
Failed
9
Click on the Remove link under the quantity in the Prints row
The shopping cart is updated and the Prints row is removed. The new total of the order is $139.90.
Passed
Failed
Checkout Tests the customer authentication for the checkout area and form Checkout.aspx.
F:order_checkout
F:checkout_shipping
C:checkout_shipping_cont
F:checkout_payment
C:checkout_payment_method
F:checkout_summarize
F:customer_login
R:checkout_payment_secure
Step
Description
Expected
Result
1
Make sure the Online Photo Shop is set up correctly and the example product catalog is used.
If necessary perform integration test case OnlinePhotoShopInstallation.
A clean installation of the Online Photo Shop is avaialble.
Passed
Failed
2
Close all instances of the Internet Explorer. Then start a new Internet Explorer and navigate
to the address: http://localhost/shop/browse.aspx.
The product page for prints is shown.
Passed
Failed
3
Press the Browse... button and select the image file Sunset.jpg from the Sample Pictures
folder under Shared Documents. Then select the Small option, a quantity of 1 and press
the Add button.
At the bottom of the page a message is shown confirming that 1 item has been added to the
shopping cart.
Passed
Failed
4
Click on the Shopping Cart link on the top right corner of the page.
A shopping cart table with one row is shown. The total of the order is $0.59.
Passed
Failed
5
Click on the Proceed to checkout link on the top right corner of the page.
A Login page is shown.
Passed
Failed
6
Enter 'test@test.com' in the Email field.
Enter 'secret' in the Password field.
Select I am a returning customer.
Press the Login button.
An error message is shown saying that email or password are incorrect.
Passed
Failed
7
Enter 'secret' in the Password field.
Select I am a new customer.
Press the Login button.
Passed
Failed
8
Set the state selector to AZ, NY and then TX.
At no time sales tax is added to the order in the Order summary section.
Passed
Failed
9
Set the state selector to NJ.
$0.04 sales tax are added to the order, which totals $1.88.
Passed
Failed
10
Fill in the fields with the following values:
Name: NameValue
Address: Address1Value and Address2Value
City: CityValue
State: NJ
Zip: 12345
Select Enter new payment information.
Card Type: Matser
Card Number: 1234 5678 1234 5678
Expiration: 01 / 2005
After entering the values press Place Order button.
Completed.aspx page is displayed showing a thank you for your order message. Go to the
order directory as specified in the WebConfig.xml file. Sort the files by date and open the
latest one. The following elements should be stored under doc/customer:
Now go to the upload folder and open the latest image saved in this folder.
Open the image verify it is the same as the sunset image selected in step 3 of this test.
Passed
Failed
StateService Verifies the proper usage of tha ASP.NET State Service for session management.
C:online_shop_stateservice
Step
Description
Expected
Result
1
Make sure the Online Photo Shop is set up correctly and the example product catalog is used.
If necessary perform integration test case OnlinePhotoShopInstallation.
A clean installation of the Online Photo Shop is avaialble.
Passed
Failed
2
Close all instances of the Internet Explorer. Then start a new Internet Explorer and navigate
to the address: http://localhost/shop/browse.aspx.
The product page for prints is shown.
Passed
Failed
3
Press the Browse... button and select the image file Sunset.jpg from the Sample Pictures
folder under Shared Documents. Then select the Wallet option, a quantity of 2 and press
the Add button.
At the bottom of the page a message is shown confirming that 2 items have been added to the
shopping cart.
Passed
Failed
4
Select Cups from the drop down box on the top of the page.
The product page for cups is shown.
Passed
Failed
5
Press the Browse... button and select the image file Winter.jpg from the Sample Pictures
folder under Shared Documents. Then select the Coffee/Tea Mug option, a quantity of 10 and press
the Add button.
At the bottom of the page a message is shown confirming that 10 items have been added to the
shopping cart.
Passed
Failed
6
Click on the Shopping Cart link on the top right corner of the page.
A shopping cart with two rows is shown.
The thumbnail image of Winter.jpg is located in the row of the product Cups. The option
in this row is Coffee/Tea Mug, the quantity is 10.
The thumbnail image of Sunset.jpg is located in the row of the Product Prints. The option
in this row is Wallet, the quantity is 2.
The total of the order is $141.88.
Passed
Failed
7
Open the Internet Information Services management console accessible through the Control Panel,
Performance and Maintanance, Administrative Tools.
Right click on LOCALHOST.
Go to All Tasks->Restart IIS...
Select Restart IIS on LOCALHOST and press OK.
After restarting close the management console.
The IIS shuts down and starts up again. No errors or failures are reported.
Passed
Failed
8
Click on the Continue Shopping link in the top left corner of the page in the Internet Explorer.
The product page for prints is shown.
Passed
Failed
9
Click on the Shopping Cart link on the top right corner of the page.
A shopping cart with two rows is shown.
The thumbnail image of Winter.jpg is located in the row of the product Cups. The option
in this row is Coffee/Tea Mug, the quantity is 10.
The thumbnail image of Sunset.jpg is located in the row of the Product Prints. The option
in this row is Wallet, the quantity is 2.
The total of the order is $141.88.
Passed
Failed
CodingReviews Manual check required to verify code reviews have been performed for all product code to ensure the coding guidlines have been followed.