Project

General

Profile

Test cases » History » Version 14

Max Milbers, 04/26/2011 09:56 AM

1 10 Max Milbers
h1. Some words about testing
2
3
It happens quite often that people say there is a bug, but they just misconfigured vm.
4
When you test the template system, please read [[Hints for the use of the template system]]
5
When you want to test the checkout, be sure that you configured a paymentmethod, a shipper and a shippingrate.
6
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.
7 14 Max Milbers
8
_When you tested a feature or view completly without finding a bug, please note the used revision behind the headline. For exampel [[Manufacturer]] (view=manufacturer) last tested rev. 3068_
9 10 Max Milbers
10 8 Max Milbers
h1. System Requirements:
11 1 Max Milbers
12
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.
13
14
Use joomla 1.5 or 1.6 (latest)
15
16
As tester you should have installed your joomla with a custom prefix (not jos_) this quite important to find tables with hardcoded prefix.
17
18
Use different browsers. Virtuemart should work without glitches at least on IE8, FF, chrome, safari and opera.
19
20 8 Max Milbers
h1. Installer
21 1 Max Milbers
22
Test installer with and without sampel data.
23
Test the All-in-one Modules and Plugin installer.
24
25 8 Max Milbers
h1. Views
26 1 Max Milbers
27
Test the frontend with java script enabled and disabled. 
28
Test what happens, when you change the post data. For exampel when you remove it, or enter a product which is not published.
29 6 Max Milbers
Test the frontend as anonymous and registered shopper.
30 12 Max Milbers
Consider testing with SEO enabled, that the bug maybe in the SEO feature. So when you find a bug with SEO enabled, test it also without SEO enabled. Consider that,
31
* SEO is a cosmetical feature and can be broken and fixed again easily
32
* It can easily happen that a feature is working, but just not with SEO
33 1 Max Milbers
34
35 8 Max Milbers
h1. Backend Testing
36 1 Max Milbers
37 4 Max Milbers
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.
38
39
Most backend views have a "list view" and an "edit view"
40
41
list views have always the buttons: New, Edit, Publish, Unpublish, Delete 
42
New => create new item
43
publish/unpublish => make selected items accessible (or not) from frontend
44
delete => delete selected items
45
46 1 Max Milbers
Every edit view in the backend has the buttons apply, save and close. 
47
Apply => store the data and show the same view and same item
48
Save => store the data and show the reagarding listing view
49
Cancel => just show the regarding listing view
50
51
52 8 Max Milbers
h2. Configuration
53 1 Max Milbers
54 13 Max Milbers
* [[shop configuration]] (view=config)
55
* [[currencies]] (view=currency)
56
* [[Credit Card List]] (view=creditcard)
57
* [[Countries]] (view=country)
58
* [[userfields]] (view=userfields)
59
* [[order status]] (view=orderstatus)
60 1 Max Milbers
61
62 8 Max Milbers
h2. Store configuration
63 1 Max Milbers
64 13 Max Milbers
* [[Store Information]] (view=user&task=editshop)
65
* [[Payment Methods]] (view=paymentmethod)
66
* [[Shipper]] (view=shippingcarrier)
67
* [[Shipping Rates]] (view=shippingrate)
68 1 Max Milbers
69
70 8 Max Milbers
h2. Manufacturer
71 1 Max Milbers
72 13 Max Milbers
* [[Manufacturer]] (view=manufacturer)
73
* [[Manufacturer Categories]] (view=manufacturercategory)
74 1 Max Milbers
75
76 8 Max Milbers
h2. Orders & Shopper 
77 1 Max Milbers
78 13 Max Milbers
* [[Orders]] (view=orders)
79
* [[Coupons]] (view=coupon)
80
* [[Revenue Report]] (view=report)
81
* [[Shopper]] (view=user)
82
* [[Shopper Groups]] (view=shoppergroup) 
83 1 Max Milbers
84
85 8 Max Milbers
h2. Products
86 1 Max Milbers
87 13 Max Milbers
* [[Categories]] (view=category)
88
* [[Products]] (view=product)
89
* [[Attributes]] (view=attributes)
90
* [[Product Types]] (view=producttypes)
91
* [[Product Files]] (view=media)
92
* [[Inventory]] (view=inventory)
93
* [[Calculation Rules]] (view=calc)
94
* [[Customer Reviews]] (view=ratings)
95 6 Max Milbers
96 8 Max Milbers
97 6 Max Milbers
h1. Frontend Testing
98 1 Max Milbers
99 10 Max Milbers
Pay attention to the title of page and the meta data. 
100
Try to make crosssite scripting and simular.
101 1 Max Milbers
102 10 Max Milbers
h2. Virtuemart (view=virtuemart)
103
104 9 Max Milbers
Function: 
105
Show the store description (Store description of the main vendor)
106
Show categories and products as thumbnail, accessible with links. 
107
Show offline shop function
108
Displays
109
* featuredproducts option
110 1 Max Milbers
* recentproducts option
111
* toptenproducts option
112 10 Max Milbers
* latestproducts option
113 1 Max Milbers
114 10 Max Milbers
Test if the backend configuration options have the desired effect. 
115
Test links, pictures, speed. Test product/categories per row. 
116
Test a different template. 
117
Dont wonder when there are no featured, recent, topten or latest products. 
118
- Featured are the products which are flagged as featured. 
119
- Recent products are the last products watched by the shopper.
120
- Topten products are the most sold products.
121
- Latest products are the last added products.
122 1 Max Milbers
123 10 Max Milbers
h2. Category (view=category)
124 9 Max Milbers
125
Function: 
126 1 Max Milbers
Displays the subcategories of the choosen category (choosed with category_id= in the url)
127 9 Max Milbers
Displays the products of the category
128 1 Max Milbers
129
Can you see categories/products, which are not published? test category_id's which does not exist. Check categories/products per row option
130 9 Max Milbers
131 10 Max Milbers
h2. Categories (view=categories)
132 1 Max Milbers
133
Function:
134
Shows only the subcategories of a choosen category, category_id=0 should show all categories.
135
Do you see unpublished categories?
136 9 Max Milbers
Test categories per row option
137
138 10 Max Milbers
h2. Productdetails (view=productdetails)
139 9 Max Milbers
140
Function:
141
Shows complete description of the product and assigned pictures/media. Should recalculate prices, when variant is selected. 
142 1 Max Milbers
Displays add to cart button.
143
Shows related products
144
Votes (vote, display)
145
Reviews (add, see latest/selected)
146
ask a question
147
148
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.
149 10 Max Milbers
Test the votes and reviews. 
150
Check if the right related products are shown.
151
Check if you can access with product_id unpublished products or non existing products (do you get an error, a message product not found?)
152 1 Max Milbers
153 10 Max Milbers
h2. Cart (view=cart)
154 11 Max Milbers
155 10 Max Milbers
Function:
156
Displays products, selected paymentmethod and shippingrate.
157
Leads the checkout process.
158
Provides links to the single stages of the checkout steps.
159
Sends emails after confirmation to the shopper and vendor.
160 1 Max Milbers
161
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). 
162 9 Max Milbers
163 10 Max Milbers
h2. User/Shopper maintance/profile (view=user)
164 11 Max Milbers
165 10 Max Milbers
Function:
166
User maintance view. Provides a possibility to enter the shopperdata.
167 6 Max Milbers
168 8 Max Milbers
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?
169 6 Max Milbers
170 10 Max Milbers
h2. orders (view=orders)
171 11 Max Milbers
172 10 Max Milbers
Function:
173
Shows orders done by the logged in user, provides also a possibility for guests so check their order.
174 6 Max Milbers
175 8 Max Milbers
h2. Manufacturer
176 11 Max Milbers
177
Function: Kind of prefiltered category view , shows the description of the vendor and categories/products only belonging to him.
178 8 Max Milbers
179
h2. Askquestion