Test cases » History » Version 11
Some words about testing¶
It happens quite often that people say there is a bug, but they just misconfigured vm.
When you test the template system, please read Hints for the use of the template system
When you want to test the checkout, be sure that you configured a paymentmethod, a shipper and a shippingrate.
Often people think that VM calculates wrong prices, but forget to consider that the product costprice, the calculation rules and displayed prices can have different currencies.
It is useful to test virtuemart installed in a subdirectory of your http directory. For exampel localhost/vm2. This is for testing if the pathing is working correct.
Use joomla 1.5 or 1.6 (latest)
As tester you should have installed your joomla with a custom prefix (not jos_) this quite important to find tables with hardcoded prefix.
Use different browsers. Virtuemart should work without glitches at least on IE8, FF, chrome, safari and opera.
Test installer with and without sampel data.
Test the All-in-one Modules and Plugin installer.
Test the frontend with java script enabled and disabled.
Test what happens, when you change the post data. For exampel when you remove it, or enter a product which is not published.
Test the frontend as anonymous and registered shopper.
The relative url /administrator/index.php?option=com_virtuemart&view=config means that it points to the Backend (/administrator) and that it points on the view named config.
Most backend views have a "list view" and an "edit view"
list views have always the buttons: New, Edit, Publish, Unpublish, Delete
New => create new item
publish/unpublish => make selected items accessible (or not) from frontend
delete => delete selected items
Every edit view in the backend has the buttons apply, save and close.
Apply => store the data and show the same view and same item
Save => store the data and show the reagarding listing view
Cancel => just show the regarding listing view
- Test shop configuration (view=config)
- Test currencies (view=currency)
- Test Credit Card List (view=creditcard)
- Test Countries (view=country)
- Test userfields (view=userfields)
- Test order status (view=orderstatus)
- Test Store Information (view=user&task=editshop)
- Test Payment Methods (view=paymentmethod)
- Test Shipper (view=shippingcarrier)
- Test Shipping Rates (view=shippingrate)
Orders & Shopper¶
- Test Orders (view=orders)
- Test Coupons (view=coupon)
- Test Revenue Report (view=report)
- Test Shopper (view=user)
- Test Shopper Groups (view=shoppergroup)
- Test Categories (view=category)
- Test Products (view=product)
- Test Attributes (view=attributes)
- Test Product Types (view=producttypes)
- Test Product Files (view=media)
- Test Inventory (view=inventory)
- Test Calculation Rules (view=calc)
- Test Customer Reviews (view=ratings)
Pay attention to the title of page and the meta data.
Try to make crosssite scripting and simular.
Show the store description (Store description of the main vendor)
Show categories and products as thumbnail, accessible with links.
Show offline shop function
- featuredproducts option
- recentproducts option
- toptenproducts option
- latestproducts option
Test if the backend configuration options have the desired effect.
Test links, pictures, speed. Test product/categories per row.
Test a different template.
Dont wonder when there are no featured, recent, topten or latest products.
- Featured are the products which are flagged as featured.
- Recent products are the last products watched by the shopper.
- Topten products are the most sold products.
- Latest products are the last added products.
Displays the subcategories of the choosen category (choosed with category_id= in the url)
Displays the products of the category
Can you see categories/products, which are not published? test category_id's which does not exist. Check categories/products per row option
Shows only the subcategories of a choosen category, category_id=0 should show all categories.
Do you see unpublished categories?
Test categories per row option
Shows complete description of the product and assigned pictures/media. Should recalculate prices, when variant is selected.
Displays add to cart button.
Shows related products
Votes (vote, display)
Reviews (add, see latest/selected)
ask a question
Test add to cart without ajax. Test add to cart with ajax. Should show a js box displaying the productname and a Continue Button (points to the view category of the product) and checkout a link to the cart view.
Test the votes and reviews.
Check if the right related products are shown.
Check if you can access with product_id unpublished products or non existing products (do you get an error, a message product not found?)
Displays products, selected paymentmethod and shippingrate.
Leads the checkout process.
Provides links to the single stages of the checkout steps.
Sends emails after confirmation to the shopper and vendor.
Test checkout process as anonymous. Test checkout as registered. Try mixes of it. For exampel, register, dont login and checkout. Or do a checkout and try to register then (data should be prefilled).
User/Shopper maintance/profile (view=user)¶
User maintance view. Provides a possibility to enter the shopperdata.
Test if storing works without entering password again. Test if a user can get administrator rights. Can anonymous or normal registered users see profiles of other users? Can a administrator edit a user from the frontend?
Shows orders done by the logged in user, provides also a possibility for guests so check their order.
Function: Kind of prefiltered category view , shows the description of the vendor and categories/products only belonging to him.