Has any one been experienced with the problem when the entire application start to work extremely slow? I can't make head or tail of this, but when I initialize manager, run the application and enter login and password, the application hangs for more than 2 minutes. If the same application start without Telerik test automation framework, it works very quick. For the current moment, I have to run it manually and enter login and password, and then attach to main window with Telerik test automation framework.
Does anyone know what the reason is of this strange behavior?
Thank you in advance.
Kind Regards,
Stanislav Hordiyenko
5 Answers, 1 is accepted
I am sorry to hear you are experiencing this issue. It seems this is something specific for the application you are testing. The only way I can think of we can investigate this issue is to provide us with access to your application so we can analyze further. Please note that you are now typing in a public accessible forum so if you are going to share private information you will need to open a support ticket. It would be great if you provide access with a working test and instructions on how to repro.
Thank you for your understanding.
Ivaylo
the Telerik team
Test Studio Trainings
Fortunately, I have found a workaround for this issue. I use Process in C# to run the application in another thread and then I attach to the opened window, otherwise, the application works extremely slow if I try to run it using your framework.
Also, I checked test automation using pure AutomationPeer. Issue still exists. So, I don't think that this is a bug in your framework. There is something, that leads to this issue.
Kind Regards,
Stanislav Hordiyenko
I am happy to hear you have found workaround of the problem you are experiencing.
And thank you for the explanations provided. As I mentioned in my previous reply in order to find the cause of the problem we will need access to the application so we can reproduce the issue in house and continue with further investigation.
Ivaylo
the Telerik team
Test Studio Trainings
After a while I started to experience the issue with the performance again. I profiled the application under test with dotTrace and figured out that there is an issue with the .GetRealProperty(AutomationReference reference, AutomationProperty property) and .ReadCommandFromPipe<T>(PipeStream pipe) methods in Telerik testing framework. These two methods consume more than 81% of all time. If I provide you with a snapshot from dotTrace will you be able to identify the issue? Unfortunately, I can't provide you with an access to the application.
Thank you.
Kind Regards,
Stanislav Hordiyenko
I am sorry to hear you are experiencing this issue again. You can provide us with a snapshot in question but I cannot guarantee we can identify the issue. As you are already aware without access to the application itself we cannot investigate this properly.
All the best,Ivaylo
the Telerik team
Test Studio Trainings