Planned
Last Updated: 29 Jun 2020 08:37 by ADMIN
ADMIN
Nikolay Petrov
Created on: 02 Jun 2017 14:38
Type: Feature Request
7
Run a WPF application with arguments
At this point it is possible to run a WPF application with arguments only as a workaround - starting a separate process in a coded step as given in this example.

It would be more useful if this feature is implemented when configure the WPF app in the test.
8 comments
ADMIN
Plamen Mitrev
Posted on: 29 Jun 2020 08:37

Hello Marco,

I understand your point of view and that you still need to launch the WPF application from a coded step. That said, the functionality is currently implemented in the Telerik Testing Framework and you can pass the arguments directly in the LaunchNewApplication() method.

As per my understanding, you are interested in this feature being extended to allow launching the initial WPF application with arguments. I would like to hear your thoughts on this and I will create new feedback item to investigate this feature request further and plan in for our future releases.

Thank you for your input in this discussion.

Regards,
Plamen Mitrev
Progress Telerik

Progress is here for your business, like always. Read more about the measures we are taking to ensure business continuity and help fight the COVID-19 pandemic.
Our thoughts here at Progress are with those affected by the outbreak.
Marco
Posted on: 23 Jun 2020 11:21
This unsightly workauround already existed when this feature request was created by Nikolay Petrov on 2 Jun 2017.
ADMIN
Plamen Mitrev
Posted on: 23 Jun 2020 10:28

Hello Marco,

Thank you for contacting us regarding this feature. Please excuse me for not updating this feature request as it was released.

I am happy to tell you that this feature request was implemented in the Telerik Testing Framework. You can find more details on how to run the WPF application with arguments, via a coded step.

  1. Configure the WPF test to start a dummy application, or the real application under test.
  2. As the first step in your test, add a coded step that closes the initial application and launches the real WPF application with the necessary arguments. Please check the sample code below.
  3. Proceed to execute the rest of the WPF test steps.
var app = this.ActiveApplication;
string fileName = app.AppFileName;
           
app.Quit();
           
this.Manager.LaunchNewApplication(fileName, "testArgs='arguments'");
           
System.Threading.Thread.Sleep(2000);

I hope that will help you automate the test scenario and login with different users. Please do not hesitate to contact us again, if you need assistance. I would also like to hear your feedback on this feature and any other suggestions for our WPF testing.

Regards,
Plamen Mitrev
Progress Telerik

Progress is here for your business, like always. Read more about the measures we are taking to ensure business continuity and help fight the COVID-19 pandemic.
Our thoughts here at Progress are with those affected by the outbreak.
Marco
Posted on: 22 Jun 2020 08:05
We are evaluating Telerik Test Studio. The lack of this feature is not good for us. It was planned to implement the feature in the third major version of 2019. Is there a new planned date. It would also be important for us to be able to use variables in the arguments so that we can use different users for login.
ADMIN
Iliyan Panchev
Posted on: 19 Jun 2019 07:11
Hi Kevin,

Thanks for your feedback! We plan to implement this one in the third major Test Studio release, expected in September.

If you have other feedback for our WPF testing feature or for Test Studio as a whole, I will be happy to hear it.

Best Regards,
Iliyan Panchev
Product Manager, Telerik Test Studio
Kevin
Posted on: 13 Jun 2019 14:53
+1 here, I can't imagine this would be a difficult feature to add and would really improve our experience with the tool
Imported User
Posted on: 12 Jun 2017 18:40
This is nearly a show stopper for me.  Seems a huge oversight not having this very common functionality right out of the box.  The coded step option only applies when running the tests, not recording them.  How do I get into a recording session with the commands I need in the command line?  Attach to process?  Really messy..
cathy
Posted on: 06 Jun 2017 03:05
will you have plan to develop this fuction? i think it is very useful.