Skip to content

Accruent/robotframework-historic-parser

Repository files navigation

robotframework-historic-parser

Parser to push robotframework execution results to MySQL (for Robotframework Historic report)

PyPI version Downloads PRs Welcome Maintenance Open Source Love png1 HitCount Coverage Status


Installation

  • Install robotframework-historic-parser

    pip install robotframework-historic-parser
    

Usage

Robotframework Historic report required following information, users must pass respective info while using parser

-o --> output.xml file name
-s --> mysql hosted machine ip address (default: localhost)
-u --> mysql user name (default: superuser)
-p --> mysql password (default: passw0rd)
-n --> project name in robotframework historic
-e --> execution info
  • Use robotframework-historic-parser to parse output.xml's

    > rfhistoricparser
     -o "OUTPUT.xml FILE"
     -s "<SQL_HOSTED_IP:3306>"
     -u "<NAME>"
     -p "<PWD>"
     -n "<PROJECT-NAME>"
     -e "<EXECUTION-INFO>"
    

Note: Here if MySQL hosted in:

  • local machine then use localhost Ex: -s localhost
  • other machine then use ipaddress:3306 Ex: -s 10.30.2.150:3306

Example:

> rfhistoricparser
 -o "output1.xml"
 -s "10.30.2.150:3306"
 -u "admin"
 -p "Welcome1!"
 -n "projec1"
 -e "Smoke test on v1.0"

For more info refer to robotframework-historic