Add test repository location to Test Manager using script

  • Goof van de Weg

    Goof van de Weg - 2019-03-11

    When I want to execute a test in CodeSys TestManager, I need to click Test Repositories -> Edit Test Repositories -> Add -> select the .xml and give it a name.

    Is it possible to automate this so I don't need to access the build node, open CodeSys and do the above steps?

    Thanks in advance for the help!

  • Goof van de Weg

    Goof van de Weg - 2019-03-15

    For those interested, I fixed this by writing a python script that collects the relevant data from the CodeSys XML and then writes it in a new XML in the JUNIT format. You can then get nice statistics in Jenkins when you post the xml to JUNIT (also install Jenkins Junit add-on).

  • aliazzz

    aliazzz - 2019-07-11


    Would you kindly share this script? I am very interested in it.
    Thank you in advance.

  • bjh

    bjh - 2019-08-07

    I am also very interested in how you went about converting the XML file into JUNIT format. Would you mind sharing?

  • bjh

    bjh - 2019-08-13

    I created a script to do the conversion to Junit XML here


Log in to post a comment.