
Security News
Django Joins curl in Pushing Back on AI Slop Security Reports
Django has updated its security policies to reject AI-generated vulnerability reports that include fabricated or unverifiable content.
com.github.jep42:robotframework-formatcompare-reactor
This library provides keywords to compare different data structures (csv, xml, json, xls(x)) via mapfiles. The mapfile specifies the elements which are compared with each other and defines certain rules for this compare operation.
See the keyword documentation for information about the provided keywords.
Since the library is implemented in Java it can be used together with Jython just by importing the library within the test file. To be able to use it with Python the library has to be imported as remote library (refer to the RobotFrameworkUserGuide for more information about Remote Libraries)
*** Settings ***
Library com.github.jep42.robotformatcompare.RobotFormatCompare
java -jar <remote-server-jar> --port 8270
*** Settings ***
Library Remote http://localhost:8270/RobotFormatCompare
*** Test Cases ***
Compare Download Formats JSON And XML
...
Initialize Json Format Handler GMT+01:00 dd.MM.yyyy HH:mm:ss dd.MM.yyyy " ,2"
Initialize Xml Format Handler GMT+01:00 yyyyMMddHHmmss yyyyMMddHHmmss " .2"
Compare Json With XML ${TESTDATA}/json2xml.mapfile ${TEMPDIR}/jsondownload.json ${TEMPDIR}/xmldownload.xml
...
The test case above references the mapfile ${TESTDATA}/json2xml.mapfile
which maps elements from a Json (JSONPath expression) to elements of an XML (XPath expression) structure:
$.data[0].firstname;Neverland/Persons/Person[1]/Firstname;STRING;=;;
$.data[0].lastname;Neverland/Persons/Person[1]/Lastname;STRING;=;;
$.data[0].email;Neverland/Persons/Person[1]/Email;STRING;=;;
$.data[0].email;Neverland/Persons/Person[1]/Email2;STRING;!=;;
$.data[0].sex;Neverland/Persons/Person[1]/Firstname;STRING;=;;
Compare Download Formats CSV And XML
...
Initialize Csv Format Handler GMT+01:00 dd.MM.yyyy HH:mm:ss dd.MM.yyyy " ,2" 0
Initialize Xml Format Handler GMT+01:00 yyyyMMddHHmmss yyyyMMddHHmmss " .2"
Compare Csv With XML ${TESTDATA}/csv2xml.mapfile ${TEMPDIR}/csvdownload.csv ${TEMPDIR}/xmldownload.xml
...
The test case above references the mapfile ${TESTDATA}/csv2xml.mapfile
which maps elements from a CSV (EasyCSVMap selector expression) to elements of an XML (XPath expression) structure:
{1}.firstname;Neverland/Persons/Person[1]/Firstname;STRING;=;;
{1}.lastname;Neverland/Persons/Person[1]/Lastname;STRING;=;;
{1}.email;Neverland/Persons/Person[1]/Email;STRING;=;;
{1}.email;Neverland/Persons/Person[1]/Email2;STRING;!=;;
{1}.sex;Neverland/Persons/Person[1]/Sex;STRING;=;;
mvn install
on the root folder of the project to build the reactor which consist of two modulesFAQs
Robot framework keywords to compare different data structures (csv, xml, json) via mapfiles
We found that com.github.jep42:robotframework-formatcompare-reactor demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 0 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Django has updated its security policies to reject AI-generated vulnerability reports that include fabricated or unverifiable content.
Security News
ECMAScript 2025 introduces Iterator Helpers, Set methods, JSON modules, and more in its latest spec update approved by Ecma in June 2025.
Security News
A new Node.js homepage button linking to paid support for EOL versions has sparked a heated discussion among contributors and the wider community.