Log in / create account
View source | Discuss page | Page history | Printable version   
ADVERTISEMENT
Accounting eLearning Courses
Partnerships
SourceForge.net Logo
Openbravo ERP at SourceForge

SourceForge.net Logo
Openbravo POS at SourceForge

Open Solution Alliance Logo
Openbravo at Open Solutions Alliance

QA test plan 2.40/Ajax Grids

Contents

Introduction

Current selectors do not use new Ajax datagrids so they miss some useful features, like sorting.

Aim of the project

The purpose is to change all the grids in the application to use the Ajax grid component.

Environment

For this test execution, it will be necessary a OpenbravoERP with AjaxGrids branch active.

Previous data

In order to test this module, it is a must to have some previous data. It is recommended to create this data, although default demo data can be used as well.

Five Business Partners

Accounting Schema

The accounting should be properly configured using the file AccountsESOpenbravo_v2_OB235_v3.csv (downloaded from Sourceforge )

Extra data

About 50 Purchase Orders will be needed.

Note: Purchase Orders can be replaced by Goods Receipts, Purchase Invoices, Sales Orders, Goods Shipments or Sales Invoices as well. The relevant matter is to test the grids with many records.

Test cases

Account selector

1. Data selection

Expected Result:All available records are shown

2. Data selection with Search Key

Expected Result:Only records matching selection are displayed

3. Data selection with Accounting combination

Expected Result:Only records matching selection are displayed

4. No data listed

Expected Result:No results are shown. It is not possible to select anything

5. Single selection selector

Expected Result:When selected one, selected item is included con caller window. Otherwise, nothing happens because only one selection is necessary.

6. Cancel selection with no data

Expected Result:Caller window selector textbox remains blank. It is possible to reopen the selector and choose a new record.

7. Cancel selection with data

Expected Result:Caller window selector textbox goes blank. It is possible to reopen the selector and choose a new record.

8. Save button usage

Expected Result:The account is shown and can be selected.

Business Partner selector

1. Data selection

Expected Result:All available records are shown

2. Data selection with Search Key

Expected Result:Only records matching selection are displayed

3. Data selection with Name

Expected Result:Only records matching selection are displayed

4. No data listed

Expected Result:No results are shown. It is not possible to select anything

5. Single selection selector

Expected Result:When selected one, selected item is included con caller window. Otherwise, nothing happens because only one selection is necessary.

6. Cancel selection with no data

Expected Result:Caller window selector textbox remains blank. It is possible to reopen the selector and choose a new record.

7. Cancel selection with data

Expected Result:Caller window selector textbox goes blank. It is possible to reopen the selector and choose a new record.

Business Partner (multiple)

You can find this selector in any dimensional report. For example going to Sales management->Analysis Tools->Sales dimensional report

1. Multiple selection selector

Expected Result:When selected none, nothing happens because a selection is necessary. Otherwise, selected items are included con caller window.

2. Remove one record from the selector

Expected Result:That record should disappear from the box

3. Remove all the records form the selector

Expected Result:All the records should remove

Debt/Payment selector

After this execute the following test cases

1. Data selection

Expected Result:All available records are shown

2. Data selection with Search Key

Expected Result:Only records matching selection are displayed

3. Data selection with Name

Expected Result:Only records matching selection are displayed

4. No data listed

Expected Result:No results are shown. It is not possible to select anything

5. Single selection selector

Expected Result:When selected one, selected item is included con caller window. Otherwise, nothing happens because only one selection is necessary.

6. Cancel selection with no data

Expected Result:Caller window selector textbox remains blank. It is possible to reopen the selector and choose a new record.

7. Cancel selection with data

Expected Result:Caller window selector textbox goes blank. It is possible to reopen the selector and choose a new record.

Invoice selector

Now follow these test cases

1. Data selection

Expected Result:All available records are shown

2. Data selection with Search Key

Expected Result:Only records matching selection are displayed

3. Data selection with Name

Expected Result:Only records matching selection are displayed

4. No data listed

Expected Result:No results are shown. It is not possible to select anything

5. Single selection selector

Expected Result:When selected one, selected item is included con caller window. Otherwise, nothing happens because only one selection is necessary.

6. Cancel selection with no data

Expected Result:Caller window selector textbox remains blank. It is possible to reopen the selector and choose a new record.

7. Cancel selection with data

Expected Result:Caller window selector textbox goes blank. It is possible to reopen the selector and choose a new record.

Invoice Line selector

1. Data selection

Expected Result:All available records are shown

2. Data selection with Search Key

Expected Result:Only records matching selection are displayed

3. Data selection with Name

Expected Result:Only records matching selection are displayed

4. No data listed

Expected Result:No results are shown. It is not possible to select anything

5. Single selection selector

Expected Result:When selected one, selected item is included con caller window. Otherwise, nothing happens because only one selection is necessary.

6. Cancel selection with no data

Expected Result:Caller window selector textbox remains blank. It is possible to reopen the selector and choose a new record.

7. Cancel selection with data

Expected Result:Caller window selector textbox goes blank. It is possible to reopen the selector and choose a new record.

Locator selector

1. Data selection

Expected Result:All available records are shown

2. Data selection with Search Key

Expected Result:Only records matching selection are displayed

3. Data selection with Name

Expected Result:Only records matching selection are displayed

4. No data listed

Expected Result:No results are shown. It is not possible to select anything

5. Single selection selector

Expected Result:When selected one, selected item is included con caller window. Otherwise, nothing happens because only one selection is necessary.

6. Cancel selection with no data

Expected Result:Caller window selector textbox remains blank. It is possible to reopen the selector and choose a new record.

7. Cancel selection with data

Expected Result:Caller window selector textbox goes blank. It is possible to reopen the selector and choose a new record.

Product selector

Where to find this selector

Then follow the next test cases

1. Data selection

Expected Result:All available records are shown

2. Data selection with Search Key

Expected Result:Only records matching selection are displayed

3. Data selection with Name

Expected Result:Only records matching selection are displayed

4. No data listed

Expected Result:No results are shown. It is not possible to select anything

5. Single selection selector

Expected Result:When selected one, selected item is included con caller window. Otherwise, nothing happens because only one selection is necessary.

6. Cancel selection with no data

Expected Result:Caller window selector textbox remains blank. It is possible to reopen the selector and choose a new record.

7. Cancel selection with data

Expected Result:Caller window selector textbox goes blank. It is possible to reopen the selector and choose a new record.

Product selector (multiple)

1. Multiple selection selector

Expected Result:When selected none, nothing happens because a selection is necessary. Otherwise, selected items are included con caller window.

2. Remove one record from the selector

Expected Result:That record should disappear from the box

3. Remove all the records form the selector

Expected Result:All the records should remove

Product Complete selector

Then follow the next steps

1. Data selection

Expected Result:All available records are shown

2. Data selection with Search Key

Expected Result:Only records matching selection are displayed

3. Data selection with Name

Expected Result:Only records matching selection are displayed

4. No data listed

Expected Result:No results are shown. It is not possible to select anything

5. Single selection selector

Expected Result:When selected one, selected item is included con caller window. Otherwise, nothing happens because only one selection is necessary.

6. Cancel selection with no data

Expected Result:Caller window selector textbox remains blank. It is possible to reopen the selector and choose a new record.

7. Cancel selection with data

Expected Result:Caller window selector textbox goes blank. It is possible to reopen the selector and choose a new record.

Project selector

1. Data selection

Expected Result:All available records are shown

2. Data selection with Search Key

Expected Result:Only records matching selection are displayed

3. Data selection with Name

Expected Result:Only records matching selection are displayed

4. No data listed

Expected Result:No results are shown. It is not possible to select anything

5. Single selection selector

Expected Result:When selected one, selected item is included con caller window. Otherwise, nothing happens because only one selection is necessary.

6. Cancel selection with no data

Expected Result:Caller window selector textbox remains blank. It is possible to reopen the selector and choose a new record.

7. Cancel selection with data

Expected Result:Caller window selector textbox goes blank. It is possible to reopen the selector and choose a new record.

Sales Order selector

1. Data selection

Expected Result:All available records are shown

2. Data selection with Search Key

Expected Result:Only records matching selection are displayed

3. Data selection with Name

Expected Result:Only records matching selection are displayed

4. No data listed

Expected Result:No results are shown. It is not possible to select anything

5. Single selection selector

Expected Result:When selected one, selected item is included con caller window. Otherwise, nothing happens because only one selection is necessary.

6. Cancel selection with no data

Expected Result:Caller window selector textbox remains blank. It is possible to reopen the selector and choose a new record.

7. Cancel selection with data

Expected Result:Caller window selector textbox goes blank. It is possible to reopen the selector and choose a new record.

Sales Order Line selector

1. Click the icon

Expected Result:Only records matching selection are displayed

4. No data listed

Expected Result:No results are shown. It is not possible to select anything

5. Single selection selector

Expected Result:When selected one, selected item is included con caller window. Otherwise, nothing happens because only one selection is necessary.

6. Cancel selection with no data

Expected Result:Caller window selector textbox remains blank. It is possible to reopen the selector and choose a new record.

7. Cancel selection with data

Expected Result:Caller window selector textbox goes blank. It is possible to reopen the selector and choose a new record.

Shipment/Receipt selector

1. Click the icon

Expected Result:All available records are shown

2. No data listed

Expected Result:No results are shown. It is not possible to select anything

3. Single selection selector

Expected Result:When selected one, selected item is included con caller window. Otherwise, nothing happens because only one selection is necessary.

6. Cancel selection with no data

Expected Result:Caller window selector textbox remains blank. It is possible to reopen the selector and choose a new record.

7. Cancel selection with data

Expected Result:Caller window selector textbox goes blank. It is possible to reopen the selector and choose a new record.

Shipment/Receipt Line selector

1. Data selection

Expected Result:All available records are shown

2. No data listed

Expected Result:No results are shown. It is not possible to select anything

3. Single selection selector

Expected Result:When selected one, selected item is included con caller window. Otherwise, nothing happens because only one selection is necessary.

4. Cancel selection with no data

Expected Result:Caller window selector textbox remains blank. It is possible to reopen the selector and choose a new record.

5. Cancel selection with data

Expected Result:Caller window selector textbox goes blank. It is possible to reopen the selector and choose a new record.

Results

All the bugs will be reported with the prefix QA-AJAXG.

Please click here to see all the bugs

Please click here to see all the OPEN bugs

Retrieved from "http://wiki.openbravo.com/wiki/QA_test_plan_2.40/Ajax_Grids"

This page has been accessed 637 times. This page was last modified 06:33, 2 October 2008. Content is available under Creative Commons Attribution-ShareAlike 2.5 Spain License.


Category: QualityAssurance