I have the following problem with Telerik Testing Framework
(TTF): there is a ~20 sec delay between launching my WPF application and the
execution of the first step in my test.
Interestingly enough, there is no delay when connecting to my WPF application (after manually launching it), or when running the test in Test Studio 2016 (this version does not have the ‘Convert to Unit Test’ feature, so I cannot compare my code against the code in Test Studio that launches the application).
Here is the code in question:
Interestingly enough, there is no delay when connecting to my WPF application (after manually launching it), or when running the test in Test Studio 2016 (this version does not have the ‘Convert to Unit Test’ feature, so I cannot compare my code against the code in Test Studio that launches the application).
Here is the code in question:
// Launch the application
WpfApplication wpfApp = Manager.Current.LaunchNewApplication(@"filepath");
// Click the File menu button
wpfApp.MainWindow.Find.ByTextContent("File").User.Click();
I run my tests in C# Visual Studio 2015. I have tried to use
‘Settings.ClientReadyTimeout’ and ‘Settings.ExecuteCommandTimeout,’ but these
do not seem to have an effect on this.
I am sure there is something silly that I am missing, as I
am new at test automation. I hope that someone can shed some light on this
issue and point me in the right direction.
Thanks,
-Enrique