Jenkins does not execute Test Studio tests

1 Answer 20 Views
General Discussions Jenkins Test Configuration Test Execution
William
Top achievements
Rank 1
Veteran
Iron
William asked on 23 Jun 2021, 12:29 AM

Hi Team,

I have been working to configure Jenkins to execute Test studio test files but it is failing. 

I am following this URL : https://docs.telerik.com/teststudio/advanced-topics/build-server/jenkins-ci-plugin

I have set up Test runner configuration but It throws error like screenshot attached.

Error :

Running as SYSTEM Building on master in workspace C:\Program Files (x86)\Jenkins\workspace\02_Login Scenarios Command: "C:\Program Files (x86)\Telerik\Test Studio\Bin\ArtOfTest.Runner.exe" test="C:\Dev\OnTime\Scheduler\WebTests\System Regression\02_Login Scenarios\Success Login.tstest" root="C:\Dev\OnTime\Scheduler\WebTests\System Regression\02_Login Scenarios" out="C:\Program Files (x86)\Jenkins\workspace\02_Login Scenarios\TestStudioResults" result="TestStudioResults-1624407009049.junitstep" junitstep Command output: Error: unrecognized or incomplete command line. Unsupported argument 'junitstep'!

I also tried to use other Path to root folder which has settings.aiis but same error.

Please help !

Thanks you in advance.

 

 

 

1 Answer, 1 is accepted

Sort by
0
Elena
Telerik team
answered on 25 Jun 2021, 08:50 AM

Hi William,

I am sorry to hear you experience any difficulties with setting up Test Studio tests in the Jenkins CI.

As far as I can see you are using an older version of Test Studio, in which the junit xml format for the results is not present. This is why the runner fails with the message that junitstep is unknown argument. I can see the general options of the ArtOfTest.Runner.exe in one of the screenshots and junit/junitstep is not listed in these. 

That said you have two options - to upgrade Test Studio to a newer version, or to skip using the Test Studio plugin for Jenkins. In the second case you will need to setup a build step to execute a Windows batch command - check points 3., 4., 5. in this article

I hope that this information will be helpful for you to find the appropriate setup for Jenkins. Don't hesitate to get back to me in case you have any further questions. 

Regards,
Elena
Progress Telerik

Virtual Classroom, the free self-paced technical training that gets you up to speed with Telerik and Kendo UI products quickly just got a fresh new look + new and improved content including a brand new Test Studio course! Check it out at https://learn.telerik.com/.
Tags
General Discussions Jenkins Test Configuration Test Execution
Asked by
William
Top achievements
Rank 1
Veteran
Iron
Answers by
Elena
Telerik team
Share this question
or