This is a migrated thread and some comments may be shown as answers.

Test Studio integration with CI (TeamCity)

10 Answers 268 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Josh
Top achievements
Rank 1
Josh asked on 25 Feb 2013, 04:53 PM
I have been trying to explore the integrating Test Studio with our current CI (Team City 7.x).

I have been reviewing the existing documentation here.

The type of testing we are wanting to perform would be automated testing of a WPF application.

My question is, is there a way I can set this up to run headless. i.e. Not have a user logged in/remoted in to the machine with the build runner on it?

Thanks in advance for any help.

Josh

10 Answers, 1 is accepted

Sort by
0
Accepted
Byron
Telerik team
answered on 25 Feb 2013, 07:50 PM
Hi Josh,

Unfortunately, it will not be possible to automate against a WPF application on a remote machine with no active session. WPF automation is desktop automation, and desktop automation requires an active session. 

Greetings,
Byron
the Telerik team
Quickly become an expert in Test Studio, check out our new training sessions!
Test Studio Trainings
0
Josh
Top achievements
Rank 1
answered on 25 Feb 2013, 08:07 PM
Byron,

Thanks for the fast reply. I have just one more question. Apparently we have a Scheduling Server installed on our network. Would it be possible for me to schedule tests to be run from our CI on that server? 

The reason I ask is that while I have control over the CI, the Scheduling Server is being maintained by someone else. If I could just schedule the jobs, then they could work out the active session issue.

Thanks again,
Josh
0
Byron
Telerik team
answered on 26 Feb 2013, 07:47 PM
Hello Josh,

Unfortunately not. CI servers have two options for executing Test Studio tests: tests can be run with ArtOfTest.Runner on the command line, or with MSTest. Either of these runners can execute tests and test lists and publish results, and ArtOfTest.Runner even has an option to publish test run results to a scheduling server results database. But neither has an option to schedule a test with a scheduling server; this requires a Full Test Studio license and access to the Test Studio client. That being said, you could schedule your test using the Test Studio scheduling server, but this would not be triggered by your CI server triggers, such as check-ins. Of course, these distinctions are largely academic: regardless of how you schedule or trigger a Test Studio test execution, the execution machine will require an active session to perform desktop automation.

Kind regards,
Byron
the Telerik team
Quickly become an expert in Test Studio, check out our new training sessions!
Test Studio Trainings
0
Josh
Top achievements
Rank 1
answered on 26 Feb 2013, 07:49 PM
Byron,

Got it. Thanks again for all your help and clarifications.

Josh
0
Moss
Top achievements
Rank 1
answered on 05 Dec 2013, 02:08 AM
Hi Byron,

Could you please give a sample MSTest command line to execute Test Studio Test lists on TeamCity build?
I assume this is achievable as you mentioned in the previous post.

Many Thanks,
Moss
0
Rodney
Telerik team
answered on 09 Dec 2013, 10:25 PM
Hello Moss,

Byron is unavailable so allow me to interject. You can't execute Test Studio test lists with MSTest. If you need to execute Test Studio test lists, then you should use ArtofTest.Runner.

MSTest will let you run lists created in Visual Studio Test List Editor. Here’s a knowledge base article that outlines some of the more common execution scenarios: Executing Tests with MSTest.

For additional MSTest commands, I recommend having a look at MSTest.exe Command Line Options.


Regards,
Rodney
Telerik
The New Release of Telerik Test Studio Is Here! Download, install,
and send us your feedback!
0
Arnar
Top achievements
Rank 1
answered on 03 Dec 2015, 02:33 PM

How is it possible to run UI tests with ArtOfTest.Runner on the command line using TeamCity? I am currently having problem with running the tests in the CI build, the following error is ArtOfTest.InternetExplorer assembly missing.. Do you know any possible solution?

 

0
Cody
Telerik team
answered on 07 Dec 2015, 08:05 PM
Hello Arnar,

I answered this question in your private support ticket. Did you find that information useful? I haven't heard back from you yet.


Regards,
Cody
Telerik
 
The New Release of Telerik Test Studio Is Here! Download, install,
and send us your feedback!
0
Esala
Top achievements
Rank 1
answered on 14 Mar 2017, 08:45 AM
Nightly basis, build server (TeamCity) will build everything on a release branch. And I want to trigger entire test suite if build got successful. Can this be done using Test Studio? If you can you please point me the location that has this information? (Documentation, video etc)
0
Elena
Telerik team
answered on 17 Mar 2017, 07:18 AM
Hi Esala,

Please find here further details how you could integrate TeamCity with Test Studio. I hope this information will be useful to you. 

Regards,
Elena Tsvetkova
Telerik by Progress
 
The New Release of Telerik Test Studio Is Here! Download, install,
and send us your feedback!
Tags
General Discussions
Asked by
Josh
Top achievements
Rank 1
Answers by
Byron
Telerik team
Josh
Top achievements
Rank 1
Moss
Top achievements
Rank 1
Rodney
Telerik team
Arnar
Top achievements
Rank 1
Cody
Telerik team
Esala
Top achievements
Rank 1
Elena
Telerik team
Share this question
or