You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to robotframework-users
Hi all,
We have created a new test library for verifying XML contents and are
going to include it into RF 2.7.4. It is possible that in the future
it will be extended to support also modifying and creating XML. The
name of the new library is, unsurprisingly, `XML`. The library is
already ready for testing and its documentation is here:
http://robotframework.googlecode.com/hg/doc/libraries/XML.html
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to robotframe...@googlegroups.com
Hiya,
The Java API of ExamXML would be very useful to "keyword-ise" for automated comparison of xml files... See : http://www.a7soft.com/jexamxml.html This tool allows complex comparison of xml files including: - DateTime normalisation - Tolerance applied to numeric values - Ignoring specific elements/attributes in the comparison The xml comparison algorithm is based on the xml structure (rather than line by line comparison)
Regards.
CLAYTON
unread,
Oct 31, 2012, 11:38:58 AM10/31/12
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to robotframe...@googlegroups.com
Hiya.
The new library looks good but often what automation people do is prepare a "golden" xml file. This file contains all expected data (elements, attributes, structure, values etc.) All they then need is compare this expected xml file to the actual xml file and generate a diff file The XML library as it stands wouldn't suit that case - especially if you have say 1000+ nodes to validate!
Cheers,
On Thursday, August 16, 2012 9:45:12 AM UTC+1, Pekka Klärck wrote:
Pekka Klärck
unread,
Oct 31, 2012, 5:03:56 PM10/31/12
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to clayto...@yahoo.co.uk, robotframe...@googlegroups.com
>
> The new library looks good but often what automation people do is prepare a
> "golden" xml file.
> This file contains all expected data (elements, attributes, structure,
> values etc.)
> All they then need is compare this expected xml file to the actual xml file
> and generate a diff file
> The XML library as it stands wouldn't suit that case - especially if you
> have say 1000+ nodes to validate!
What is that diff file used for? If the idea is to verify is that two
XML documents are same, keywords `Elements Should Be Equal` and
`Elements Should Match` ought to work just fine.
New functionality can obviously still be added into the library in the
future. It did, for example, got keywords for modifying and saving XML
in RF 2.7.5.