Apache OpenOffice (AOO) Bugzilla – Issue 75276
enhancements for "metascript" on windows
Last modified: 2008-04-05 10:06:18 UTC
The scripts to run multiple testscripts on windows are missing some functionality that has been recently added to the unix scripts (see issue 71973). This task is created to enhance windows scripts as well. relevant enhancements: - Support for Windows98 - separated list of tests to run from "code script" - try to use known settings .. e.g.: - location of testtool should be taken from OOoProgramDir setting in testtool.ini - location of testscripts should be taken from testtool.ini - implement a generic "kill"
Created attachment 43638 [details] first attempt
Comments to the first attachment: - the script uses Windows Scripting Host 5.6 / VBS - script has been tested on WinXP and Win98SE (IE 6 installed) - the script runs in Commandline Mode only so use cscript.exe ! - reading values from testtool.ini has not been implemented yet to run the script open a command line, navigate to the path of the script and start the script by: cscript.exe run_tests.vbs <..\first_topten.lst The testtool environment has to be set up correctly before running the script.
I tried on my Windows Me machine. C:\WINDOWS\COMMAND>cscript.exe run_tests.vbs < c:\qa\qatesttool\script\first_topten.lst Results: --------- Microsoft (R) Windows Script Host Version 5.6 Copyright (C) Microsoft Corporation 1996-2001. All rights reserved. **************************************************** ************ STARTING ************ **************************************************** using scripts from C:\qa\qatesttool\ using testtool from C:\Program Files\OpenOffice.org 2.2\program\testtool.exe **************************************************** running framework/first/first.bas Successfully started trying to kill the previous office process **************************************************** running framework/first/topten.bas Successfully started trying to kill the previous office process Duration:4sec ---------------- As you see, *.bas didn't run.
set os to winXP - i cannot get this working on Win9x, as this behaves different is several ways and has not all the tools we would need.
Created attachment 51760 [details] enhanced version that realy kills soffice processes
script has been submitted to cvs -> fixed
closed