Completed
Last Updated: 10 Apr 2015 07:27 by ADMIN
ADMIN
Cody
Created on: 12 Mar 2015 14:30
Type: Bug Report
2
How do you set DefaultApplicationPath from command line?
The command line test runner ArtOfTest.Runner.exe accepts a settings.xml file using the test= and settings= command line parameters. Our documentation shows you how to set the common settings and web settings. But how do you set the WPF settings, specifically the DefaultApplicationPath? I tried this settings.xml file, but cannot get it to be recognized by the command line runner. The test will always use the project setting contained in the settings.aiis file. I checked the log for parsing errors, but none were reported.

<?xml version="1.0" encoding="UTF-8"?>
<configuration>
  <configSections>
    <section name="WebAii.Settings" type="ArtOfTest.WebAii.Core.SettingsConfigSectionHandler, ArtOfTest.WebAii" />
    <section name="WebAii.Settings.Web" type="ArtOfTest.WebAii.Core.WebSettingsConfigSectionHandler, ArtOfTest.WebAii" />
    <section name="WebAii.Settings.Wpf" type="ArtOfTest.WebAii.Core.Settings.WpfSettings, ArtOfTest.WebAii" />
  </configSections>
  <WebAii.Settings.Wpf DefaultApplicationPath="E:\Users\Dad\Documents\visual studio 2010\Projects\TelerikWpfApp1\TelerikWpfApp1\bin\Debug\TelerikWpfApp1.exe" />
</configuration>
2 comments
ADMIN
Konstantin Petkov
Posted on: 10 Apr 2015 07:27
I'm posting the exact settings for reference, please note properties are case sensitive, defaultApplicationPath is lower case.

<?xml version="1.0" encoding="UTF-8"?>
<configuration>
  <configSections>
    <section name="WebAii.Settings" type="ArtOfTest.WebAii.Core.SettingsConfigSectionHandler, ArtOfTest.WebAii" />
    <section name="WebAii.Settings.Web" type="ArtOfTest.WebAii.Core.WebSettingsConfigSectionHandler, ArtOfTest.WebAii" />
    <section name="WebAii.Settings.Wpf" type="ArtOfTest.WebAii.Core.WpfSettingsConfigSectionHandler, ArtOfTest.WebAii" />
  </configSections>
  <WebAii.Settings.Wpf defaultApplicationPath="E:\Users\Dad\Documents\visual studio 2010\Projects\TelerikWpfApp1\TelerikWpfApp1\bin\Debug\TelerikWpfApp1.exe" />
</configuration>
ADMIN
Daniel Djambov
Posted on: 07 Apr 2015 10:41
Telerik: the issue is fixed and solution will be available in our next internal product release planned to be out by the end of April 2015.