{"id":15387,"date":"2019-04-12T12:52:52","date_gmt":"2019-04-12T12:52:52","guid":{"rendered":"https:\/\/www.inogic.com\/blog\/?p=15387"},"modified":"2021-03-06T10:08:08","modified_gmt":"2021-03-06T10:08:08","slug":"easyrepro-open-record-using-grid-openrecord-in-dynamics-365-unified-interface","status":"publish","type":"post","link":"https:\/\/www.inogic.com\/blog\/2019\/04\/easyrepro-open-record-using-grid-openrecord-in-dynamics-365-unified-interface\/","title":{"rendered":"EasyRepro \u2013 Open record using Grid.OpenRecord() in Dynamics 365 Unified Interface"},"content":{"rendered":"<h2><strong>Introduction<\/strong><\/h2>\n<p>EasyRepro is a framework which is used to automate UI testing for dynamics customers Projects.<\/p>\n<h2><strong>Problem<\/strong><\/h2>\n<p>Grid.OpenRecord() method is used for opening the record from home page. This method opens the record by clicking on the first available anchor tag in the list of records, which makes it necessary to have the first column as primary name field of the entity.<\/p>\n<p>Below code emphasize the same:<\/p>\n<h2><strong>Code<\/strong><\/h2>\n<p>internal BrowserCommandResult&lt;bool&gt; OpenRecord(int index, int thinkTime = Constants.DefaultThinkTime, bool checkRecord = false)<\/p>\n<p>{<\/p>\n<p>this.Browser.ThinkTime(thinkTime);<\/p>\n<p>return this.Execute(GetOptions($&#8221;Open Grid Record&#8221;), driver =&gt;<\/p>\n<p>{<\/p>\n<p>var currentindex = 0;<\/p>\n<p>var rows = driver.FindElements(By.ClassName(&#8220;wj-row&#8221;));<\/p>\n<p>\/\/TODO: The grid only has a small subset of records. Need to load them all<\/p>\n<p>foreach (var row in rows)<\/p>\n<p>{<\/p>\n<p>if (!string.IsNullOrEmpty(row.GetAttribute(&#8220;data-lp-id&#8221;)))<\/p>\n<p>{<\/p>\n<p>if (currentindex == index)<\/p>\n<p>{<\/p>\n<p>\/\/This is the piece of code that does the opening of the record<\/p>\n<p>var tag = checkrecord ? &#8220;div&#8221; : &#8220;a&#8221;;<\/p>\n<p>row.findelement(by.tagname(tag)).click();<\/p>\n<p>break;<\/p>\n<p>}<\/p>\n<p>currentindex++;<\/p>\n<p>}<\/p>\n<p>}<\/p>\n<p>driver.WaitForTransaction();<\/p>\n<p>return true;<\/p>\n<p>});<\/p>\n<p>}<\/p>\n<h2><strong>Scenario<\/strong><\/h2>\n<p>Suppose, we want to open the record from \u201cAll Opportunities\u201d view by using Grid.OpenRecord() method. Then, we need to have a solution that opens the record without finding an anchor tag. The current method searches for first anchor tag(link). And with topic name blank, the first anchor tag(link) is of account due to which account record is opened instead of opportunity.<\/p>\n<p><img decoding=\"async\" class=\"aligncenter size-full wp-image-15389\" style=\"border: 1px solid #0a0a0a; padding: 1px; margin: 1px;\" src=\"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2019\/04\/UCI-Dynamics-365-CRM.png\" alt=\"UCI Dynamics 365 CRM\" width=\"995\" height=\"399\" \/><\/p>\n<h2><strong>Solution<\/strong><\/h2>\n<p>We need to replace the logic of opening the record on the basis of clicking an anchor tag to look for a label and double click it.<\/p>\n<p>internal BrowserCommandResult&lt;bool&gt; OpenRecord(int index, int thinkTime = \u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 Constants.DefaultThinkTime, bool checkRecord = false)<\/p>\n<p>{<\/p>\n<p>this.Browser.ThinkTime(thinkTime);<\/p>\n<p>return this.Execute(GetOptions($&#8221;Open Grid Record&#8221;), driver =&gt;<\/p>\n<p>{<\/p>\n<p>var currentindex = 0;<\/p>\n<p>var rows = driver.FindElements(By.ClassName(&#8220;wj-row&#8221;));<\/p>\n<p>\/\/TODO: The grid only has a small subset of records. Need to load them all<\/p>\n<p>foreach (var row in rows)<\/p>\n<p>{<\/p>\n<p>if (!string.IsNullOrEmpty(row.GetAttribute(&#8220;data-lp-id&#8221;)))<\/p>\n<p>{<\/p>\n<p>if (currentindex == index)<\/p>\n<p>{<\/p>\n<p>\/\/Replacing it with the below piece solves the issue.<\/p>\n<p>var tag = checkRecord ? &#8220;div&#8221; : &#8220;label&#8221;;<\/p>\n<p>SeleniumExtensions.DoubleClick(driver, By.TagName(tag), true);<\/p>\n<p>break;<\/p>\n<p>}<\/p>\n<p>currentindex++;<\/p>\n<p>}<\/p>\n<p>}<\/p>\n<p>driver.WaitForTransaction();<\/p>\n<p>return true;<\/p>\n<p>});<\/p>\n<p>}<\/p>\n<h2><strong>Conclusion<\/strong><\/h2>\n<p>The above code will help you to open record without finding an anchor tag in Dynamics 365 Unified Interface.<\/p>\n<p><a href=\"https:\/\/www.inogic.com\/product\/productivity-pack\/click-2-clone-microsoft-dynamics-crm-records\" target=\"_blank\" rel=\"noopener noreferrer\"><img decoding=\"async\" class=\"aligncenter wp-image-15332\" src=\"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2019\/04\/click2clone.png\" alt=\"click2clone\" width=\"816\" height=\"204\" \/><\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Introduction EasyRepro is a framework which is used to automate UI testing for dynamics customers Projects. Problem Grid.OpenRecord() method is used for opening the record from home page. This method opens the record by clicking on the first available anchor tag in the list of records, which makes it necessary to have the first column\u2026 <span class=\"read-more\"><a href=\"https:\/\/www.inogic.com\/blog\/2019\/04\/easyrepro-open-record-using-grid-openrecord-in-dynamics-365-unified-interface\/\">Read More: EasyRepro \u2013 Open record using Grid.OpenRecord() in Dynamics 365 Unified\u2026 &raquo;<\/a><\/span><\/p>\n","protected":false},"author":13,"featured_media":18209,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[18,19,2192,59],"tags":[549,1741],"class_list":["post-15387","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-dynamics-365-v9-2","category-dynamics-crm","category-easyrepro","category-uci","tag-dynamics-365-crm-unified-interface","tag-uci-dynamics-365-crm"],"aioseo_notices":[],"aioseo_head":"\n\t\t<!-- All in One SEO 4.9.8 - aioseo.com -->\n\t<meta name=\"description\" content=\"Introduction EasyRepro is a framework which is used to automate UI testing for dynamics customers Projects. Problem Grid.OpenRecord() method is used for opening the record from home page. This method opens the record by clicking on the first available anchor tag in the list of records, which makes it necessary to have the first column\" \/>\n\t<meta name=\"robots\" content=\"max-image-preview:large\" \/>\n\t<meta name=\"author\" content=\"Tushar\"\/>\n\t<link rel=\"canonical\" href=\"https:\/\/www.inogic.com\/blog\/2019\/04\/easyrepro-open-record-using-grid-openrecord-in-dynamics-365-unified-interface\/\" \/>\n\t<meta name=\"generator\" content=\"All in One SEO (AIOSEO) 4.9.8\" \/>\n\t\t<meta property=\"og:locale\" content=\"en_US\" \/>\n\t\t<meta property=\"og:site_name\" content=\"Microsoft Dynamics 365 CRM Tips and Tricks - By Inogic\" \/>\n\t\t<meta property=\"og:type\" content=\"article\" \/>\n\t\t<meta property=\"og:title\" content=\"EasyRepro \u2013 Open record using Grid.OpenRecord() in Dynamics 365 Unified Interface - Microsoft Dynamics 365 CRM Tips and Tricks\" \/>\n\t\t<meta property=\"og:description\" content=\"Introduction EasyRepro is a framework which is used to automate UI testing for dynamics customers Projects. Problem Grid.OpenRecord() method is used for opening the record from home page. This method opens the record by clicking on the first available anchor tag in the list of records, which makes it necessary to have the first column\" \/>\n\t\t<meta property=\"og:url\" content=\"https:\/\/www.inogic.com\/blog\/2019\/04\/easyrepro-open-record-using-grid-openrecord-in-dynamics-365-unified-interface\/\" \/>\n\t\t<meta property=\"og:image\" content=\"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2019\/04\/UCI-Dynamics-365-CRM.png\" \/>\n\t\t<meta property=\"og:image:secure_url\" content=\"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2019\/04\/UCI-Dynamics-365-CRM.png\" \/>\n\t\t<meta property=\"article:published_time\" content=\"2019-04-12T12:52:52+00:00\" \/>\n\t\t<meta property=\"article:modified_time\" content=\"2021-03-06T10:08:08+00:00\" \/>\n\t\t<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/inogicindia\" \/>\n\t\t<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n\t\t<meta name=\"twitter:site\" content=\"@inogic\" \/>\n\t\t<meta name=\"twitter:title\" content=\"EasyRepro \u2013 Open record using Grid.OpenRecord() in Dynamics 365 Unified Interface - Microsoft Dynamics 365 CRM Tips and Tricks\" \/>\n\t\t<meta name=\"twitter:description\" content=\"Introduction EasyRepro is a framework which is used to automate UI testing for dynamics customers Projects. Problem Grid.OpenRecord() method is used for opening the record from home page. This method opens the record by clicking on the first available anchor tag in the list of records, which makes it necessary to have the first column\" \/>\n\t\t<meta name=\"twitter:creator\" content=\"@inogic\" \/>\n\t\t<meta name=\"twitter:image\" content=\"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2019\/04\/UCI-Dynamics-365-CRM.png\" \/>\n\t\t<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t\t<meta name=\"twitter:data1\" content=\"Tushar\" \/>\n\t\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t\t<meta name=\"twitter:data2\" content=\"2 minutes\" \/>\n\t\t<script type=\"application\/ld+json\" class=\"aioseo-schema\">\n\t\t\t{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"BlogPosting\",\"@id\":\"https:\\\/\\\/www.inogic.com\\\/blog\\\/2019\\\/04\\\/easyrepro-open-record-using-grid-openrecord-in-dynamics-365-unified-interface\\\/#blogposting\",\"name\":\"EasyRepro \\u2013 Open record using Grid.OpenRecord() in Dynamics 365 Unified Interface - Microsoft Dynamics 365 CRM Tips and Tricks\",\"headline\":\"EasyRepro \\u2013 Open record using Grid.OpenRecord() in Dynamics 365 Unified Interface\",\"author\":{\"@id\":\"https:\\\/\\\/www.inogic.com\\\/blog\\\/author\\\/inogic-2\\\/#author\"},\"publisher\":{\"@id\":\"https:\\\/\\\/www.inogic.com\\\/blog\\\/#organization\"},\"image\":{\"@type\":\"ImageObject\",\"url\":\"https:\\\/\\\/www.inogic.com\\\/blog\\\/wp-content\\\/uploads\\\/2019\\\/04\\\/Inogic-1.png\",\"width\":150,\"height\":140},\"datePublished\":\"2019-04-12T12:52:52+05:30\",\"dateModified\":\"2021-03-06T10:08:08+05:30\",\"inLanguage\":\"en-US\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.inogic.com\\\/blog\\\/2019\\\/04\\\/easyrepro-open-record-using-grid-openrecord-in-dynamics-365-unified-interface\\\/#webpage\"},\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.inogic.com\\\/blog\\\/2019\\\/04\\\/easyrepro-open-record-using-grid-openrecord-in-dynamics-365-unified-interface\\\/#webpage\"},\"articleSection\":\"Dynamics 365 v9, Dynamics CRM, EasyRePro, UCI, Dynamics 365 CRM Unified Interface, UCI Dynamics 365 CRM\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.inogic.com\\\/blog\\\/2019\\\/04\\\/easyrepro-open-record-using-grid-openrecord-in-dynamics-365-unified-interface\\\/#breadcrumblist\",\"itemListElement\":[{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.inogic.com\\\/blog#listItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.inogic.com\\\/blog\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.inogic.com\\\/blog\\\/category\\\/dynamics-365-v9-2\\\/#listItem\",\"name\":\"Dynamics 365 v9\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.inogic.com\\\/blog\\\/category\\\/dynamics-365-v9-2\\\/#listItem\",\"position\":2,\"name\":\"Dynamics 365 v9\",\"item\":\"https:\\\/\\\/www.inogic.com\\\/blog\\\/category\\\/dynamics-365-v9-2\\\/\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.inogic.com\\\/blog\\\/2019\\\/04\\\/easyrepro-open-record-using-grid-openrecord-in-dynamics-365-unified-interface\\\/#listItem\",\"name\":\"EasyRepro \\u2013 Open record using Grid.OpenRecord() in Dynamics 365 Unified Interface\"},\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.inogic.com\\\/blog#listItem\",\"name\":\"Home\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.inogic.com\\\/blog\\\/2019\\\/04\\\/easyrepro-open-record-using-grid-openrecord-in-dynamics-365-unified-interface\\\/#listItem\",\"position\":3,\"name\":\"EasyRepro \\u2013 Open record using Grid.OpenRecord() in Dynamics 365 Unified Interface\",\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.inogic.com\\\/blog\\\/category\\\/dynamics-365-v9-2\\\/#listItem\",\"name\":\"Dynamics 365 v9\"}}]},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/www.inogic.com\\\/blog\\\/#organization\",\"name\":\"Microsoft Dynamics 365 CRM Tips and Tricks\",\"description\":\"By Inogic\",\"url\":\"https:\\\/\\\/www.inogic.com\\\/blog\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https:\\\/\\\/www.inogic.com\\\/blog\\\/wp-content\\\/uploads\\\/2023\\\/02\\\/inogic-logo.png\",\"@id\":\"https:\\\/\\\/www.inogic.com\\\/blog\\\/2019\\\/04\\\/easyrepro-open-record-using-grid-openrecord-in-dynamics-365-unified-interface\\\/#organizationLogo\",\"width\":1000,\"height\":325,\"caption\":\"inogic logo\"},\"image\":{\"@id\":\"https:\\\/\\\/www.inogic.com\\\/blog\\\/2019\\\/04\\\/easyrepro-open-record-using-grid-openrecord-in-dynamics-365-unified-interface\\\/#organizationLogo\"},\"sameAs\":[\"https:\\\/\\\/www.facebook.com\\\/inogicindia\",\"https:\\\/\\\/twitter.com\\\/inogic\",\"https:\\\/\\\/www.instagram.com\\\/inogicindia\\\/\",\"https:\\\/\\\/www.youtube.com\\\/channel\\\/UCM4V7ousgLSu1hbOEv4DUuQ\",\"https:\\\/\\\/www.linkedin.com\\\/company\\\/inogicindia\"]},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.inogic.com\\\/blog\\\/author\\\/inogic-2\\\/#author\",\"url\":\"https:\\\/\\\/www.inogic.com\\\/blog\\\/author\\\/inogic-2\\\/\",\"name\":\"Tushar\",\"image\":{\"@type\":\"ImageObject\",\"@id\":\"https:\\\/\\\/www.inogic.com\\\/blog\\\/2019\\\/04\\\/easyrepro-open-record-using-grid-openrecord-in-dynamics-365-unified-interface\\\/#authorImage\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/839d9ae7d2b941d2d09e91df322267a429821f2ce5494302b53bd5ca3679f1a0?s=96&d=mm&r=g\",\"width\":96,\"height\":96,\"caption\":\"Tushar\"}},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.inogic.com\\\/blog\\\/2019\\\/04\\\/easyrepro-open-record-using-grid-openrecord-in-dynamics-365-unified-interface\\\/#webpage\",\"url\":\"https:\\\/\\\/www.inogic.com\\\/blog\\\/2019\\\/04\\\/easyrepro-open-record-using-grid-openrecord-in-dynamics-365-unified-interface\\\/\",\"name\":\"EasyRepro \\u2013 Open record using Grid.OpenRecord() in Dynamics 365 Unified Interface - Microsoft Dynamics 365 CRM Tips and Tricks\",\"description\":\"Introduction EasyRepro is a framework which is used to automate UI testing for dynamics customers Projects. Problem Grid.OpenRecord() method is used for opening the record from home page. This method opens the record by clicking on the first available anchor tag in the list of records, which makes it necessary to have the first column\",\"inLanguage\":\"en-US\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.inogic.com\\\/blog\\\/#website\"},\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.inogic.com\\\/blog\\\/2019\\\/04\\\/easyrepro-open-record-using-grid-openrecord-in-dynamics-365-unified-interface\\\/#breadcrumblist\"},\"author\":{\"@id\":\"https:\\\/\\\/www.inogic.com\\\/blog\\\/author\\\/inogic-2\\\/#author\"},\"creator\":{\"@id\":\"https:\\\/\\\/www.inogic.com\\\/blog\\\/author\\\/inogic-2\\\/#author\"},\"image\":{\"@type\":\"ImageObject\",\"url\":\"https:\\\/\\\/www.inogic.com\\\/blog\\\/wp-content\\\/uploads\\\/2019\\\/04\\\/Inogic-1.png\",\"@id\":\"https:\\\/\\\/www.inogic.com\\\/blog\\\/2019\\\/04\\\/easyrepro-open-record-using-grid-openrecord-in-dynamics-365-unified-interface\\\/#mainImage\",\"width\":150,\"height\":140},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.inogic.com\\\/blog\\\/2019\\\/04\\\/easyrepro-open-record-using-grid-openrecord-in-dynamics-365-unified-interface\\\/#mainImage\"},\"datePublished\":\"2019-04-12T12:52:52+05:30\",\"dateModified\":\"2021-03-06T10:08:08+05:30\"},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.inogic.com\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/www.inogic.com\\\/blog\\\/\",\"name\":\"Microsoft Dynamics 365 CRM Tips and Tricks\",\"alternateName\":\"Inogic\",\"description\":\"By Inogic\",\"inLanguage\":\"en-US\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.inogic.com\\\/blog\\\/#organization\"}}]}\n\t\t<\/script>\n\t\t<!-- All in One SEO -->\n\n","aioseo_head_json":{"title":"EasyRepro \u2013 Open record using Grid.OpenRecord() in Dynamics 365 Unified Interface - Microsoft Dynamics 365 CRM Tips and Tricks","description":"Introduction EasyRepro is a framework which is used to automate UI testing for dynamics customers Projects. Problem Grid.OpenRecord() method is used for opening the record from home page. This method opens the record by clicking on the first available anchor tag in the list of records, which makes it necessary to have the first column","canonical_url":"https:\/\/www.inogic.com\/blog\/2019\/04\/easyrepro-open-record-using-grid-openrecord-in-dynamics-365-unified-interface\/","robots":"max-image-preview:large","keywords":"","webmasterTools":{"miscellaneous":""},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"BlogPosting","@id":"https:\/\/www.inogic.com\/blog\/2019\/04\/easyrepro-open-record-using-grid-openrecord-in-dynamics-365-unified-interface\/#blogposting","name":"EasyRepro \u2013 Open record using Grid.OpenRecord() in Dynamics 365 Unified Interface - Microsoft Dynamics 365 CRM Tips and Tricks","headline":"EasyRepro \u2013 Open record using Grid.OpenRecord() in Dynamics 365 Unified Interface","author":{"@id":"https:\/\/www.inogic.com\/blog\/author\/inogic-2\/#author"},"publisher":{"@id":"https:\/\/www.inogic.com\/blog\/#organization"},"image":{"@type":"ImageObject","url":"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2019\/04\/Inogic-1.png","width":150,"height":140},"datePublished":"2019-04-12T12:52:52+05:30","dateModified":"2021-03-06T10:08:08+05:30","inLanguage":"en-US","mainEntityOfPage":{"@id":"https:\/\/www.inogic.com\/blog\/2019\/04\/easyrepro-open-record-using-grid-openrecord-in-dynamics-365-unified-interface\/#webpage"},"isPartOf":{"@id":"https:\/\/www.inogic.com\/blog\/2019\/04\/easyrepro-open-record-using-grid-openrecord-in-dynamics-365-unified-interface\/#webpage"},"articleSection":"Dynamics 365 v9, Dynamics CRM, EasyRePro, UCI, Dynamics 365 CRM Unified Interface, UCI Dynamics 365 CRM"},{"@type":"BreadcrumbList","@id":"https:\/\/www.inogic.com\/blog\/2019\/04\/easyrepro-open-record-using-grid-openrecord-in-dynamics-365-unified-interface\/#breadcrumblist","itemListElement":[{"@type":"ListItem","@id":"https:\/\/www.inogic.com\/blog#listItem","position":1,"name":"Home","item":"https:\/\/www.inogic.com\/blog","nextItem":{"@type":"ListItem","@id":"https:\/\/www.inogic.com\/blog\/category\/dynamics-365-v9-2\/#listItem","name":"Dynamics 365 v9"}},{"@type":"ListItem","@id":"https:\/\/www.inogic.com\/blog\/category\/dynamics-365-v9-2\/#listItem","position":2,"name":"Dynamics 365 v9","item":"https:\/\/www.inogic.com\/blog\/category\/dynamics-365-v9-2\/","nextItem":{"@type":"ListItem","@id":"https:\/\/www.inogic.com\/blog\/2019\/04\/easyrepro-open-record-using-grid-openrecord-in-dynamics-365-unified-interface\/#listItem","name":"EasyRepro \u2013 Open record using Grid.OpenRecord() in Dynamics 365 Unified Interface"},"previousItem":{"@type":"ListItem","@id":"https:\/\/www.inogic.com\/blog#listItem","name":"Home"}},{"@type":"ListItem","@id":"https:\/\/www.inogic.com\/blog\/2019\/04\/easyrepro-open-record-using-grid-openrecord-in-dynamics-365-unified-interface\/#listItem","position":3,"name":"EasyRepro \u2013 Open record using Grid.OpenRecord() in Dynamics 365 Unified Interface","previousItem":{"@type":"ListItem","@id":"https:\/\/www.inogic.com\/blog\/category\/dynamics-365-v9-2\/#listItem","name":"Dynamics 365 v9"}}]},{"@type":"Organization","@id":"https:\/\/www.inogic.com\/blog\/#organization","name":"Microsoft Dynamics 365 CRM Tips and Tricks","description":"By Inogic","url":"https:\/\/www.inogic.com\/blog\/","logo":{"@type":"ImageObject","url":"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2023\/02\/inogic-logo.png","@id":"https:\/\/www.inogic.com\/blog\/2019\/04\/easyrepro-open-record-using-grid-openrecord-in-dynamics-365-unified-interface\/#organizationLogo","width":1000,"height":325,"caption":"inogic logo"},"image":{"@id":"https:\/\/www.inogic.com\/blog\/2019\/04\/easyrepro-open-record-using-grid-openrecord-in-dynamics-365-unified-interface\/#organizationLogo"},"sameAs":["https:\/\/www.facebook.com\/inogicindia","https:\/\/twitter.com\/inogic","https:\/\/www.instagram.com\/inogicindia\/","https:\/\/www.youtube.com\/channel\/UCM4V7ousgLSu1hbOEv4DUuQ","https:\/\/www.linkedin.com\/company\/inogicindia"]},{"@type":"Person","@id":"https:\/\/www.inogic.com\/blog\/author\/inogic-2\/#author","url":"https:\/\/www.inogic.com\/blog\/author\/inogic-2\/","name":"Tushar","image":{"@type":"ImageObject","@id":"https:\/\/www.inogic.com\/blog\/2019\/04\/easyrepro-open-record-using-grid-openrecord-in-dynamics-365-unified-interface\/#authorImage","url":"https:\/\/secure.gravatar.com\/avatar\/839d9ae7d2b941d2d09e91df322267a429821f2ce5494302b53bd5ca3679f1a0?s=96&d=mm&r=g","width":96,"height":96,"caption":"Tushar"}},{"@type":"WebPage","@id":"https:\/\/www.inogic.com\/blog\/2019\/04\/easyrepro-open-record-using-grid-openrecord-in-dynamics-365-unified-interface\/#webpage","url":"https:\/\/www.inogic.com\/blog\/2019\/04\/easyrepro-open-record-using-grid-openrecord-in-dynamics-365-unified-interface\/","name":"EasyRepro \u2013 Open record using Grid.OpenRecord() in Dynamics 365 Unified Interface - Microsoft Dynamics 365 CRM Tips and Tricks","description":"Introduction EasyRepro is a framework which is used to automate UI testing for dynamics customers Projects. Problem Grid.OpenRecord() method is used for opening the record from home page. This method opens the record by clicking on the first available anchor tag in the list of records, which makes it necessary to have the first column","inLanguage":"en-US","isPartOf":{"@id":"https:\/\/www.inogic.com\/blog\/#website"},"breadcrumb":{"@id":"https:\/\/www.inogic.com\/blog\/2019\/04\/easyrepro-open-record-using-grid-openrecord-in-dynamics-365-unified-interface\/#breadcrumblist"},"author":{"@id":"https:\/\/www.inogic.com\/blog\/author\/inogic-2\/#author"},"creator":{"@id":"https:\/\/www.inogic.com\/blog\/author\/inogic-2\/#author"},"image":{"@type":"ImageObject","url":"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2019\/04\/Inogic-1.png","@id":"https:\/\/www.inogic.com\/blog\/2019\/04\/easyrepro-open-record-using-grid-openrecord-in-dynamics-365-unified-interface\/#mainImage","width":150,"height":140},"primaryImageOfPage":{"@id":"https:\/\/www.inogic.com\/blog\/2019\/04\/easyrepro-open-record-using-grid-openrecord-in-dynamics-365-unified-interface\/#mainImage"},"datePublished":"2019-04-12T12:52:52+05:30","dateModified":"2021-03-06T10:08:08+05:30"},{"@type":"WebSite","@id":"https:\/\/www.inogic.com\/blog\/#website","url":"https:\/\/www.inogic.com\/blog\/","name":"Microsoft Dynamics 365 CRM Tips and Tricks","alternateName":"Inogic","description":"By Inogic","inLanguage":"en-US","publisher":{"@id":"https:\/\/www.inogic.com\/blog\/#organization"}}]},"og:locale":"en_US","og:site_name":"Microsoft Dynamics 365 CRM Tips and Tricks - By Inogic","og:type":"article","og:title":"EasyRepro \u2013 Open record using Grid.OpenRecord() in Dynamics 365 Unified Interface - Microsoft Dynamics 365 CRM Tips and Tricks","og:description":"Introduction EasyRepro is a framework which is used to automate UI testing for dynamics customers Projects. Problem Grid.OpenRecord() method is used for opening the record from home page. This method opens the record by clicking on the first available anchor tag in the list of records, which makes it necessary to have the first column","og:url":"https:\/\/www.inogic.com\/blog\/2019\/04\/easyrepro-open-record-using-grid-openrecord-in-dynamics-365-unified-interface\/","og:image":"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2019\/04\/UCI-Dynamics-365-CRM.png","og:image:secure_url":"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2019\/04\/UCI-Dynamics-365-CRM.png","article:published_time":"2019-04-12T12:52:52+00:00","article:modified_time":"2021-03-06T10:08:08+00:00","article:publisher":"https:\/\/www.facebook.com\/inogicindia","twitter:card":"summary_large_image","twitter:site":"@inogic","twitter:title":"EasyRepro \u2013 Open record using Grid.OpenRecord() in Dynamics 365 Unified Interface - Microsoft Dynamics 365 CRM Tips and Tricks","twitter:description":"Introduction EasyRepro is a framework which is used to automate UI testing for dynamics customers Projects. Problem Grid.OpenRecord() method is used for opening the record from home page. This method opens the record by clicking on the first available anchor tag in the list of records, which makes it necessary to have the first column","twitter:creator":"@inogic","twitter:image":"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2019\/04\/UCI-Dynamics-365-CRM.png","twitter:label1":"Written by","twitter:data1":"Tushar","twitter:label2":"Est. reading time","twitter:data2":"2 minutes"},"aioseo_meta_data":{"post_id":"15387","title":null,"description":null,"keywords":null,"keyphrases":null,"primary_term":null,"canonical_url":null,"og_title":null,"og_description":null,"og_object_type":"default","og_image_type":"default","og_image_url":null,"og_image_width":null,"og_image_height":null,"og_image_custom_url":null,"og_image_custom_fields":null,"og_video":null,"og_custom_url":null,"og_article_section":null,"og_article_tags":null,"twitter_use_og":false,"twitter_card":"default","twitter_image_type":"default","twitter_image_url":null,"twitter_image_custom_url":null,"twitter_image_custom_fields":null,"twitter_title":null,"twitter_description":null,"schema":{"blockGraphs":[],"customGraphs":[],"default":{"data":{"Article":[],"Course":[],"Dataset":[],"FAQPage":[],"Movie":[],"Person":[],"Product":[],"ProductReview":[],"Car":[],"Recipe":[],"Service":[],"SoftwareApplication":[],"WebPage":[]},"graphName":"","isEnabled":true},"graphs":[]},"schema_type":"default","schema_type_options":null,"pillar_content":false,"robots_default":true,"robots_noindex":false,"robots_noarchive":false,"robots_nosnippet":false,"robots_nofollow":false,"robots_noimageindex":false,"robots_noodp":false,"robots_notranslate":false,"robots_max_snippet":null,"robots_max_videopreview":null,"robots_max_imagepreview":"large","priority":null,"frequency":null,"local_seo":null,"breadcrumb_settings":null,"limit_modified_date":false,"ai":null,"created":"2023-02-02 07:08:34","updated":"2025-07-04 06:08:42","seo_analyzer_scan_date":null},"aioseo_breadcrumb":"<div class=\"aioseo-breadcrumbs\"><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/www.inogic.com\/blog\" title=\"Home\">Home<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">&raquo;<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/www.inogic.com\/blog\/category\/dynamics-365-v9-2\/\" title=\"Dynamics 365 v9\">Dynamics 365 v9<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">&raquo;<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\tEasyRepro \u2013 Open record using Grid.OpenRecord() in Dynamics 365 Unified Interface\n\t\t<\/span><\/div>","aioseo_breadcrumb_json":[{"label":"Home","link":"https:\/\/www.inogic.com\/blog"},{"label":"Dynamics 365 v9","link":"https:\/\/www.inogic.com\/blog\/category\/dynamics-365-v9-2\/"},{"label":"EasyRepro \u2013 Open record using Grid.OpenRecord() in Dynamics 365 Unified Interface","link":"https:\/\/www.inogic.com\/blog\/2019\/04\/easyrepro-open-record-using-grid-openrecord-in-dynamics-365-unified-interface\/"}],"_links":{"self":[{"href":"https:\/\/www.inogic.com\/blog\/wp-json\/wp\/v2\/posts\/15387","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.inogic.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.inogic.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.inogic.com\/blog\/wp-json\/wp\/v2\/users\/13"}],"replies":[{"embeddable":true,"href":"https:\/\/www.inogic.com\/blog\/wp-json\/wp\/v2\/comments?post=15387"}],"version-history":[{"count":0,"href":"https:\/\/www.inogic.com\/blog\/wp-json\/wp\/v2\/posts\/15387\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.inogic.com\/blog\/wp-json\/wp\/v2\/media\/18209"}],"wp:attachment":[{"href":"https:\/\/www.inogic.com\/blog\/wp-json\/wp\/v2\/media?parent=15387"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.inogic.com\/blog\/wp-json\/wp\/v2\/categories?post=15387"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.inogic.com\/blog\/wp-json\/wp\/v2\/tags?post=15387"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}