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

Need Command line for browser selection

1 Answer 74 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Saravanan
Top achievements
Rank 1
Saravanan asked on 07 Nov 2019, 11:34 AM

Hi,

I am using the following command line option to execute my test studio project.

1.cd\
2.cd Program Files (x86)\Progress\Test Studio\Bin\

3.cd Program Files (x86)\Progress\Test Studio\Bin\ArtOfTest.Runner.exe test="E:\Saravanan\AUT\Test Studio\SampleProject\Main.tstest"

Runner was enabled. But I need to execute the test by using chrome browser. Is there any command line program to define the browser type?

Please help me to come out of this situation. 

Thanks

1 Answer, 1 is accepted

Sort by
0
Elena
Telerik team
answered on 07 Nov 2019, 03:24 PM

Hello Saravanan,

The command that you used to execute a test is using the default project settings and probably the script was executed against IE as a default browser for the machine. 

To be able to modify the browser and/or other settings you can use a settings file for each different run. Please, see all arguments you can use in a ArtOfTest.Runner.exe command and scroll through the article to find an example for the settings file in jSON format. 

I hope this will be helpful for you. However, if you need any further assistance, please, let me know. 

Thank you very much for your cooperation.

Regards,
Elena
Progress Telerik

 
Quickly become an expert in Test Studio, check out our new training sessions!
Test Studio Trainings
 
Tags
General Discussions
Asked by
Saravanan
Top achievements
Rank 1
Answers by
Elena
Telerik team
Share this question
or