Thorsten,

Thanks!

I can strip out the creation date, and all the PS header information and
force the printing to use the same PS language level and use the same
printer driver. The issue is that the PS files are never the same from
version 1.1.1 to 1.1.4 and it even gets worse with the default builds
from Redhat, Novell or Suse. I can also do a Clipboard matching but then
I am only testing the "text" part of it. Mainly our GUI tests is simply
making sure editing "The quick brown fox" to a 20 pt Times Roman, Bold,
italics underline brown color - happened and looks the same on all the
versions. Manually you can verify this but it seems that it is hard to
do this automatically as I don't know what the formatting codes are in
OpenOffice formats when I do a diff or compare. I have actually some
luck with the writer, impress and draw documents but the calc documents
are really hard to do. One thing that I haven't tried is print to ps and
use ghostview and do a screenshot of the ghostview Xwindow. 

Just a background why I am going through this painful form of testing, I
am in a graphics driver development team and one our auto test suites is
to make sure that the major GUI apps are not broken after each build. So
the qatesttol is overkill plus there are issues with qattestool running
on the rogue builds from RH, Novell, Suse and other popular Linux
distros. Only 1 version of Redhat conforms with the hid.lst file


Thanks!
 
If you have questions or need further clarification, please don't
hesiate to email or call!
 
Noel Paz
Software Engineer
Intel ISTG Flex Services
New Mexico
 
-----Original Message-----
From: Thorsten Behrens [mailto:[EMAIL PROTECTED] 
Sent: Friday, April 29, 2005 8:10 AM
To: [email protected]
Subject: Re: [qa-dev] Automated comaprison of OO documents

"Paz, Noel F" <[EMAIL PROTECTED]> writes:

> It seems that even if you saved a copy of a file from with OO to
> just another file name that file is different. I am actually
> printing the 2 files to postscript and parsing out the headers and
> still the identical files are different if you use cmp or diff.
> 
Hi Noel,

I've just tried your approach with printing to a PostScript file, and
modulo to different PS header content (of course, creation date and
document title are different), the files are _exactly_ the same (I've
used m95, one of the recent milestones).

Of course, if you do that on different machines, you most probably
_will_ get slightly different output, at least if things like CUPS,
fonts and freetype are not exactly the same.

For details regarding this export-to-something approach, please
follow-up on the [email protected] mailing list.

Of course, simply storing the document as XML will also show slight
differences (modification time, etc.), but AFAIK, there's diff and
merge functionality available somewhere to compare one's changes
against somebody else's. Details might be available on the [EMAIL PROTECTED]
list. 

> Is there an OO utility that can compare if two office documents
> match ?
>
I'd say, that depends on your definition of 'match'. 

HTH,

-- 

Thorsten

If you're not failing some of the time, you're not trying hard enough.

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


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

Reply via email to