QA test plan 2.40/Ajax Grids
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
- Three Customers
- One Customer with one contact and one address
- Search key: CUSA
- Name: Customer A
- Contact: contactCusA
- Location: sampleStreet 00, Pamplona, Navarra, Spain
- One Customer with three contacts and three addresses
- Search key: CUSB
- Name: Customer B
- Contact 1: directorCusB
- Contact 2: secretaryCusB
- Contact 3: salesmanCusB
- Location 1: sampleStreet 00, Pamplona, Navarra, Spain
- Location 2: warehouseStreet 00, Pamplona, Navarra, Spain
- Location 3: branchStreet 00, Pamplona, Navarra, Spain
- One Customer with no contacts and no addresses
- Search key: CUSC
- Name: Customer C
- One Customer with one contact and one address
- One Vendor
- Search key: VA
- Name: Vendor A
- One Employee
- Search key: EMPA
- Name: Employee A
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
- Available fields
- Alias
- Accounting Combination
- Organization
- Account
- Product
- Business Partner
- Project
- Campaign
- [Save Button]
- Where to test this selector:
- Login with role access to Financial management module
- Go to Financial management->Accounting->Transaction->G/L Journal->Batch
- Click New and fill the mandatory fields. Save
- Move to Header tab, click New and save
- Move to the Lines tab
- Click New and click on the Account combination icon and follow the following test cases:
1. Data selection
- Steps:
- Open selector from a blank field
- Do not enter any filter
- Click Search button
Expected Result:All available records are shown
2. Data selection with Search Key
- Steps:
- On selection field, enter part of search key and press Enter key
- Default filter (search key) is entered text plus %
Expected Result:Only records matching selection are displayed
3. Data selection with Accounting combination
- Steps:
- On selection field, enter part of the accounting combination and press click on icon (to open selector)
- Default filter (name) is entered text plus %
Expected Result:Only records matching selection are displayed
4. No data listed
- Steps:
- Open selector from a blank field
- Filter in a way that no records will be shown
- Click Search button
Expected Result:No results are shown. It is not possible to select anything
5. Single selection selector
- Steps:
- On a single selection selector, choose one, none, two and twenty
- Click Ok button.
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
- Steps:
- With no previous selection, open selector
- Click Cancel button
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
- Steps:
- With a previous selection, open selector
- Click Cancel button
Expected Result:Caller window selector textbox goes blank. It is possible to reopen the selector and choose a new record.
8. Save button usage
- Steps:
- Open Account selector
- Select an Account and click Search button. No record is found.
- If no record found, that means there is no Accounting Combination. For creating, select an Organization and press Save button.
- Close selector.
- Open selector again and select the same account.
Expected Result:The account is shown and can be selected.
Business Partner selector
- Available fields
- Key
- Name
- Contact
- City
- Postal Code
- Region
- Customer / Provider / All
- Where to test this selector:
- Login with role access to Sales management module
- Go to Sales management->Transactions->Sales Order
- Click New and select Transaction Document: Standard Order
- Select business partner.Two possibilities:
- A.- Click on the bp icon and verify:
- When you click the bp icon a pop-up window must show up and the radio button 'customer' must be checked. If you were in the purchase order 'Provider must be checked'
- B.- Or write in the bp box any name, press enter key and verify:
- A pop-up window doesn't show up and the bp box is filled with the name of the business partner (this options looks through the search key of the business partner)
- For both cases verify that the following fields are filled with the corresponding values related with the business partner:
- Invoice from
- The combo box User/Contact
- Price list
- Form of payment
- Payment terms
- Sales representative
- If this does not happen, the selector is not built correctly
1. Data selection
- Steps:
- Open selector from a blank field
- Do not enter any filter
- Click Search button
Expected Result:All available records are shown
2. Data selection with Search Key
- Steps:
- On selection field, enter part of search key and press Enter key
- Default filter (search key) is entered text plus %
Expected Result:Only records matching selection are displayed
3. Data selection with Name
- Steps:
- On selection field, enter part of name and press click on icon (to open selector)
- Default filter (name) is entered text plus %
Expected Result:Only records matching selection are displayed
4. No data listed
- Steps:
- Open selector from a blank field
- Filter in a way that no records will be shown
- Click Search button
Expected Result:No results are shown. It is not possible to select anything
5. Single selection selector
- Steps:
- On a single selection selector, choose one, none, two and twenty
- Click Ok button.
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
- Steps:
- With no previous selection, open selector
- Click Cancel button
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
- Steps:
- With a previous selection, open selector
- Click Cancel button
Expected Result:Caller window selector textbox goes blank. It is possible to reopen the selector and choose a new record.
Business Partner (multiple)
- Available fields
- Key
- Name
- Contact
- City
- Postal Code
- Region
- Customer / Provider / All
- Where to test this selector
You can find this selector in any dimensional report. For example going to Sales management->Analysis Tools->Sales dimensional report
1. Multiple selection selector
- Steps:
- Click on the icon "+" to select records
- Click Search using different filters
- On a multiple selection selector, choose one, none, two and twenty
- Click Ok button.
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
- Steps:
- Supposing that there are records in the box
- Select one record from the box
- Click "-" icon
Expected Result:That record should disappear from the box
3. Remove all the records form the selector
- Steps:
- Supposing that there are records in the box
- Click "---" icon
Expected Result:All the records should remove
Debt/Payment selector
- Available fields
- Business Partner
- Payment Rule
- Date planned from
- Date planned to
- Order
- Invoice
- Amount From
- Amount To
- Paid Check
- Pending Check
- Receipt Check
- where to find this selector
- Login with role access to Financial management
- Go to Financial management->Receivables&Payables->Bank Statement
- Fill the mandatory fields and save
- Move to lines and click on the payment icon
- Select a payment and verify:
- The field Statement Amount is correctly filled
After this execute the following test cases
1. Data selection
- Steps:
- Open selector from a blank field
- Do not enter any filter
- Click Search button
Expected Result:All available records are shown
2. Data selection with Search Key
- Steps:
- On selection field, enter part of search key and press Enter key
- Default filter (search key) is entered text plus %
Expected Result:Only records matching selection are displayed
3. Data selection with Name
- Steps:
- On selection field, enter part of name and press click on icon (to open selector)
- Default filter (name) is entered text plus %
Expected Result:Only records matching selection are displayed
4. No data listed
- Steps:
- Open selector from a blank field
- Filter in a way that no records will be shown
- Click Search button
Expected Result:No results are shown. It is not possible to select anything
5. Single selection selector
- Steps:
- On a single selection selector, choose one, none, two and twenty
- Click Ok button.
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
- Steps:
- With no previous selection, open selector
- Click Cancel button
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
- Steps:
- With a previous selection, open selector
- Click Cancel button
Expected Result:Caller window selector textbox goes blank. It is possible to reopen the selector and choose a new record.
Invoice selector
- Available fields
- Doc No
- Order
- Business Partner
- Type
- From Date
- To Date
- Total Amount From
- Total Amount To
- Description
- Where to find this selector
- Login with role access to Sales management
- Go to Sales management->Transactions->Sales invoice
- Click new and fill all the mandatory fields
- Click the button "Copy lines"
Now follow these test cases
1. Data selection
- Steps:
- Open selector from a blank field
- Do not enter any filter
- Click Search button
Expected Result:All available records are shown
2. Data selection with Search Key
- Steps:
- On selection field, enter part of search key and press Enter key
- Default filter (search key) is entered text plus %
Expected Result:Only records matching selection are displayed
3. Data selection with Name
- Steps:
- On selection field, enter part of name and press click on icon (to open selector)
- Default filter (name) is entered text plus %
Expected Result:Only records matching selection are displayed
4. No data listed
- Steps:
- Open selector from a blank field
- Filter in a way that no records will be shown
- Click Search button
Expected Result:No results are shown. It is not possible to select anything
5. Single selection selector
- Steps:
- On a single selection selector, choose one, none, two and twenty
- Click Ok button.
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
- Steps:
- With no previous selection, open selector
- Click Cancel button
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
- Steps:
- With a previous selection, open selector
- Click Cancel button
Expected Result:Caller window selector textbox goes blank. It is possible to reopen the selector and choose a new record.
Invoice Line selector
- Available fields
- Doc No
- Reference Order
- Business Partner
- Product
- From Date
- To Date
- Total Amount From
- Total Amount To
- Description
- Where to find this selector
- Login with role access to Project&Service management
- Go to Project&Service management->Transactions->Expense sheet
- Click new and fill the mandatory field. Save
- Move to lines and click new
- You might not see the invoice line field. If not, modify the application dictionary to make it show
- When you can see follow the next test cases:
1. Data selection
- Steps:
- Open selector from a blank field
- Do not enter any filter
- Click Search button
Expected Result:All available records are shown
2. Data selection with Search Key
- Steps:
- On selection field, enter part of search key and press Enter key
- Default filter (search key) is entered text plus %
Expected Result:Only records matching selection are displayed
3. Data selection with Name
- Steps:
- On selection field, enter part of name and press click on icon (to open selector)
- Default filter (name) is entered text plus %
Expected Result:Only records matching selection are displayed
4. No data listed
- Steps:
- Open selector from a blank field
- Filter in a way that no records will be shown
- Click Search button
Expected Result:No results are shown. It is not possible to select anything
5. Single selection selector
- Steps:
- On a single selection selector, choose one, none, two and twenty
- Click Ok button.
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
- Steps:
- With no previous selection, open selector
- Click Cancel button
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
- Steps:
- With a previous selection, open selector
- Click Cancel button
Expected Result:Caller window selector textbox goes blank. It is possible to reopen the selector and choose a new record.
Locator selector
- Available fields
- Alias
- Warehouse
- Corridor
- Shelves
- Height
- Where to find this selector:
- Login with role access to Master data management
- Go to Master data management->Product
- Click new and fill all the mandatory fields
- Click on the locator icon and follow the next test cases
1. Data selection
- Steps:
- Open selector from a blank field
- Do not enter any filter
- Click Search button
Expected Result:All available records are shown
2. Data selection with Search Key
- Steps:
- On selection field, enter part of search key and press Enter key
- Default filter (search key) is entered text plus %
Expected Result:Only records matching selection are displayed
3. Data selection with Name
- Steps:
- On selection field, enter part of name and press click on icon (to open selector)
- Default filter (name) is entered text plus %
Expected Result:Only records matching selection are displayed
4. No data listed
- Steps:
- Open selector from a blank field
- Filter in a way that no records will be shown
- Click Search button
Expected Result:No results are shown. It is not possible to select anything
5. Single selection selector
- Steps:
- On a single selection selector, choose one, none, two and twenty
- Click Ok button.
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
- Steps:
- With no previous selection, open selector
- Click Cancel button
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
- Steps:
- With a previous selection, open selector
- Click Cancel button
Expected Result:Caller window selector textbox goes blank. It is possible to reopen the selector and choose a new record.
Product selector
- Available fields
- Key
- Name
- Warehouse
- Price list version
Where to find this selector
- Login with role access to Sales management
- Go to Sales management->Transactions->Sales invoice
- Click new and fill all the mandatory fields. Save
- Move to tab Lines and click New. There are two possibilities:
- A.- Click on the product icon and verify:
- When you click the product icon a pop-up window must show up.
- The price list combo must be filled with the value of the prices list that is on the header
- Click search and select one product
- B.- Or write in the product box the name of a product, click Enter key and verify:
- A pop-up window doesn't show up and the product box is filled with the name of the product (if the filled name is the same as the search key of the product)
- For both cases verify the following fields are correctly filled
- UOM
- Unit price
- List price
- Tax
Then follow the next test cases
1. Data selection
- Steps:
- Open selector from a blank field
- Do not enter any filter
- Click Search button
Expected Result:All available records are shown
2. Data selection with Search Key
- Steps:
- On selection field, enter part of search key and press Enter key
- Default filter (search key) is entered text plus %
Expected Result:Only records matching selection are displayed
3. Data selection with Name
- Steps:
- On selection field, enter part of name and press click on icon (to open selector)
- Default filter (name) is entered text plus %
Expected Result:Only records matching selection are displayed
4. No data listed
- Steps:
- Open selector from a blank field
- Filter in a way that no records will be shown
- Click Search button
Expected Result:No results are shown. It is not possible to select anything
5. Single selection selector
- Steps:
- On a single selection selector, choose one, none, two and twenty
- Click Ok button.
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
- Steps:
- With no previous selection, open selector
- Click Cancel button
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
- Steps:
- With a previous selection, open selector
- Click Cancel button
Expected Result:Caller window selector textbox goes blank. It is possible to reopen the selector and choose a new record.
Product selector (multiple)
- Available fields
- Key
- Name
- Warehouse
- Price list version
- Where to find this selector
- Login with role access to Sales management
- Go to Sales management->Analysis tools->Sales Dimensional report
1. Multiple selection selector
- Steps:
- Click on the icon "+" to select records
- Click Search using different filters
- On a multiple selection selector, choose one, none, two and twenty
- Click Ok button.
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
- Steps:
- Supposing that there are records in the box
- Select one record from the box
- Click "-" icon
Expected Result:That record should disappear from the box
3. Remove all the records form the selector
- Steps:
- Supposing that there are records in the box
- Click "---" icon
Expected Result:All the records should remove
Product Complete selector
- Available fields
- Key
- Name
- Warehouse
- With stock check
- Where to find this selector
- Login with role access to Warehouse management
- Go to Warehouse management->Transactions->Physical inventory
- Click new and fill the mandatory fields. Save
- Move to lines and click new
- Click on the icon button
- Select one product and verify the following fields are properly filled:
- Attribute set value
- Storage bin
- Quantity count
- UOM
- Book quantity
Then follow the next steps
1. Data selection
- Steps:
- Open selector from a blank field
- Do not enter any filter
- Click Search button
Expected Result:All available records are shown
2. Data selection with Search Key
- Steps:
- On selection field, enter part of search key and press Enter key
- Default filter (search key) is entered text plus %
Expected Result:Only records matching selection are displayed
3. Data selection with Name
- Steps:
- On selection field, enter part of name and press click on icon (to open selector)
- Default filter (name) is entered text plus %
Expected Result:Only records matching selection are displayed
4. No data listed
- Steps:
- Open selector from a blank field
- Filter in a way that no records will be shown
- Click Search button
Expected Result:No results are shown. It is not possible to select anything
5. Single selection selector
- Steps:
- On a single selection selector, choose one, none, two and twenty
- Click Ok button.
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
- Steps:
- With no previous selection, open selector
- Click Cancel button
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
- Steps:
- With a previous selection, open selector
- Click Cancel button
Expected Result:Caller window selector textbox goes blank. It is possible to reopen the selector and choose a new record.
Project selector
- Available fields
- Key
- Name
- Business Partner
- Where to find this selector
- Login with role access to Procurement management
- Go to Procurement management->Transactions->Purchase order
- Click new and fill the mandatory fields. Save
- Click on Project icon and follow the next test cases
1. Data selection
- Steps:
- Open selector from a blank field
- Do not enter any filter
- Click Search button
Expected Result:All available records are shown
2. Data selection with Search Key
- Steps:
- On selection field, enter part of search key and press Enter key
- Default filter (search key) is entered text plus %
Expected Result:Only records matching selection are displayed
3. Data selection with Name
- Steps:
- On selection field, enter part of name and press click on icon (to open selector)
- Default filter (name) is entered text plus %
Expected Result:Only records matching selection are displayed
4. No data listed
- Steps:
- Open selector from a blank field
- Filter in a way that no records will be shown
- Click Search button
Expected Result:No results are shown. It is not possible to select anything
5. Single selection selector
- Steps:
- On a single selection selector, choose one, none, two and twenty
- Click Ok button.
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
- Steps:
- With no previous selection, open selector
- Click Cancel button
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
- Steps:
- With a previous selection, open selector
- Click Cancel button
Expected Result:Caller window selector textbox goes blank. It is possible to reopen the selector and choose a new record.
Sales Order selector
- Available fields
- Doc No
- Reference Order
- Business Partner
- From Date
- To Date
- Total Amount From
- Total Amount To
- Description
- Where to find this selector
- Login with role access to Procurement management
- Go to Procurement management->Transactions->Purchase order
- Click new and fill the mandatory fields. Save
- Click the button "Copy from order" and follow the next test cases
1. Data selection
- Steps:
- Open selector from a blank field
- Do not enter any filter
- Click Search button
Expected Result:All available records are shown
2. Data selection with Search Key
- Steps:
- On selection field, enter part of search key and press Enter key
- Default filter (search key) is entered text plus %
Expected Result:Only records matching selection are displayed
3. Data selection with Name
- Steps:
- On selection field, enter part of name and press click on icon (to open selector)
- Default filter (name) is entered text plus %
Expected Result:Only records matching selection are displayed
4. No data listed
- Steps:
- Open selector from a blank field
- Filter in a way that no records will be shown
- Click Search button
Expected Result:No results are shown. It is not possible to select anything
5. Single selection selector
- Steps:
- On a single selection selector, choose one, none, two and twenty
- Click Ok button.
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
- Steps:
- With no previous selection, open selector
- Click Cancel button
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
- Steps:
- With a previous selection, open selector
- Click Cancel button
Expected Result:Caller window selector textbox goes blank. It is possible to reopen the selector and choose a new record.
Sales Order Line selector
- Available fields
- Doc No
- Reference Order
- Business Partner
- Product
- From Date
- To Date
- Total Amount From
- Total Amount To
- Description
- No delivered/No received
- Invoiced No
- Where to find this selector
- Login with role access to Sales management
- Go to Sales management->Transactions->Sales invoice
- Click new and fill the mandatory fields.Save
- Move to lines and click new. Fill the mandatory fields
- Click the sales order line icon. (If it is not editable you must change the application dictionary)
- Follow the next test cases
1. Click the icon
- Steps:
- Default filter (name) is entered text plus %
Expected Result:Only records matching selection are displayed
4. No data listed
- Steps:
- Open selector from a blank field
- Filter in a way that no records will be shown
- Click Search button
Expected Result:No results are shown. It is not possible to select anything
5. Single selection selector
- Steps:
- On a single selection selector, choose one, none, two and twenty
- Click Ok button.
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
- Steps:
- With no previous selection, open selector
- Click Cancel button
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
- Steps:
- With a previous selection, open selector
- Click Cancel button
Expected Result:Caller window selector textbox goes blank. It is possible to reopen the selector and choose a new record.
Shipment/Receipt selector
- Available fields
- Doc No
- Reference Order
- Business Partner
- From Date
- To Date
- Description
- Sale Transaction check
- Where to find these selector
- Login with role access to Sales management
- Go to Sales management->Transactions->Goods receipt
- Click New and fill all the mandatory fields
- Click on button "Update shipment attributes" (If you cannot see it , please change the application dictionary to see it)
- Then follow the test cases
1. Click the icon
- Steps:
- Click the icon
- Do not enter any filter
- Click Search button
Expected Result:All available records are shown
2. No data listed
- Steps:
- Open selector clicking the icon
- Filter in a way that no records will be shown
- Click Search button
Expected Result:No results are shown. It is not possible to select anything
3. Single selection selector
- Steps:
- Open selector clicking the icon
- On a single selection selector, choose one, none, two and twenty
- Click Ok button.
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
- Steps:
- With no previous selection, open selector
- Click Cancel button
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
- Steps:
- With a previous selection, open selector
- Click Cancel button
Expected Result:Caller window selector textbox goes blank. It is possible to reopen the selector and choose a new record.
Shipment/Receipt Line selector
- Available fields
- Doc No
- Reference Order
- Business Partner
- Product
- From Date
- To Date
- Description
- Invoiced check
- Where to find this selector
- Login with role access to Sales management
- Go to Sales management->Transactions->Sales invoice
- Click new and fill the mandatory fields.Save
- Move to lines and click new. Fill the mandatory fields
- Click the Shipment line icon. (If it is not editable you must change the application dictionary)
- Follow the next test cases
1. Data selection
- Steps:
- Click the icon
- Do not enter any filter
- Click Search button
Expected Result:All available records are shown
2. No data listed
- Steps:
- Open selector from a blank field
- Filter in a way that no records will be shown
- Click Search button
Expected Result:No results are shown. It is not possible to select anything
3. Single selection selector
- Steps:
- On a single selection selector, choose one, none, two and twenty
- Click Ok button.
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
- Steps:
- With no previous selection, open selector
- Click Cancel button
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
- Steps:
- With a previous selection, open selector
- Click Cancel button
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
Category: QualityAssurance

