Integration Test Specification for Online Photo Shop

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:
    • Email: test@test.com
    • Name: NameValue
    • Address1: Address1Value
    • Address2: Address2Value
    • City: CityValue
    • State: NJ
    • Zip: 12345
    • CCType: Master
    • CCNumber: 1234 5678 1234 5678
    • CCExpMonth: 01
    • CCExpYear: 2005
    • Charged: Order="$0.59", Tax="$0.04", Shipping="$1.25", Total="$1.88"
    In the doc/order section one item with the following attributes are stored:
    • product="print"
    • option="4x6"
    • quantity="1"
    • image="C:\OnlinePhotoShop\uploads\random number_0.jpg"
    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.
  • C:online_shop_codebehind
  • F:error_handling
  • Step Description Expected Result
    1 Check code review coverage using tool XYZ. A code review coverage of 100% is reported. Passed Failed

    Integration Test Specification for Photo Editor

    Do it yourself chapter 13
    Add the test cases for the photo editor application to this test fixture.
  • F:photo_editor
  • F:image_crop
  • F:image_brightness
  • F:image_contrast
  • F:image_color
  • F:image_graphics_annotations
  • F:editor_graphics_special_effects
  • F:image_text_annotations
  • F:image_accessing_direct3d
  • F:image_rotate
  • F:image_flip
  • F:image_special_effects
  • F:image_3dtext
  • F:image_3dtext_color
  • F:image_3dtext_font
  • F:image_3dtext_rotate
  • C:image_3dtext_singleline
  • F:editor_system_test
  • F:image_format
  • C:platform_os
  • C:imageprocessing_library
  • F:photo_editor_deployment
  • Step Description Expected Result
    1 Description on how to perform the test goes here... Expected result after performing those steps goes here... Passed Failed