Need Command line for browser selection

2 posts, 0 answers
  1. Saravanan
    Saravanan avatar
    3 posts
    Member since:
    Nov 2019

    Posted 07 Nov 2019 Link to this post

    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

  2. Elena
    Admin
    Elena avatar
    1222 posts

    Posted 07 Nov 2019 Link to this post

    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
     
Back to Top