Difference between revisions of "OpenOffice NetBeans Integration QA"
From Apache OpenOffice Wiki
(test case plan) |
(→Test Automation) |
||
(One intermediate revision by the same user not shown) | |||
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= | |
− | + | 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 quite well. | ||
+ | **Install/ Update the following pakages for the user, dont install as shared: | ||
+ | *** Jemmy Module | ||
+ | *** Jemmy Support | ||
+ | *** Jellytools | ||
+ | *** JUnit Tests | ||
+ | *** NB JUnit | ||
+ | *** XTest Module | ||
+ | **It currently works (best) with NetBeans 5.5.1 | ||
+ | *Tests are at http://api.openoffice.org/source/browse/api/oonetbeansintegration/ooextensions/test/ | ||
+ | *There have to be made some adjustments to some files: | ||
+ | **api/oonetbeansintegration/ooextensions/test/qa-functional/src/TestAllResourcesTest/TestAllResourcesTest.java | ||
+ | ***Set location of the to test .nbm file around line: 195 (There may be still some problems to solve.) | ||
+ | ***Set location of OOo and SDK around line: 260 | ||
+ | **api/oonetbeansintegration/ooextensions/test/build.xml | ||
+ | ***adjust property name="xtest.home" | ||
+ | ***adjust property name="netbeans.user" | ||
+ | |||
+ | =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== |
Latest revision as of 11:50, 20 June 2007
Contents
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 quite well.
- Install/ Update the following pakages for the user, dont install as shared:
- Jemmy Module
- Jemmy Support
- Jellytools
- JUnit Tests
- NB JUnit
- XTest Module
- It currently works (best) with NetBeans 5.5.1
- Install/ Update the following pakages for the user, dont install as shared:
- Tests are at http://api.openoffice.org/source/browse/api/oonetbeansintegration/ooextensions/test/
- There have to be made some adjustments to some files:
- api/oonetbeansintegration/ooextensions/test/qa-functional/src/TestAllResourcesTest/TestAllResourcesTest.java
- Set location of the to test .nbm file around line: 195 (There may be still some problems to solve.)
- Set location of OOo and SDK around line: 260
- api/oonetbeansintegration/ooextensions/test/build.xml
- adjust property name="xtest.home"
- adjust property name="netbeans.user"
- api/oonetbeansintegration/ooextensions/test/qa-functional/src/TestAllResourcesTest/TestAllResourcesTest.java
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