Testing Winforms through command line

1 Answer 88 Views
Test Execution Test Results
Fernanda
Top achievements
Rank 1
Fernanda asked on 13 Feb 2023, 11:06 PM
Hi! My team and I are testing our interface in Test Studio through execution engine in the command prompt . Currently, we have a question and we wanted to know if there's a way to change the test executable through the command line. 
We wanted to change some existing parameters in our interface. For example, our_program.exe -testmode
It would be very useful for us if we could do something like this.
We are also having some issues with controls switching places frequently. Suddenly, our test script breaks and the script begins to recognize other controls. Is there an update that fixes this?
Thank you!

1 Answer, 1 is accepted

Sort by
0
Tsvetko
Telerik team
answered on 15 Feb 2023, 01:30 PM

Hi Fernanda,

At the moment Test Studio does not allow specifying additional arguments when launching a desktop application. This is quite reasonable request and that is why I logged this feature request on your behalf. As a workaround you can start a application via coded step, find its process and attach to the application using Manager.ConnectToDesktopApplication method.

About the controls that switch places. You can check our discussion in this forum post. We have started to discuss the same issue there and it is updated with more details.

Thank you for starting the discussion on this topic and for your feedback!

Regards, Tsvetko Progress Telerik

Virtual Classroom is the free self-paced technical training portal that gets you up to speed with Telerik and Kendo UI products including Telerik Test Studio! Check it out at https://learn.telerik.com/.
Tags
Test Execution Test Results
Asked by
Fernanda
Top achievements
Rank 1
Answers by
Tsvetko
Telerik team
Share this question
or