{"id":121,"date":"2009-11-13T10:35:53","date_gmt":"2009-11-13T16:35:53","guid":{"rendered":"http:\/\/scottcsims.com\/wordpress\/?p=121"},"modified":"2016-12-01T10:37:50","modified_gmt":"2016-12-01T16:37:50","slug":"dont-miss-this-important-note-if-your-planning-to-run-tests-against-internet-explorer-using-selenium-grid","status":"publish","type":"post","link":"http:\/\/scottcsims.com\/wordpress\/?p=121","title":{"rendered":"Don&#8217;t miss this important note if your planning to run tests against Internet Explorer using Selenium Grid"},"content":{"rendered":"<p>I tried to run tests in parallel against IE using the selenium grid for a few days before I found this important message on the selenium grid FAQ.<br \/>\n<img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-122\" title=\"Picture 9\" src=\"http:\/\/scottcsims.com\/wordpress\/wp-content\/uploads\/2009\/11\/Picture-9.png\" alt=\"Picture 9\" width=\"890\" height=\"368\" srcset=\"http:\/\/scottcsims.com\/wordpress\/wp-content\/uploads\/2009\/11\/Picture-9.png 890w, http:\/\/scottcsims.com\/wordpress\/wp-content\/uploads\/2009\/11\/Picture-9-300x124.png 300w\" sizes=\"auto, (max-width: 890px) 100vw, 890px\" \/><\/p>\n<p>If you try to run multiple selenium remote controls for IE on one machine it will work for a while.\u00a0\u00a0 Your test will execute without any problems, but then you start getting sporadic error messages from IE.\u00a0 I assumed that the xpath expressions I was using for the tests in Firefox were throwing errors in IE.\u00a0 I tried different configurations for security settings in IE for a while and then I finally found out that it was a memory sharing issue that prevents the selenium remote from launching more than one IE instance.\u00a0 For now I am just requesting more VMs to run a single IE remote on each.\u00a0 I use ruby with deep test to run test in parallel on the grid.\u00a0 I configure deep test to run 6 tests at a time, so I would only need 6 VMs for IE to run.<\/p>\n<p>It puzzling to me that Watin tests run in parallel against IE without any problems on the same machine, but selenium tests cannot.\u00a0 For now I will add more VMs and wait for Selenium Grid 1.2\u00a0 to fix the IE problem.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I tried to run tests in parallel against IE using the selenium grid for a few days before I found this important message on the selenium grid FAQ. If you try to run multiple selenium remote controls for IE on one machine it will work for a while.\u00a0\u00a0 Your test will execute without any problems, [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[8,9],"tags":[18,35],"class_list":["post-121","post","type-post","status-publish","format-standard","hentry","category-automated-tests","category-selenium-grid","tag-internet-explorer","tag-selenium-grid"],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"http:\/\/scottcsims.com\/wordpress\/index.php?rest_route=\/wp\/v2\/posts\/121","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/scottcsims.com\/wordpress\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/scottcsims.com\/wordpress\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/scottcsims.com\/wordpress\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"http:\/\/scottcsims.com\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=121"}],"version-history":[{"count":9,"href":"http:\/\/scottcsims.com\/wordpress\/index.php?rest_route=\/wp\/v2\/posts\/121\/revisions"}],"predecessor-version":[{"id":131,"href":"http:\/\/scottcsims.com\/wordpress\/index.php?rest_route=\/wp\/v2\/posts\/121\/revisions\/131"}],"wp:attachment":[{"href":"http:\/\/scottcsims.com\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=121"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/scottcsims.com\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=121"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/scottcsims.com\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=121"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}