我正在尝试使用Visual Studio 2012创建UI自动化 - 编码用户界面 我记录了我想要执行的操作(一些基本的Excel操作)并运行测试 我收到以下错误:
Test Name: CodedUITestMethod1
Test FullName: CodedUITestProject3.CodedUITest1.CodedUITestMethod1
Test Source: c:\Users\bob\Documents\Visual Studio 2013\Projects\CodedUITestProject3\CodedUITestProject3\CodedUITest1.cs : line 27
Test Outcome: Failed
Test Duration: 0:00:00.1932062
Result Message: Error calling Initialization method for test class CodedUITestProject3.CodedUITest1: Microsoft.VisualStudio.TestTools.UITest.Extension.UITestException:
The Coded UITest cannot be run as a 64 bit process. You must change your test settings in the Hosts tab to run your test in a 32 bit process. For more information on creating test settings,
see http://go.microsoft.com/fwlink/?LinkID=246440&clcid=0x409.
Result StackTrace:
at Microsoft.VisualStudio.TestTools.UITesting.CodedUITestExtensionExecution.BeforeTestInitialize(Object sender, BeforeTestInitializeEventArgs e)
at Microsoft.VisualStudio.TestTools.TestTypes.Unit.UnitTestExecuter.RunInitializeMethod()
我已尝试从菜单中将设置更改为x86并从帮助链接创建自定义设置文件,但它无法正常工作。 关于应该做什么的任何想法?