Rail Aliev wrote:
On 21 Feb 2007, Thorsten Bosbach wrote:

I think you are referring to:
http://qa.openoffice.org/files/documents/77/3247/essen2006testtool2.pdf

Exactly.

The so called 'dialog test' in a non product / debug build checks for
truncated strings. It is a function in OOo, that is activated as shown
in the document: "Dialog test of OpenOffice.org"

Quote: This test also shows whether controls overlap, whether the tab
order is correct and whether the mnemonic characters are correctly
assigned.

I need to wait until my non-product build will be ready to test how this
option will highlight normal and truncated strings. As far as I
understand I need to review all screen shots made by testtool, right?


no, you need to read the resultfile of the test with the VCL TestTool;
And just look on the screenshots with errors, if you are just interested in cut of strings.

You will get an idea, how it looks like, when you run a short test.
e.g.
qa/qatesttool/math/update/m_updt.bas

and while I just see it the test i_updt.bas doesn't exist anymore, it is splitted into
 i_updt_1.bas and  i_updt_2.bas


To ease this procedure, to get through all dialogs, you may use the
VCL TestTool.

[...]

These scripts produce results, you have to read; If a string is cut
of, there is a colored message, telling you which one.

Is there an example (error pattern) how I can grep truncated string
errors and mnemonic errors from *.res files and easy find the
corresponding screen shots (by hid I think)?

there is no automatic way currently;
You take a look on the resultfile when it is loaded in the VCL TestTool;
If you try it, I hope it will be clear....

For example:
Error: FixedText exceeds window width: Forma de ~Tratamento/Cargo
Error: CheckBox exceeds window width: ~Oferecer suporte a ferramentas de
Error: RadioButton exceeds window width: ~Centralizado
Error: Labels befor Fields (Edit,ListBox,...) should have a mnemonic char (~): First name Error: CheckBox should have a mnemonic char (~): Use data for document properties
Error: Double mnemonic char: E
Error: PushButton should have a mnemonic char (~): Digital Signature...

And in the documentation is mentioned, that you can filter out some messages. You have to make the setting before you start the test.
Then you have only teh messages in the result file, you are interested in.

The 'documentation' ;-) is very short - it was in conjunction with a
presentation. So it is just an extract.

I see. :)

If something is unclear, please ask ...

Is "--enable-dbgutil" switch enough to get the non-product build?

 -  I will ask somebody who does the build :-) ...

Is there a direct link to the TCM testcase?

Use this one:
http://www.sunvirtuallab.com:8001/tcm2/opensource/tcm_testcase.cgi?tcm_config=newooo&action=query_testcase&product_id=1&category_id=9

Scroll down to the second test (Automation-2, test ID is 110030)

No rights as guest to see the testcase; And I forgott my login from a sample account ...

cheers
thorsten

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

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

Reply via email to