settings=[file path] The full path to a XML file containg the
custom params and/or settings for the run.
But I can't find any other information about this option, or the format of the XML file.
Is there more information about this option available? I tried passing in a .testsettings file but it didn't have any effect on the test run.
(btw, containing is misspelled in the option's description)
Thanks,
Mark Ott
5 Answers, 1 is accepted
I agree it's not clear in our documentation (something we do need to work on) but it is using this format:
http://www.telerik.com/automated-testing-tools/support/documentation/user-guide/write-tests-in-code/intermediate-topics/settings-and-configuration/using-application-config-file.aspx
Cody
the Telerik team
Test Studio Trainings
Hi Cody,
I followed the steps as mentioned in the link you shared. But i am getting onemessage
"Load project: The settings file is missing in the 'C:\SmokeTest\bin' Please set the root path.
As you mentioned, is there any documentation on how to use commandline?
I used like this
ArtofTest.Runner test=C:\SmokeTest\bin\SmokeTestTrimmed.tstest settings=C:\SmokeTest\bin\Autotest.dll.config
1) Am i doing something wrong here?
2) Do i need to add Manager mgr = new Manager(true); somewhere in code?
3) Do i need to use settings.aiis also along with this xml?
Kindly let me know.
Thanks,
VVP
First yes ArtOfTest.Runner does also need settings.aiis file. You should be running a test contained in a test project, which includes a settings.aiis file. You can tell ArtOfTest.Runner where to find this file using the "root=" command line parameter. For example root="c:\My Documents\Test Studio Projects\Project A".
You do not need to add "Manager mgr = new Manager(true);"
Regards,
Cody
Telerik
Thanks Cody. It worked.
Thanks,
VVP
Excellent! Thank you for the update.
Regards,
Cody
Telerik