Open sreejits139 opened 6 months ago
Any way I can get the TESTRAIL_RUN_ID as a return or how can I get this value during a run so that I can reuse it for later tests. I am trying to reuse the test_run_id from the 1st spec run and reuse on my remaining spec runs.
I am trying to obtain the test_run_id automatically created on runtime so that I can use the same run across multiple spec files. I tried to check the process.env.TESTRAIL_RUN_ID after reviewing your code but it seems I am unable to fetch it somehow as it is created within the Node Client or something. So, can you please help by letting me know if there is a way I can grab the test run id like an ENV variable or a API call to the actual testrail or something? Thank you very much for the help.