Difference between revisions of "OpenOffice NetBeans Integration QA"
From Apache OpenOffice Wiki
(test case plan) |
|||
| Line 1: | Line 1: | ||
[[Category:NetBeans]] | [[Category:NetBeans]] | ||
| − | + | =Test strategy= | |
| + | * Take NetBeans Versions 5.0 5.5 6.0dev | ||
| + | * Use Platforms Solaris Sparc, Solaris x86, Linux, Windows, (MacOS X) | ||
| + | * Use different combinations of OOo/StarOffice SDK and office. | ||
| + | * Go through every wizard and file type of the plugin | ||
| + | * Use NetBeans automation framework - until it works reliable and is completed, do it manually. | ||
| − | + | =Test matrix= | |
| − | Resource test of ' | + | Operating system: Linux Fedora Core 5 |
| − | + | NetBeans IDE: 5.0 Build 200603142030 | |
| − | + | System locale: en_US | |
| − | + | Java DK: 1.5.0_09 Sun Microsystems Inc. | |
| − | + | Office: StarOffice SRC680m198 | |
| − | + | SDK: StarOffice SRC680m199 | |
| − | + | Internal reminder: a-z1-tb-2 | |
| − | + | ||
| − | + | Operating system: Solaris Sparc | |
| − | + | NetBeans IDE: 5.5 Build 200612070100 | |
| + | System locale: de_DE | ||
| + | Java DK: 1.5.0_09 Sun Microsystems Inc. | ||
| + | Office: StarOffice CWS atkbridge06 SRC680m205 | ||
| + | SDK: OOo SRC680m204 | ||
| + | Internal reminder: w-g-tb-3 | ||
| + | |||
| + | Operating system: Windows 2003 | ||
| + | NetBeans IDE: 6.0 Dev Build 200703280911 | ||
| + | System locale: de_DE | ||
| + | Java DK: 1.5.0_11 Sun Microsystems Inc. | ||
| + | Office: OOo SRC680m209 | ||
| + | SDK: OOo SRC680m210 | ||
| + | Internal reminder: v-tbo-1 | ||
| + | |||
| + | Missing due to time problems: Solaris x86. | ||
| + | Missing due to known issues: MacOS X. | ||
| + | |||
| + | =Test Automation= | ||
| + | *Currently automated testing doesn't work. | ||
| + | **It will work soon with NB 6.0 and user installations of the following pakages: | ||
| + | *** Jemmy Module | ||
| + | *** Jemmy Support | ||
| + | *** Jellytools | ||
| + | *** JUnit Tests | ||
| + | *** NB JUnit | ||
| + | *** XTest Module | ||
| + | **After that it has to be solved to work with NB 5.0 & 5.5. | ||
| + | *Tests are at http://api.openoffice.org/source/browse/api/oonetbeansintegration/ooextensions/test/ | ||
| + | |||
| + | |||
| + | =Resource Tests= | ||
| + | ==Presupposition== | ||
| + | Installed OpenOffice.org SDK and OpenOffice.org Application in NetBeans options. | ||
| + | |||
| + | ==On the end of every test== | ||
| + | * From project context menu select: Build Project | ||
| + | * Wait for message in output window: BUILD SUCCESSFUL (total time: ... seconds) | ||
| + | * From project context menu select: Create OXT | ||
| + | * Wait for message in output window: BUILD SUCCESSFUL (total time: ... seconds) | ||
| + | * (Copy created .oxt file for further reference) | ||
| + | * From project context menu select: Deploy Office Extension | ||
| + | * Wait for message in output window: BUILD SUCCESSFUL (total time: ... seconds) | ||
| + | * From project context menu select: Delete Project | ||
| + | * Dialog comes up: Delete Project - Are you shure you want to delete project ...? | ||
| + | * Check the checkbox: Also Delete Sources Under ... Folder. | ||
| + | * Press button: Yes | ||
| + | * Wait for completing: Scanning Class Paths | ||
| + | |||
| + | * Open OpenOffice.org and look for the added function/menu/toolbar | ||
| + | |||
| + | ==Resource test of 'OpenOffice.org Add-On'== | ||
| + | * Open 'File - New Project...' | ||
| + | * First Step of New Project wizard: Choose project | ||
| + | * Select Category: OpenOffice.org | ||
| + | * Select Project: OpenOffice.org Add-On | ||
| + | * Press button: Next | ||
| + | * Second step: Define Add-On Name And Location | ||
| + | * Press button: Next | ||
| + | * Third step: Define User Interface Entry | ||
| + | * Press button: Finished | ||
| − | + | ==Resource test of 'OpenOffice.org Calc Add-In'== | |
| − | + | * Open 'File - New Project...' | |
| − | + | * First Step of New Project wizard: Choose project | |
| − | + | * Select Category: OpenOffice.org | |
| − | + | * Select Project: OpenOffice.org Calc Add-In | |
| − | + | * Press button: Next | |
| − | + | * Second step: Create a new ... project | |
| − | + | * Press button: Next | |
| − | + | * Third step: Define Functions And Descriptions | |
| − | + | * Press button: Finished | |
| − | + | ==Resource test of 'OpenOffice.org Component'== | |
| − | + | * Open 'File - New Project...' | |
| − | + | * First Step of New Project wizard: Choose project | |
| − | + | * Select Category: OpenOffice.org | |
| − | + | * Select Project: OpenOffice.org Component | |
| − | + | * Press button: Next | |
| − | + | * Second step: Name And Location | |
| − | + | * Press button: Next | |
| − | + | * Third step: Define Service | |
| − | + | * Press button: Add Service/Interface ... | |
| − | + | * Dialog comes up: Select a new Data type | |
| − | + | * In listbox 'Display Type', select: Services | |
| − | + | * In treebox select a service | |
| − | + | * Press button: Ok | |
| − | + | * Press button: Define New Data Type ... | |
| − | + | * Dialog comes up: Create New Data Type | |
| − | + | * In listbox 'Data Type', select: Interface | |
| − | + | * Press button: Ok | |
| − | + | * Press button: Finished | |
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | + | =Testing gaps= | |
| − | + | * Localisation functionality | |
| + | * Icons in menus and toolbars | ||
| − | + | =Test Results= | |
| + | ==Version 1.0.0== | ||
Revision as of 10:25, 3 May 2007
Test strategy
- Take NetBeans Versions 5.0 5.5 6.0dev
- Use Platforms Solaris Sparc, Solaris x86, Linux, Windows, (MacOS X)
- Use different combinations of OOo/StarOffice SDK and office.
- Go through every wizard and file type of the plugin
- Use NetBeans automation framework - until it works reliable and is completed, do it manually.
Test matrix
Operating system: Linux Fedora Core 5 NetBeans IDE: 5.0 Build 200603142030 System locale: en_US Java DK: 1.5.0_09 Sun Microsystems Inc. Office: StarOffice SRC680m198 SDK: StarOffice SRC680m199 Internal reminder: a-z1-tb-2
Operating system: Solaris Sparc NetBeans IDE: 5.5 Build 200612070100 System locale: de_DE Java DK: 1.5.0_09 Sun Microsystems Inc. Office: StarOffice CWS atkbridge06 SRC680m205 SDK: OOo SRC680m204 Internal reminder: w-g-tb-3
Operating system: Windows 2003 NetBeans IDE: 6.0 Dev Build 200703280911 System locale: de_DE Java DK: 1.5.0_11 Sun Microsystems Inc. Office: OOo SRC680m209 SDK: OOo SRC680m210 Internal reminder: v-tbo-1
Missing due to time problems: Solaris x86. Missing due to known issues: MacOS X.
Test Automation
- Currently automated testing doesn't work.
- It will work soon with NB 6.0 and user installations of the following pakages:
- Jemmy Module
- Jemmy Support
- Jellytools
- JUnit Tests
- NB JUnit
- XTest Module
- After that it has to be solved to work with NB 5.0 & 5.5.
- It will work soon with NB 6.0 and user installations of the following pakages:
- Tests are at http://api.openoffice.org/source/browse/api/oonetbeansintegration/ooextensions/test/
Resource Tests
Presupposition
Installed OpenOffice.org SDK and OpenOffice.org Application in NetBeans options.
On the end of every test
- From project context menu select: Build Project
- Wait for message in output window: BUILD SUCCESSFUL (total time: ... seconds)
- From project context menu select: Create OXT
- Wait for message in output window: BUILD SUCCESSFUL (total time: ... seconds)
- (Copy created .oxt file for further reference)
- From project context menu select: Deploy Office Extension
- Wait for message in output window: BUILD SUCCESSFUL (total time: ... seconds)
- From project context menu select: Delete Project
- Dialog comes up: Delete Project - Are you shure you want to delete project ...?
- Check the checkbox: Also Delete Sources Under ... Folder.
- Press button: Yes
- Wait for completing: Scanning Class Paths
- Open OpenOffice.org and look for the added function/menu/toolbar
Resource test of 'OpenOffice.org Add-On'
- Open 'File - New Project...'
- First Step of New Project wizard: Choose project
- Select Category: OpenOffice.org
- Select Project: OpenOffice.org Add-On
- Press button: Next
- Second step: Define Add-On Name And Location
- Press button: Next
- Third step: Define User Interface Entry
- Press button: Finished
Resource test of 'OpenOffice.org Calc Add-In'
- Open 'File - New Project...'
- First Step of New Project wizard: Choose project
- Select Category: OpenOffice.org
- Select Project: OpenOffice.org Calc Add-In
- Press button: Next
- Second step: Create a new ... project
- Press button: Next
- Third step: Define Functions And Descriptions
- Press button: Finished
Resource test of 'OpenOffice.org Component'
- Open 'File - New Project...'
- First Step of New Project wizard: Choose project
- Select Category: OpenOffice.org
- Select Project: OpenOffice.org Component
- Press button: Next
- Second step: Name And Location
- Press button: Next
- Third step: Define Service
- Press button: Add Service/Interface ...
- Dialog comes up: Select a new Data type
- In listbox 'Display Type', select: Services
- In treebox select a service
- Press button: Ok
- Press button: Define New Data Type ...
- Dialog comes up: Create New Data Type
- In listbox 'Data Type', select: Interface
- Press button: Ok
- Press button: Finished
Testing gaps
- Localisation functionality
- Icons in menus and toolbars