setting command line parameters in LaunchNewApplication method

2 posts, 0 answers
  1. Stefan
    Stefan avatar
    1 posts
    Member since:
    May 2014

    Posted 09 May Link to this post

    Hi there,

    I'am looking into creating automated ui tests using test studio. currently I need to set some command line parameters when starting the application

    When I looked into the API reference, I noticed that I can set these using Manager.LaunchNewApplication Method (String,String[]) while launching the application.

    Can you provide some example to me how the args (second parameter) should look alike?

    my parameters:

    -x true

    -b I012345

     

    Best,

    Stefan

  2. Elena Tsvetkova
    Admin
    Elena Tsvetkova avatar
    251 posts

    Posted 12 May Link to this post

    Hi Stefan,

    Thank you for your interest in Telerik Test Studio. 

    The method you are using make an internal call to Manager.LaunchNewApplication Method (ProcessStartInfo). So passing arguments to it should follow the logic of ProcessStartinfo arguments property. 

    I hope this would be helpful to you. Please let me know if you need further assistance. Looking forward to hear from you.  

    Regards,
    Elena Tsvetkova
    Telerik
     
    The New Release of Telerik Test Studio Is Here! Download, install,
    and send us your feedback!
Back to Top