I have created a CodedUI test in VS2010 (Ultimate) and called this test from a console application (which is built in the same .Net Framework 4).This is running fine on my machine or any other machine with VS2010 Ultimate installed. When I try to run the CodedUI test on a 32-bit machine without VS2010 Ultimate it throws the following error:
Unhandled Exception: Microsoft.VisualStudio.TestTools.UITest.Extension.PlaybackFailureException: Cannot perform '' on the control. Additional Details:
The control details were not specified. ---> System.Runtime.InteropServices.COMException:
Retrieving the COM class factory for component with CLSID {6DA215C2-D80D-42F2-A
514-B44A16DCBAAA} failed due to the following error: 80040154 Class not registered (Exception from HRESULT: 0x80040154 (REGDB_E_CLASSNOTREG)).
at Microsoft.VisualStudio.TestTools.UITest.Playback.ScreenElement.InitPlayback()
at Microsoft.VisualStudio.TestTools.UITesting.Playback.Initialize()
--- End of inner exception stack trace ---
at Microsoft.VisualStudio.TestTools.UITesting.Playback.MapAndThrowComException(COMException innerException, IPlaybackContext context)
at Microsoft.VisualStudio.TestTools.UITesting.Playback.MapAndThrowException(SystemException exception, IPlaybackContext context)
at Microsoft.VisualStudio.TestTools.UITesting.Playback.Initialize()
at CitrixLANConsole.Program.Main(String[] args) in c:\users\<username>\documents\visual studio 2010\Projects\CitrixLANConsole\CitrixLANConsole\Program.cs:
line 27.
Can anyone tell me how can I make the test run on a machine which does not have VS2010 Ultimate installed on it?