0
問題:在VS 2012中更新C# 我運行編碼的UI測試與CUITe。 質量保證代理正在翻身並生成一個dat文件編碼的UI測試更改用戶造成FatalExecutionEngineError返回AgentRestart.dat
在調試模式下運行 它成功打開IE瀏覽器窗口,登錄並嘗試在組合框中更改用戶。這些名稱的格式是「先生名姓(用戶名)」
CUITe_HtmlComboBox cboUsers = bw.Get<HtmlComboBox>("Id~user");
string terminatingString = ")";
int i = -1;
foreach(string userPart in cboUsers.Items) //'Mr'
{
if(userPart.EndsWith(terminatingString))
{
if(userPart.Contains("username"))
cboUsers.SelectItem(i);
i++;
}
}
日誌 在調試過程中VS將拋出此
FatalExecutionEngineError was detected
Message: The runtime has encountered a fatal error.
The address of the error was at 0x69c08d3b, on thread 0x1410.
The error code is 0xc0000005. This error may be a bug in the CLR or in the unsafe or non-verifiable portions of user code.
Common sources of this bug include user marshaling errors for COM-interop or PInvoke, which may corrupt the stack.
通過MSTest.exe運行有一個AgentRestart.dat作爲(道歉爲
ÿÿÿÿ sMicrosoft.VisualStudio.QualityTools.AgentObject, Version=11.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a 7Microsoft.VisualStudio.TestTools.Agent.AgentRestartInfo m_runIdm_testsCompleted System.Guid ýÿÿÿSystem.Guid _a_b_c_d_e_f_g_h_i_j_k ÂTíÚi©D¹È›ë¤÷
我正在通過託管調試助理工作。隨着調試完成我在測試瀏覽器中它可能不會被調用。我已經把代碼到最低限度,並且將包括更多,如果需要