Proposal to remove/modify the UI for selecting the hid.lst directory and use default location instead

Product: OpenOffice.org VCL TestTool application

Short:

To simplify the use of the TestTool application I would like to remove one setting from the GUI:

Extra->Settings->Tabpage: 'Profile'-> 'HID directory'
The default for this will be the path from 'Base directory' + /global/hid

The function, to select another location for the hid.lst, will still be available, but only by editing the TestTool configuration file.
----

Long:

The file hid.lst used is always provided via cvs from qa/qatesttool/global/hid. Therefore the location is usually bound to the 'Base directory' like qa/qatesttool that is set on the same tabpage. Some users migh be tempted to choose the hid.lst from the installed OOo program directory, that leads to errors, which would be prevented by this proposal.Removing this from the UI would also speed up using the VCL TestTool for the first time.

There might be some circumstances where you want to use another hid.lst file, but don't want to change your 'Base directory'. I would expect it to be a task for the advanced user, so I would recommend to close the TestTool application and edit the TestTool configuration file with an text editor.
The part from the configuration file looks like:
-----
[_profile_Default]
BaseDir=/qa/qatesttool
HIDDir=/qa/qatesttool/global/hid
LogBaseDir=/qa/qatesttool/errorlog
-----

So there would be two modes:
1. Default: The entry in the configuration file 'HIDDir' starts with the string from 'Base directory'
2. The 'HIDDir' doesn't start with the string from 'Base directory'

On openning the tabpage it needs to get decided which mode is active.
If mode 1 then change always the string for 'HID directory' in the configuration file when 'Base directory' get's changed. If mode 2 then stay with the current UI, but instead showing a button '...' for path selection, show a button 'default' to reset the string of HIDDir to the default of 'Base directory' + '/global/hid', and keep the edit field for 'HID directory' as long as the settings dialog is open.

Attached is the current dialog.

Issue for this enhancement is http://www.openoffice.org/issues/show_bug.cgi?id=69238 I will update the issue with an extract of relevant comments, if there are any.

cheers
Thorsten
--
*******************************************************************
Thorsten Bosbach                             Sun Microsystems GmbH
Quality Assurance Engineer                   20097 Hamburg, Germany

Visit me at:
OpenOffice.org Conference 2006, September 11-13 2006, Lyon, France
QA & Testing: Wednesday September 13th 2006; 10:15 to 11:00:
Getting started with automated GUI testing; The VCL TestTool application

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to