Quantcast
Channel: Microsoft Dynamics CRM Forum - Recent Threads
Viewing all articles
Browse latest Browse all 55831

When playing Coded UI test, Dynamics CRM throws an error.

$
0
0

Hi all,

I'm trying to automate some test scenarios by using CodedUI. Everytime  I play my recorded actions I get a pop up saying "Microsoft Dynamics CRM has encountered an error." I clicked on the "View the data that will be sent to Microsoft" and I got this:

 

Microsoft Dynamics CRM Error Report Contents

<CrmScriptErrorReport>   <ReportVersion>1.0</ReportVersion>   <ScriptErrorDetails>    <Message>Unable to get property 'Success' of undefined or null reference</Message>    <Line>1</Line>    <URL>/_static/_controls/lookupmru/lookupmrulist.js?ver=706722427</URL>    <PageURL>/main.aspx#13296207</PageURL>    <Function>anonymous($p0){var$v_0=null;if(this.$P_3||$p0&&this.$n_3)return$v_0;this.$16_3=newDate;var$v_1=newRemoteCommand("LookupMruWebService","RetrieveLookupMruData",null);$v_1.ErrorHandler=this.$$d_$1S_3;var$v_2=null;if($p0)$v_2=this.$$d_$1J_3;var$v_3=$v_1.Execu</Function>    <FunctionRaw>function($p0){var $v_0=null;if(this.$P_3||$p0&&this.$n_3)return $v_0;this.$16_3=new Date;var $v_1=new RemoteCommand("LookupMruWebService","RetrieveLookupMruData",null);$v_1.ErrorHandler=this.$$d_$1S_3;var $v_2=null;if($p0)$v_2=this.$$d_$1J_3;var $v_3=$v_1</FunctionRaw>    <CallStack>     <Function>anonymous($p0){var$v_0=null;if(this.$P_3||$p0&&this.$n_3)return$v_0;this.$16_3=newDate;var$v_1=newRemoteCommand("LookupMruWebService","RetrieveLookupMruData",null);$v_1.ErrorHandler=this.$$d_$1S_3;var$v_2=null;if($p0)$v_2=this.$$d_$1J_3;var$v_3=$v_1.Execute($v_2);if(!$p0){if($v_3.Success){var$v_4=$v_3.ReturnValue;$v_0=this.$11_3($v_4)}}elsethis.$n_3=true;return$v_0}</Function>    </CallStack>   </ScriptErrorDetails>   <ClientInformation>    <BrowserUserAgent>Mozilla/5.0 (compatible; MSIE 10.0; Windows NT 6.1; WOW64; Trident/6.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; .NET4.0C; .NET4.0E; InfoPath.3)</BrowserUserAgent>    <BrowserLanguage>en-US</BrowserLanguage>    <SystemLanguage>en-CA</SystemLanguage>    <UserLanguage>en-CA</UserLanguage>    <ScreenResolution>1680x1050</ScreenResolution>    <ClientName>Web</ClientName>    <ClienState>Online</ClienState>    <ClientTime>2015-12-15T15:44:17</ClientTime>   </ClientInformation>   <ServerInformation>     <OrgLanguage>1033</OrgLanguage>     <OrgCulture>1033</OrgCulture>     <UserLanguage>1033</UserLanguage>     <UserCulture>1033</UserCulture>     <OrgID>{F7A5726F-6C94-E511-80DC-00155D75C510}</OrgID>     <UserID>{97524CE3-EF86-E511-80DA-00155D75C510}</UserID>     <CRMVersion>7.0.2.53</CRMVersion>   </ServerInformation> </CrmScriptErrorReport>

 How can I successfully create automated test scenarios? Thanks!!

 

Oscar.


Viewing all articles
Browse latest Browse all 55831

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>