Thorsten Bosbach

20090302 Montag März 02, 2009

Getting a minimal workenvironment for CWS handling at OpenOffice.org

To be able to open a CWS for testautomation, you do not need to checkout everything from svn repository.
(As an example I used Mac OS X 10.4 PPC)
Create a new directory and go on with:
mkdir DEV300_m38
cd $_
svn checkout svn+ssh://svn@svn.services.openoffice.org/ooo/tags/DEV300_m38/config_office
svn checkout svn+ssh://svn@svn.services.openoffice.org/ooo/tags/DEV300_m38/solenv
svn checkout svn+ssh://svn@svn.services.openoffice.org/ooo/tags/DEV300_m38/dmake
svn checkout svn+ssh://svn@svn.services.openoffice.org/ooo/tags/DEV300_m38/moz
Now go into directory config_office and type ./configure with some switches from:
http://wiki.services.openoffice.org/wiki/AquaBuild#One-Time_preparations_and_scripts

When finished without errors, go up one level and type:
./bootstrap

After that do:
source MacOSXPPCEnv.Set.sh

There should now be the cws command available:
cws help
(Maybe you need to tweak your config a little: http://wiki.services.openoffice.org/wiki/CWS#cws_config_file_.28.cwsrc.29 )
cws create DEV300 tbo04
creates the CWS in the EIS database, but does not change something on your harddisk.

You are now able to start getting your needed testautomation files:
mkdir testautomation
cd $_
svn checkout svn+ssh://svn@svn.services.openoffice.org/ooo/cws/tbo04/testautomation/global
svn checkout svn+ssh://svn@svn.services.openoffice.org/ooo/cws/tbo04/testautomation/YOUR_WANTED_MODULE

 Now you are able to begin your work by changing the files to testautomation.



Gesendet von tbo ( Mär 02 2009, 06:26:31 PM CET ) Permalink Kommentare [1]

20080809 Samstag August 09, 2008

Last major issue solved for automated testing on MacOS X

The last major issue to be solved is the behaviour of the VCL TestTool application after OpenOffice.org crashed.
The quickstarter behaviour needs to get disabled for automated testing, which currently can not be triggered after a crash on MacOS X.
The winning issue which solves this is 86540 which will get integrated with cws gh15. Thanks to GH for getting this done.

In the meantime I also found a workaround for this: Registering a Basic macro to be executed on startup of OpenOffice.org.

[Read More] Gesendet von tbo ( Aug 09 2008, 07:29:16 PM CEST ) Permalink

20080711 Freitag Juli 11, 2008

New version of VCL TestTool Glue version 0.2

This program is used to run and evaluate automatic tests with the VCL TestTool application.
The VCL TestTool application is for GUI testing the OpenOffice.org office suite.

Get VCL TestTool Glue version 0.2.

[Read More] Gesendet von tbo ( Jul 11 2008, 05:36:37 PM CEST ) Permalink

20080610 Dienstag Juni 10, 2008

Using NetBeans IDE Early Access for PHP for Drupal Development

Since NetBeans IDE Early Access for PHP it is nicely possible to use NetBeans to work with php projects.

But to use it for Drupal projects, there exists these .module and .install files, which also contain php code, but are not recogniced by NetBeans as such, you need a slight modification to one file in your NetBeans installation:

Now NetBeans is a little more friendly to Drupal :-)

Gesendet von tbo ( Jun 10 2008, 10:14:33 AM CEST ) Permalink

20080515 Donnerstag Mai 15, 2008

It's getting better on MacOS X Aqua! (automated testing with VCL TestTool)

The former problem is identified and solved; It was all about a focus problem:
The UI of OpenOffice.org is not completely updated when the application is not front most.

When VCL TestTool starts OpenOffice.org, the application is started behind
the VCL TestTool application. This prevents some UI updates on OpenOffice.org,
which would be necessary for some tests.
First solution, as a workaround, is calling OpenOffice.org.app with the shell command,
after the VCL TestTool started soffice.bin. This makes OOo the front most application.

The real solution is made by PL, binding some 'bring application to front' action
to the commandline switch '-enableautomation', which belongs to CWS aquavcl07.

So from now on, errors shown by automated testing on MacOS X, are real errors found in OpenOffice.org.

Gesendet von tbo ( Mai 15 2008, 12:36:58 PM CEST ) Permalink

20080325 Dienstag März 25, 2008

Current issues that affect automated testing with VCL TestTool on MacOS X Aqua


The results of the ~40 category 0 tests are not quite satisfying.
Compared to other platforms the errors and warnings are huge.
The reason is currently not the quality of OpenOffice.org on MacOS, it is more an issue on how OpenOffice.org behaves on VCL TestTool.

Link to all issues.

[Read More] Gesendet von tbo ( Mär 25 2008, 10:46:21 AM CET ) Permalink

20080114 Montag Jänner 14, 2008

New Starbucks opening just in front of my home ;-)

As I just saw this morning, a new Starbucks will open near my home.
I will come by every morning when I go to the train.
Could get a quite expensive year ;-)
Pictures are here:

OverallviewCloseup 

Gesendet von tbo ( Jän 14 2008, 01:09:33 PM CET ) Permalink Kommentare [1]

20070117 Mittwoch Jänner 17, 2007

Update of VCL TestTool Application for OOo 2.3

I want to give you an short update of the state for the new VCL TestTool Application for OOo 2.3.
The change will take place with CWS gh13 after releasing the next milestone of OOo: 2.2
It will be used to test OOo 2.3 and it's developer releases.

[Read More] Gesendet von tbo ( Jän 17 2007, 12:34:46 PM CET ) Permalink

20061015 Sonntag Oktober 15, 2006

First steps on automatically testing a NetBeans wizard

At first I didn't see how these J-tools fit together, but after trying to use them, the picture became clearer.

The next steps for my project would be:
- How do I get the name of a control.
- Try to automate clicking through the project wizard  'StarOffice/OpenOffice.org Calc Add-In'
- How do I organize the files for the test.
- How to present the result of the test.

[Read More] Gesendet von tbo ( Okt 15 2006, 06:44:57 PM CEST ) Permalink

20060927 Mittwoch September 27, 2006

Evaluating QA for OpenOffice.org NetBeans Integration

Boss: "You have to do QA for this new feature."
Me: "Oh no! This is not in OOo, it is in NetBeans. I can't use our VCL TestTool for this. I have to do it by hand! :-("
Boss: "Yes, I know. Just do it one time!"

After getting used to NetBeans, it came to my mind that they have to do QA for this IDE, too.
How do they do this??? Google: testtools netbeans

[Read More] Gesendet von tbo ( Sep 27 2006, 07:46:09 PM CEST ) Permalink

20060924 Sonntag September 24, 2006

Me
I can't get around this thing anymore ;-). Starting with an introduction about Me.

[Read More] Gesendet von tbo ( Sep 24 2006, 01:47:18 PM CEST ) Permalink

20051128 Montag November 28, 2005

qa/qatesttool cvs tags and branches Now moved to http://wiki.services.openoffice.org/wiki/Cvs_tags_and_branches

Every release of OOo throws up the question:

Which cvs tag should I use to test OOo with the TestTool application?

Short answer for OOo 2.2. currently: take the HEAD - until ooo220 exists.

Longer answer...

[Read More] Gesendet von tbo ( Nov 28 2005, 04:28:07 PM CET ) Permalink


Valid HTML! Valid CSS!

This is a personal weblog, I do not speak for my employer.