Testname: Datapilot

Document Owner:

Frank Stecher

Last document change:

07.01.2010

Status of document:

Preliminary

Valid for version: OpenOffice.org_2.4, OpenOffice.org_3.0, OpenOffice.org_3.1, OO, OpenOffice.org_3.2

Test purpose:

Check the Datapilot functionality


Known issues:


Preconditions of test:

. / .

Test documents:

http://www.openoffice.org/nonav/issues/showattachment.cgi/49471/datapilot_testdocument.ods
http://www.openoffice.org/nonav/issues/showattachment.cgi/49472/Datapilot_grouping_testdocument.ods

Testcases:


Buttons and functionality Status: Standard -

  • Download and open the datapilot_testdocument.ods
  • Select Start from Data -> Datapilot.
  • Press the Ok Button for the current Selection.
  • Drag and Drop Area to Page Fields, Products to Column Fields, Salesman to Row Fields and 2000, 2001 and 2002 into the Data Fields section of the Datapilot Window and click on Ok.
  • The Datapilot has to cover A23 with a filter button, A24 with an Area button, B24 with a dropdown listbox and A26:F48 with the datapilot data area.
  • Make sure F48 contains 3899000, A40 contains Robinson, C26 a Products button and D35 60000
  • Drag & Drop the Products button from C26 to A28 The datapilot area must have changed to cover A26:D80
  • Make sure you have a button Salesman in A26, Products in B26 and Data in C26
  • Drag & Drop the Salesman button from A26 to D26 The datapilot area must have changed to cover A26:I39
  • Make sure you have a button Salesman in C26, Products in A27 and Data in B27
  • Check that A28 shows Audio, A31 DVD and A34 Video. The total Result in I37 must show 3184000
  • Drag and Drop the Data button from B27 to D22. A warning should appear stating "The Data range can not be deleted" Confirm this dialog by clicking on Ok
  • Drag and Drop the Products button from A27 to D45. The products data must be removed from the datapilot and the datapilot area must cover A26:H33
  • Drag and Drop the Area button from A24 to B40. The filter button must change its position to A24 and the dropdown listbox from B24 must have gone too.

  • A Click on the Filter-Button must start the Standard filter dialog.
  • Choose the fieldname Salesman in the Filter dialog set condition to equal and Value to Brown. Click on Ok
  • Only Values for Salesman Brown must be shown and F32 must show 430000
  • Click again on Filter and select - None - as Field name, all Salesman must be shown again, F48 must show 3899000
  • Place the cell cursor on D32 and open the context menu.
  • Check the functionality of the items found as  follows :
    • Search (if the Sun Search toolbar is installed) Contains Search the Web and Create Hyperlink to search Google.
    • Start (opens the DataPilot configuration Editor) Close the dialog by clicking on Cancel
    • Refresh (Rebuilds the DataPilot output based on New entered Data. To check that it works, change A21 from DVD to HD, Context Menu, Refresh. A new Column HD is inserted into the DataPilot)
    • Filter (Opens the Standard Filter dialog) Close the dialog by clicking on Cancel
    • Delete (Removes the DataPilot from the Sheet) Select D32 and Delete from the context menu. The datapilot must have gone. Press CTRL+Z to undo the deletion of the datapilot.
    • Cut (Cuts cell content into the clipboard) Select D35 and select cut from the context menu. Select Sheet3.B2 and paste from the context menu. Sheet3.B2 should show 60000. Switch back to Sheet1
    • Copy (Copys cell content into the clipboard) Select D36 and select copy from the context menu. Select Sheet3.B4 and paste from the context menu. Sheet3.B4 should show 90000. Switch back to Sheet1
    • Paste (Pastes the clipboard into the selected cell) Select D32 and paste from the context menu. D32 must show 90000

  • If any of the conditions above is not met, file an Issue for the use case.

  • Double click on C27. A dialog named Show Detail should be opened. Select Area and click Ok
  • Next to the Products field in C25 should have been appeared another field named Area. C27:F27 should contain the citys from the Area section of the underlying data range (Boston, Chicago, Miami and New York) and the details regarding the Audio Products must show up in C28:F45. F39 must show 234000 and A42 must show 180000
  • Double click G26. The Area details must also appear for DVD"s covering G27:I45 with I45 showing 70000.
  • Double click G26 again. The details have to be hidden again with I45 showing 710000.
  • Select C26 and from the context menu Delete
  • Place the cell cursor on A17 and Select Start from Data -> Datapilot.
  • Press the Ok Button for the current Selection.
  • Drag and Drop Area to Page Fields, Products to Column Fields, Salesman to Row Fields and 2000, 2001 and 2002 into the Data Fields section of the Datapilot Window
  • Double click on the Sum - 2002 field
  • A dialog opens. Click on Cancel in this dialog. If it doesn"t close file an Issue.
  • Click on the Options Button in the DataPilot dialog.
  • The Data Field dialog opens again. Click on Help. The Help system opens. If not file an Issue. Close the Help system. Press ESC on the keyboard. The dialog must have been closed, if not file an Issue.
  • Press ALT+O. The Data Field dialog opens again. If not file an Issue.
  • Click on the More Button. The Dialog extends to the bottom showing the section Displayed value. In the Type drop down list box select Runnig total in and set the Base field drop down list box to Products. Click on Ok. If you get an Error message, file an Issue.
  • Double Click on Products in the Column field section.
  • The Data Field dialog comes up. Click on the Radio Button in front of User-defined in the Subtotals section. Select Count as option, tag the checkbox for "Show Items without data". If any of these actions is not possible, file an Issue.
  • Press ALT+O on the Keyboard to open the Data Field Options dialog.
  • Set the Sort by dropdown list box to 2000, the Radio Button in front of Descending and the check box in front of Show in the Show automatically section. Decrease the spin field to show 5 items, the drop down list box From to Bottom and the Using Field drop down list box to 2001. In the Hide Items section set the checkbox in front of DVD to active. If any of these settings are not possible, file an Issue.
  • Close all these Dialogs by pressing ESC as long as all dialogs are closed.
  • Select C31 and from the context menu Delete
  • Click on A45. Click on the datarange chooser at the left of the f(x) button on the toolbar. Erase the A45 and type datapilotstestrange followed by RETURN
  • Select C20 and Select Start from Data -> Datapilot.
  • Press the Ok Button for the current Selection.
  • Drag and Drop Area to Page Fields, Products to Column Fields, Salesman to Row Fields and 2000, 2001 and 2002 into the Data Fields section of the Datapilot Window and click on the More button.
  • Set the drop down list box for "Results to" to datapilotstestrange. The inputline next to this list box must change to $Sheet1.$A$45 . If not file an Issue.
  • Tag the Checkboxes for "Ignore empty rows" and "Identify categories"
  • Click on Ok. The DataPilot must start with the Filter field placed on A45. If not, file an Issue.
  • Select C53 and choose start from the context menu
  • Click on the More Button
  • Set the drop down list box for "Results to" to "- new sheet -"
  • Untag the six checkboxes found in the result section
  • Click on the Ok button.
  • A new sheet must habe been created named "DataPilot_Sheet1_1". If not file an Issue.
  • The DataPilot must start on the new Sheet at A1 with the Area field and the associated Drop down list box in B1. If not, file an Issue.
  • Is any total or Subtotal Result for the fields shown, file an Issue.
  • Double Click on C4. If the cell does not switch into Edit mode, file an Issue.
  • Right click on C5 and Choose Start from the Context menu. Click on the More Button on the DataPilot dialog.
  • Click on the Shrink Button next to the input line in the Result section. The Dialog shrinks to a single line. If not file an Issue.
  • Click on F26 and press the RETURN key on the keyboard. The DataPilot dialog must appear again. If not file an Issue.
  • The input line must show "$DataPilot_Sheet1_1.$F$26". If not, file an Issue. Click on Ok. The DatPilot must start now at F26 and remain at A1.
  • Close the document without saving it.

Pagefields Status: Standard -

  • Load testdocument datapilot_testdocument.ods
  • Click on Cell B5
  • Select Start from the Menu Data-Datapilot and press the Ok Button for the current Selection.
  • Drop PRODUCTS to page fields, AREA to column fields, SALESMAN to row fields and the years to data fields
  • Close dialog by OK
  • Check if the listbox in Cell B24 is set to -all-
  • Choose DVD from listbox (B24)
  • Check if F28 has changed to 25000
  • Reset listbox to -all-

  • Click on FILTER
  • Choose SALESMAN as Field name = as Condition and BUSH as Value. Click OK
  • Check if there is no entry for DVD in the listbox
  • Save the document with a new name (Press CTRL+SHIFT+S), close it (CTRL+W) and reload it from the File Menu - Recent Documents
  • Check if the datapilot is still alive with all entries.
  • Close the document

Tableoptions Status: Standard -

  • Load test document datapilot_testdocument.ods
  • Click on Cell B5
  • Select Start from Data -> Datapilot and press the Ok Button for the current Selection.
  • Drop AREA to column fields, SALESMAN to row fields and the years to data fields
  • Doubleclick first entry in the datefields and click on MORE button.
  • Uncheck ADD FILTER and ENABLE DRILL TO DETAILS
  • Press OK
  • Check if there is no filter field on top of the created data pilot table.
  • Doubleclick A25 (Brown) and check if the cell is now in editmode. Leave cell.
  • Open datapilot dialog via context menu START.
  • Check ADD FILTER and ENABLE DRILL TO DETAILS and press OK. Confirm the overwrite warning with yes
  • Verify that there is a filter field on top of the data pilot table.
  • Doubleclick A25 (Brown). The dialog SHOW DETAILS appears.
  • Choose PRODUCTS and click OK.
  • Verify that the details for BROWN are shown.
  • Select A37 and A40 and choose Menu DATA-OUTLINE-SHOW DETAILS
  • The details for Bush and Elvis must be shown.
  • Close the document.

Grouping Status: Standard -

  • Load test document Datapilot_grouping_testdocument.ods
  • Click on Cell B5 and select start from the Menu Data - Datapilot then press the Ok Button for the current Selection.
  • Drop Type to page fields, date to row fields, city, number and seller to column fields and revenue to datafields.
  • Press OK
  • Select A57 and open grouping dialog via DATA-GROUP AND OUTLINE-GROUP...
  • Check grouping for month, quarter and years and press OK.
  • Verify that there are columns for years quarters and months in the datapilottable.
  • Press F12 and change Start and END from automatic to manually (start with 2005 and end with 2006, the dataformat is localedependant). Press ok.
  • Verify that there is a starting row with < 2005 and an ending row with >2006.
  • Press CTRL-F12 and verify that the grouping is deleted.
  • Select B50 and press F12.
  • Change Start and End from automatic to manually (start with 0 and end with 1) and Group By to 0.1
  • Press OK and verify that the numberrow is grouped. B50 shows 0-0.1, C50 shows 0.1-0.2 and so on.
  • Close the document.


Manual Sort Status: Standard -

  • Download and open the datapilot_testdocument.ods
  • Click on Cell B5
  • Select Start from the Menu Data - Datapilot.
  • Press the Ok Button for the current Selection.
  • Drag and Drop Area to Page Fields, Products to Column Fields, Salesman to Row Fields and 2000, 2001 and 2002 into the Data Fields section of the Datapilot Window
  • Click on the Salesman Icon in the row section and press ALT+O to open the Options dialog.
  • The Data Field dialog opens.
  • Type ALT+O again, the Data Fields Options dialog opens. Make sure the Sort by section for Salesman is set to Ascending.
  • Click on Ok to close the options dialog. Click on Ok to close the Data Field dialog. Click on Ok to activate the DataPilot.
  • Click on A28, to select the cell press and hold the CTRL Key while clicking on A28 again.
  • Drag & Drop A28 to A46. Beginning with the drag operation a thick black line indicating that this row is selected and will be inserted above this line appears. If not file an Issue.
  • After the drop, the whole Brown section must appear at A43:F45
  • Open the context menu and choose Start... Doubleclick on Salesman in the Row section, click on Options, click on Options and check that Sort by is set to Manual. If not, file an Issue.
  • Click on A34 and press CTRL+C, select A28 and press CTRL+V
  • The Jackson area must have changed to A28:F30
  • Click on A37 and press CTRL+X, select A31 and press CTRL+V
  • The Robinson area must have changed to A31:F33
  • Click on C27 and press CTRL+C, select F27 and press CTRL+V
  • The Audio section must have changed to E27
  • Close the document without saving

DataPilot Details Status: Standard -

  • Download and open the datapilot_testdocument.ods
  • Click on Cell B5
  • Select Start from the Menu Data - DataPilot.
  • Press the Ok Button for the current Selection.
  • Drag and Drop Area to Page Fields, Products to Column Fields, Salesman to Row Fields and 2000, 2001 and 2002 into the Data Fields section of the DataPilot Window
  • Click on Ok to get the DataPilot created
  • Select Sheet3. Select Sheet... from the Insert-Menu
  • Tag the radio Button for "After current Sheet"
  • Change the Spin box the number of Sheets to show 253 and click on Ok
  • The Status bar must show "Sheet 4 / 256", If not file an Issue
  • Select Sheet1 and doubleclick on D28. A Dialog appears stating "The table could not be inserted" If this dialog doesn"t come up, file an Issue.
  • Confirm the dialog
  • Perform an Undo. The previously inserted Sheets should have been gone and Sheet3 is selected.
  • Select Sheet1 and doubleclick on F28.
  • A new Sheet (Sheet4) is inserted in front of Sheet1 showing the data used to calculate the content of cell F28. Select D5:F5 and click on the Autosum symbol in the formula bar. Compare D5, E5 and F5 with F28:F30 on Sheet1. The results must match. If not file an Issue.

DataPilot custom display names Status: Standard -

  • Download and open the datapilot_testdocument.ods
  • Select Start from Data -> Datapilot.
  • Press the Ok Button for the current Selection.
  • Drag and Drop Area to Page Fields, Products to Column Fields, Salesman to Row Fields and 2000 into the Data Fields section of the Datapilot Window and click on Ok.
  • Travel to cell A27 with cursorkeys (do not click by mouse)
  • Change the label "Salesman" to "Label1"
  • Travel to cell B26 with cursorkeys (do not click by mouse)
  • Change the label "Products" to "Label2"
  • Travel to cell A34
  • Change the label "Total Results" to "Label3"
  • Verify that cell E27 has also changed from Total Result to Label3
  • Refresh the datapilot by DATA-DATAPILOT-REFRESH and check if the new labels are still there.
  • Save the file and reload it
  • Check if the new labels are still there.
  • Close the document

DataPilot enhanced field popup window Status: Preliminary -

  • Download and open the datapilot_testdocument.ods
  • Click on Cell B5
  • Select Start from the Menu Data - DataPilot.
  • Press the Ok Button for the current Selection.
  • Drag and Drop Area to Page Fields, Products to Column Fields, Salesman to Row Fields and 2000, 2001 and 2002 into the Data Fields section of the DataPilot Window
  • Click on Ok to get the DataPilot created
  • Click on the arrowbutton on cell A27.
  • Verify that the enhanced field popup window has opened.
  • Verify that there are 6 entries in the listbox.
  • Click on "Sort descending".
  • Verify that the dialog has closed.
  • Reopen the dialog and verify that the entries are now sorted descending.
  • Click on "Sort ascending".
  • Verify that the dialog has closed.
  • Reopen the dialog and verify that the entries are now sorted ascending.
  • Move mouse over "Custom Sort" and verify that the sortlists are the same as in TOOLS-OPTIONS-SPREADSHEET-SORT LISTS.
  • Open TOOLS-OPTIONS-SPREADSHEET-SORT LISTS and create a new sortlist by clicking the NEW button  and insert "Elvis, Robinson, Jackson, Bush, Brown, Smith". Press ADD button and close the dialog.
  • Click on the arrowbutton on cell A27.
  • Move mouse over "Custom Sort" and use the new sortlist.
  • Verify that the entries are sorted accordingly.
  • Click on the arrowbutton on cell C26 to open the popup window.
  • Verify that all entries are checked and the first entry is selected.
  • Verify that the checkbox ALL is checked.
  • Click on button for showing only the selected item.
  • Verify that only the first (selected) item is checked and the ALL checkbox is in tri-state.
  • Click on button for showing all but the selected item.
  • Verify that only the first (selected) item is unchecked.
  • Check all items.
  • Verify that the ALL checkbox is now checked.
  • Uncheck the first item and press OK
  • Verify that the arrowbutton in cell C26 has now a blue mark in the lower right corner.
  • Close the document

References:

-

Acronyms:

-

testcase specification history

Datapilot

Date Change User
07.01.2010 (09:18:29) testcase details updated Oliver Craemer
07.01.2010 (09:16:52) testcase details updated Oliver Craemer
06.01.2010 (15:34:13) testcase details added Oliver Craemer
05.01.2010 (15:49:38) testcase added Oliver Craemer
05.01.2010 (15:17:59) testcase details updated Oliver Craemer
05.01.2010 (15:06:08) status updated Oliver Craemer
05.01.2010 (15:05:50) testcase details added Oliver Craemer
05.01.2010 (09:32:23) testcase added Oliver Craemer
12.11.2007 (11:43:46) testcase details updated Jogi Sievers
09.11.2007 (16:11:56) status updated Frank Stecher
09.11.2007 (16:11:49) status updated Frank Stecher
09.11.2007 (16:11:33) testcase details updated Frank Stecher
09.11.2007 (16:07:25) testcase details updated Frank Stecher
09.11.2007 (16:02:19) testcase details updated Frank Stecher
09.11.2007 (16:01:42) testcase details updated Frank Stecher
09.11.2007 (16:00:52) testcase details updated Frank Stecher
09.11.2007 (15:59:37) testcase details updated Frank Stecher
09.11.2007 (15:59:24) testcase details updated Frank Stecher
09.11.2007 (15:58:39) testcase details updated Frank Stecher
09.11.2007 (15:55:21) status updated Frank Stecher
09.11.2007 (15:55:11) status updated Frank Stecher
09.11.2007 (15:55:05) testcase :Grouping updated Frank Stecher
09.11.2007 (15:54:09) testcase :Buttons and functionality updated Frank Stecher
07.11.2007 (11:35:08) status updated Frank Stecher
07.11.2007 (11:34:54) status updated Frank Stecher
07.11.2007 (11:34:41) status updated Frank Stecher
07.11.2007 (11:34:27) status updated Frank Stecher
06.11.2007 (15:53:48) testcase details added Frank Stecher
06.11.2007 (15:23:18) testcase added Frank Stecher
06.11.2007 (11:52:07) testcase details added Frank Stecher
06.11.2007 (11:22:42) testcase details updated Frank Stecher
06.11.2007 (11:03:37) testcase details updated Frank Stecher
06.11.2007 (10:49:40) testcase deleted Frank Stecher
02.11.2007 (15:27:27) testcase details updated Frank Stecher
02.11.2007 (15:17:01) testcase details updated Frank Stecher
02.11.2007 (14:31:18) testcase details updated Frank Stecher
01.11.2007 (14:56:41) testcase details updated Frank Stecher
29.10.2007 (15:08:10) testcase details updated Frank Stecher
24.10.2007 (16:55:59) testcase details added Frank Stecher
23.10.2007 Testcase specification created Frank Stecher