Rally Software

Expand all | Collapse all

Posting test results to Rally from TestNg/Selenium using the Rally API

Jump to Best Answer
  • 1.  Posting test results to Rally from TestNg/Selenium using the Rally API

    Posted 05-20-2020 01:26 PM
    I need to update the Test Case status in Rally from my automation suite (Java/TestNg/Selenium), does anybody have any example code they could share to get me started?

    My thanks in advance!

    ------------------------------
    BeyondForm
    ------------------------------


  • 2.  RE: Posting test results to Rally from TestNg/Selenium using the Rally API
    Best Answer

    Posted 05-20-2020 04:56 PM
    Hi @Damian Healey,

    If you want to access the API from various languages, we have examples of this here:https://github.com/rallytools

    More specifically, you will need to locate the Test Case, usually done from the ObjectID and read it, then update it. There are examples of how to do this sort of thing here: https://rally1.rallydev.com/docs/en-us/saas/apps/2.1/doc/index.html#!/guide/data_models

    The examples are in Javascript, but I am sure you could convert to the language you are using.

    ------------------------------
    Nik
    Ask me a question, I'm All Ears!
    Rally Sales Engineer
    Rally Software
    ------------------------------



  • 3.  RE: Posting test results to Rally from TestNg/Selenium using the Rally API

    Posted 05-20-2020 05:02 PM
    Thank you I will take a look