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

Command line parameters to ArtOfTest.Runner

3 Answers 220 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Priya
Top achievements
Rank 1
Priya asked on 28 Dec 2012, 11:53 AM
I have created a batch file to run my tests and test lists. I have used ArtOfTest.Runner in the batch file. 
Now I want to pass Base URL as a command line parameter through ArtOfTest.Runner. The test must accept this as data. I checked the options for ArtOfTest.Runner. But I couldn't find any option which accepts command line parameter as data into a test. How can I accomplish this? Is there any other exe/command/option I can use?

3 Answers, 1 is accepted

Sort by
0
Ivaylo
Telerik team
answered on 02 Jan 2013, 10:32 AM
Hello Priya,

All about the ArtOfTest.Runner you can see in this article. As you already noticed passing Base URL as a command line parameter is not available in the options. The only option to proceed in your case is to create a custom Test Settings file and specify the Base URL in it. Once you have your Test Settings file you can use it as a parameter in the command line. Please check this article on how to create your custom Test Settings file.

Kind regards,
Ivaylo
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 21 Jul 2015, 05:39 AM

Hi Ivaylo,

The second link to create custom test settings file is not accessible.

Can you tell me correct link.

Thanks,

VVP

0
Cody
Telerik team
answered on 21 Jul 2015, 02:18 PM
Hi Priya,

Sorry about that. Here is the correct link:

http://docs.telerik.com/teststudio/knowledge-base/test-execution-kb/base-url


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