Project

General

Profile

Test cases » History » Version 15

Max Milbers, 04/28/2011 04:51 PM

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