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

setting command line parameters in LaunchNewApplication method

1 Answer 63 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Stefan
Top achievements
Rank 1
Stefan asked on 09 May 2016, 08:00 AM

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

1 Answer, 1 is accepted

Sort by
0
Elena
Telerik team
answered on 12 May 2016, 06:10 AM
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!
Tags
General Discussions
Asked by
Stefan
Top achievements
Rank 1
Answers by
Elena
Telerik team
Share this question
or