Answered by:
Error while playing back the scrips in VS2015 which were recorded in VS2013

Question
-
Hello,
I have some test scripts which were recorded using MTM 2013 and then imported to VS 2013. Using VS 2013 the playback worked fine. However, now as we have migrated to VS 2015 I want to run the recorded scripts in VS 2015. Every time I select a recorded script to play back it throws the following error and does not run.
---------------------------------------------------------------------------------------------------------------------------------------------------------
Unsupported
This version of Visual Studio is unable to open the following projects. The project types may not be installed or this version of Visual Studio may not support them.
For more information on enabling these project types or otherwise migrating your assets, please see the details in the "Migration Report" displayed after clicking OK.
- CodedUITest-Baxter-675, "D:\CodedUITests\1_Reg Test Unique PID Recording\CodedUITest-Baxter-675 - Copy\CodedUITest-Baxter-675\CodedUITest-Baxter-675.vbproj".---------------------------------------------------------------------------------------------------------------------------------------------------------
There is no migration report generated as well. Please let me know how can I run the recorded scripts in VS 2015. I don't want to re-record them again in MTM 2015.
Thanks in advance.
Wednesday, April 20, 2016 3:27 PM
Answers
-
Hi,
Thanks for your response.
>>While doing the test have you used VS 2015 Enterprise version ?
Yes, the version of my VS2015 is Enterprise. Also as far as I know, only VS2015 Enterprise support code ui test.
You can refer to the Prerequisites for the code ui test:
Prerequisites
For this walkthrough you will need:
-
Visual Studio Enterprise
https://msdn.microsoft.com/en-us/library/ff977233.aspx
So please use VS2015 Enterprise to run your test.
>>Is there any way by which I can make an .exe file with all the scripts that were recorded in VS 2013 which will run even if I un-install VS 2013 from my system ?
For this question, since our forum is discussing about Microsoft Test Manager. I suggest you'd better post it to the Code UI test forum for better support.
Best Regards,
Lake Xiao
Monday, April 25, 2016 1:09 AM -
All replies
-
-
Hi Rajat Subhra Das,
Thank you for your post.
This forum is discuss Visual Studio Setup and installation.
As your issue is related to MTM, I help you move this case to Visual Studio Development > Testing with Visual Studio Test Manager (MTM)
forum for dedicated support.
Thank you for your understanding.
Best Regards,
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click HERE to participate the survey.Thursday, April 21, 2016 2:57 AM -
Hello,
I have some test scripts which were recorded using MTM 2013 and then imported to VS 2013. Using VS 2013 the playback worked fine. However, now as we have migrated to VS 2015 I want to run the recorded scripts in VS 2015. Every time I select a recorded script to play back it throws the following error and does not run.
----------------------------------------------------------------------------------------------------------------------
UnsupportedThis version of Visual Studio is unable to open the following projects. The project types may not be installed or this version of Visual Studio may not support them.
For more information on enabling these project types or otherwise migrating your assets, please see the details in the "Migration Report" displayed after clicking OK.
- CodedUITest-Baxter-675, "D:\CodedUITests\1_Reg Test Unique PID Recording\CodedUITest-Baxter-675 - Copy\CodedUITest-Baxter-675\CodedUITest-Baxter-675.vbproj".
----------------------------------------------------------------------------------------------------------------------
There is no migration report generated as well. Please let me know how can I run the recorded scripts in VS 2015. I don't want to re-record them again in MTM 2015.
Thanks in advance.- Merged by lake Xiao Friday, April 22, 2016 1:06 AM duplicated
Thursday, April 21, 2016 10:32 AM -
Hi,
Thanks for your post.
I did a simple test in my side. I created a manual case in MTM2013 and recorded a script like Launch the www.google.com then input some strings in the searching textbox. Then run this script in VS2015, it can be ran successfully.
So please also try to do this simple test in your side to check whether the problem is in your test script itself or your VS2015.
1. If it can be ran successfully of this simpe test. I think the cause is in your script itself. I suppose the script recorded in MTM 2013 is not compatible in VS2015.
In order to validate it, you can re-record this test in MTM2015 or in VS2015 and compare the test script with that recorded in MTM2013. I think there might be somthing different.
So in this case, re-record the test in MTM or VS2015 looks like the best solution for your case.
2. If the simple test still can not be ran successfully. I think the problem is probably in your VS2015.
In this case, please create a code ui test in your VS2015 directly, record a test then run it check whether it can be ran successfully. I suggest you could repair your VS2015 if the test fail to playback.
Best Regards,
Lake Xiao
Friday, April 22, 2016 1:17 AM -
Hello Lake Xiao,
Thank you for your reply. I have one query. While doing the test have you used VS 2015 Enterprise version ? It has Coded UI functionality. However, in our office we have VS 2015 Test Professional version. It does not have Coded UI functionality.
Is there any way by which I can make an .exe file with all the scripts that were recorded in VS 2013 which will run even if I un-install VS 2013 from my system ?Friday, April 22, 2016 3:54 PM -
Hi,
Thanks for your response.
>>While doing the test have you used VS 2015 Enterprise version ?
Yes, the version of my VS2015 is Enterprise. Also as far as I know, only VS2015 Enterprise support code ui test.
You can refer to the Prerequisites for the code ui test:
Prerequisites
For this walkthrough you will need:
-
Visual Studio Enterprise
https://msdn.microsoft.com/en-us/library/ff977233.aspx
So please use VS2015 Enterprise to run your test.
>>Is there any way by which I can make an .exe file with all the scripts that were recorded in VS 2013 which will run even if I un-install VS 2013 from my system ?
For this question, since our forum is discussing about Microsoft Test Manager. I suggest you'd better post it to the Code UI test forum for better support.
Best Regards,
Lake Xiao
Monday, April 25, 2016 1:09 AM -