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

Error recording

7 Answers 69 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Raul
Top achievements
Rank 1
Raul asked on 19 May 2017, 11:34 AM

Good morning,

We are using the Telerik Test Studio version 2017.1.207.0. When we try to record some actions of our Desktop application we got an error.(Attached in the thread). The error is raised at the begining of the execution, when our application is running the splash window.

About our application: We are using Visual Studio Team Service. It is a desktop application programmed in .NET (C#)

Do you know which could be the problem?

Thanks,

Best regards

7 Answers, 1 is accepted

Sort by
0
Daniel Djambov
Telerik team
answered on 24 May 2017, 07:54 AM
Hi Raul,

This error seems to come from your WPF application itself - the way it is developed or deployed in debug mode. There are multiple solutions in internet how to handle this situation, like this:
https://stackoverflow.com/questions/1894837/invaliddeploymentexception-application-identity-is-not-set

From Test Studio side we cannot fix it, but we can advise you how to try to workaround it. As I can see, when WPF launching recorder the exception is shown. Can you please try the following - launch your application first and then from Recorder button dropdow use option to attach recorder to existing application - this can help connect to your WPF application directly, not to the splash screen.

Please tell me if this worked for you, and if you managed to talk to someone from your development team  if they can fix it.

If you still have problems, we can try to check the problem locally and see if we can help, but we will need your wpf application for that purpose.

Best Regards,
Daniel Djambov
Telerik by Progress
 
The New Release of Telerik Test Studio Is Here! Download, install,
and send us your feedback!
0
Raul
Top achievements
Rank 1
answered on 24 May 2017, 10:08 AM

Hi Daniel,

Thanks for your replying.

We will check the link you provided us to handle this situation.

I tried to launch the applicaction and after that clicking Recorded button using the existing application, as you said,  but unfortunately, Test Studio spends a lot of time without success. At the bottom on the left appears a connecting recorder progress bar and any action done in our WPF is not stored (I attached a picture).

 

Best regards,

0
Elena
Telerik team
answered on 26 May 2017, 01:15 PM
Hi Raul,

Let me please interfere into this thread. 

The actions against the application could not be recorded before the recorder is attached to it. However obviously there is something that prevents the recorder to attach. Could you please generate the application log while trying to connect to the already running app and then send it zipped via this thread. Please clear the log prior that to ensure only relative to the current issue records will be stored within the log. 

Thanks for your cooperation! 

Regards,
Elena Tsvetkova
Progress Telerik
 
The New Release of Telerik Test Studio Is Here! Download, install,
and send us your feedback!
0
Raul
Top achievements
Rank 1
answered on 29 May 2017, 08:07 AM

Hi Elena,

Attached you will find the log zipped.

Thanks for all,

Best regards,

0
Accepted
Elena
Telerik team
answered on 01 Jun 2017, 07:24 AM
Hi Raul,

Thank you for getting back to me and providing the requested details. 

I reviewed the log and listed exceptions and it seems that the access to the folder, where the WPF application exe file is, is limited for the active user. Could you please double check if full permissions are granted for that folder and also explicitly start Test Studio as an Administrator. 

Please let me know what the behavior is after applying the above recommendations. Thanks for your cooperation! 

Regards,
Elena Tsvetkova
Progress Telerik
 
The New Release of Telerik Test Studio Is Here! Download, install,
and send us your feedback!
0
Raul
Top achievements
Rank 1
answered on 01 Jun 2017, 11:38 AM

Hi Elena,

After applying all of your suggestions and make some modifications in our .exe, it works.

 

Thanks for your great help.

 

Best regards,

0
Elena
Telerik team
answered on 01 Jun 2017, 02:03 PM
Hi Raul,

Thank you for getting back to me. I am glad to hear we managed to assist you and solve the issues on your end. 

Wish you nice day further! 

Regards,
Elena Tsvetkova
Progress Telerik
 
The New Release of Telerik Test Studio Is Here! Download, install,
and send us your feedback!
Tags
General Discussions
Asked by
Raul
Top achievements
Rank 1
Answers by
Daniel Djambov
Telerik team
Raul
Top achievements
Rank 1
Elena
Telerik team
Share this question
or