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

Application works extremely slow

5 Answers 101 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Stanislav
Top achievements
Rank 1
Stanislav asked on 14 Nov 2012, 06:40 AM
Hello all,

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

Sort by
0
Ivaylo
Telerik team
answered on 16 Nov 2012, 03:47 PM
Hello Stanislav,

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.

Kind regards,
Ivaylo
the Telerik team
Quickly become an expert in Test Studio, check out our new training sessions!
Test Studio Trainings
0
Stanislav
Top achievements
Rank 1
answered on 26 Nov 2012, 06:44 AM
Hello Ivaylo,

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
0
Ivaylo
Telerik team
answered on 28 Nov 2012, 11:17 AM
Hello Stanislav,

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.

All the best,
Ivaylo
the Telerik team
Quickly become an expert in Test Studio, check out our new training sessions!
Test Studio Trainings
0
Stanislav
Top achievements
Rank 1
answered on 01 Feb 2013, 05:13 AM
Hello Telerik,

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
0
Ivaylo
Telerik team
answered on 05 Feb 2013, 02:11 PM
Hello Stanislav,

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
Quickly become an expert in Test Studio, check out our new training sessions!
Test Studio Trainings
Tags
General Discussions
Asked by
Stanislav
Top achievements
Rank 1
Answers by
Ivaylo
Telerik team
Stanislav
Top achievements
Rank 1
Share this question
or