Thorsten Bosbach

« New version of VCL... | Main | Getting a minimal... »

20080809 Samstag August 09, 2008

Last major issue solved for automated testing on MacOS X

The last major issue to be solved on MacOS X 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.

This will also solve the issue to clearly identify a crash on all platforms; You do not have to guess anymore what it means when you read the error message:
Server Timeout while waiting for answer.
This message will get a follow up warning message which says something like:
OpenOffice.org application crashed.
You will need a new testtool binary and a new testenvironment for this to work, but this needs at least also cws sb93 integrated which fixes the startup of VCL TestTool application on MacOS X and the display of icons inside the VCL TestTool application for all platforms.

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

Sub DisableQuickStarter
    a = CreateUnoService("com.sun.star.office.Quickstart")
    a.setFastPropertyValue(0, FALSE)
End Sub     

You are done now, the test where a crash happens should now run nicer to its end without the errors:
Active: UNO URL ... could not be executed: No ActiveFrame on desktop.

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

Kommentare:

Senden Sie einen Kommentar:

Kommentare sind ausgeschaltet.

Valid HTML! Valid CSS!

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