Previously I used a *.testsettings file to define the remote server under Roles. (After compiling the code in the build server i need my tests to be executed in a remote TestControler where i have connected several TestAgents.)
I have successfully shifted to specrun and i'm using a different *.srprofile with TestRetry enabled for TFS builds.
Because of this, now i'm using a .runsettings file instead of .testsettings file.
Since the *.runsettings file do not have a tag to define the 'Remote Controller name' BuildServer is not redirecting the tests to my test controller.
My Question is
Is there a way to include 'Remote Controller name' in *.runsettings file??
If not
Is 'SpecRun adapter' in *.runsettings file support <SettingsFile>?
I'm a very new to SpecRun and BuildServer configurations.
Any insights highly appreciated...
Thanks in advanced..
Additional Details:
I found this article and defined the settings file. But no luck.
https://msdn.microsoft.com/en-us/library/jj635153.aspx#sectionToggle7
Here's my *.runsettings file.
<?xml version="1.0" encoding="utf-8"?>
<RunSettings>
<!-- Configurations that affect the Test Framework -->
<RunConfiguration>
<!-- Path relative to solution directory -->
<ResultsDirectory>........</ResultsDirectory>
</RunConfiguration>
<SpecRun>
<Profile>TFS.srprofile</Profile>
<ReportFile>TestResults.html</ReportFile>
<GenerateSpecRunTrait>true</GenerateSpecRunTrait>
<GenerateFeatureTrait>false</GenerateFeatureTrait>
<SettingsFile>........\Remote.AutoTest_2013.testsettings</SettingsFile>
<ForcedLegacyMode>true</ForcedLegacyMode>
</SpecRun>
</RunSettings>
Here's my testsettings file.
Here's my TFS.srprofile file.