We are trying to evaluate our Silverlight Application with Test Studio and having some problems while recording the tests.
Currently we are using version 2012.2.920 of Test Studio since we had the problem "Unable to connect to Silverlight Application" with the most recent version 2012.2.1420. Here is what we tryed:
After reviewing the documented solution we registred the MIME type application/x-silverlight-app to our servers. Afterwards Fiddler showed the correct response headers. Unfortunately the recording didn't work. We checked all other solutions from the documentation but the windowless mode was the only one which was helpful. Adding this parameter to the Silverlight object made the recording possible. But due to performance and compatibility issues we can not use the windowless mode for our application!
So my first question is: are there any other solutions to try?
Recording on other Silverlight Applications (like the Telerik Demos) works just fine.
---
With version 2012.2.920 we were able to successfully record and run multiple tests (without setting application/x-silverlight-app or enabling windowless mode!) so we decided to keep this version for now. A couple of days ago we wanted to create some new tests but encountered another problem. When navigating to our Silverlight apps the recorder freezes and its process has to be terminated. The strange thing is: in 1 out of 10 recording attempts it works, but >90% of the time it fails! The app is basically the same as before. There were no changes in the visual part of the screen. There is no difference when trying to record a local deployment/execution of the XAP (Visual Studio) and the deployment on the server. Both fail.
The Test Studio log file gives no information on the cause of the error because it logs just to the point where the recorder freezes. I attached the log to this post. Any suggestions how to find a solution to this problem?
Currently we are using version 2012.2.920 of Test Studio since we had the problem "Unable to connect to Silverlight Application" with the most recent version 2012.2.1420. Here is what we tryed:
After reviewing the documented solution we registred the MIME type application/x-silverlight-app to our servers. Afterwards Fiddler showed the correct response headers. Unfortunately the recording didn't work. We checked all other solutions from the documentation but the windowless mode was the only one which was helpful. Adding this parameter to the Silverlight object made the recording possible. But due to performance and compatibility issues we can not use the windowless mode for our application!
So my first question is: are there any other solutions to try?
Recording on other Silverlight Applications (like the Telerik Demos) works just fine.
---
With version 2012.2.920 we were able to successfully record and run multiple tests (without setting application/x-silverlight-app or enabling windowless mode!) so we decided to keep this version for now. A couple of days ago we wanted to create some new tests but encountered another problem. When navigating to our Silverlight apps the recorder freezes and its process has to be terminated. The strange thing is: in 1 out of 10 recording attempts it works, but >90% of the time it fails! The app is basically the same as before. There were no changes in the visual part of the screen. There is no difference when trying to record a local deployment/execution of the XAP (Visual Studio) and the deployment on the server. Both fail.
The Test Studio log file gives no information on the cause of the error because it logs just to the point where the recorder freezes. I attached the log to this post. Any suggestions how to find a solution to this problem?