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

ArtOfTest.Runner.exe 'settings' command line option

5 Answers 242 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Mark
Top achievements
Rank 1
Mark asked on 28 Feb 2013, 10:19 PM
When I get the command line options for ArtOfTest.Runner.exe, I see there is a 'settings' option...

        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

Sort by
0
Cody
Telerik team
answered on 05 Mar 2013, 10:25 PM
Hello Mark,

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

All the best,
Cody
the Telerik team
Quickly become an expert in Test Studio, check out our new training sessions!
Test Studio Trainings
0
VVP
Top achievements
Rank 2
answered on 01 Sep 2015, 06:11 AM

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

0
Cody
Telerik team
answered on 02 Sep 2015, 10:51 PM
Hello Vishnu,

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
 
The New Release of Telerik Test Studio Is Here! Download, install,
and send us your feedback!
0
VVP
Top achievements
Rank 2
answered on 09 Sep 2015, 08:06 AM

Thanks Cody. It worked.

 

Thanks,

VVP

0
Cody
Telerik team
answered on 09 Sep 2015, 09:24 PM
Hi Vishnu,

Excellent! Thank you for the update.


Regards,
Cody
Telerik
 
The New Release of Telerik Test Studio Is Here! Download, install,
and send us your feedback!
Tags
General Discussions
Asked by
Mark
Top achievements
Rank 1
Answers by
Cody
Telerik team
VVP
Top achievements
Rank 2
Share this question
or