Project

General

Profile

Test cases » History » Version 12

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