Project

General

Profile

Test cases » History » Version 13

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