Parser to push robotframework execution results to MySQL (for Robotframework Historic report)
-
Install
robotframework-historic-parser
pip install robotframework-historic-parser
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: -slocalhost
- other machine then use
ipaddress:3306
Ex: -s10.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