We’ve been having the need to automate some system test and at the same time wanted to stay within the Microsoft space in terms of our ALM ecosystem. Well, with the new release of the new Coded UI Engine integration with Selenium’s WebDriver, this is now possible!
-
Introducing Cross Browser Testing with Coded UI Tests
http://blogs.msdn.com/b/visualstudioalm/archive/2012/10/30/introducing-cross-browser-testing-with-coded-ui-tests.aspx - Selenium components for Coded UI Cross Browser Testing
http://visualstudiogallery.msdn.microsoft.com/11cfc881-f8c9-4f96-b303-a2780156628d
Quick demo of Visual Studio 2012 Coded UI Test in action (playback mode):
Note: This test were recorded in IE and the code (Search Properties and Search Filters) search criteria was modified in the UIMap to be able to run across all three (3) browsers.
I’ve written about “hand coded” CUITs on my blog.
Some topics:
— Keep Your Page Objects Clean and DRY
— Clean and DRY Verifiers
— Getters and Setters
LikeLike
Hi everyone,
I recorded codedUI tests on IE and trying to play back on chrome but I am facing some issues because chrome is not able to identify a control if it dont have a unique id. In case of the webpages which I am testing some controld dont have id’s and some controls have ids which keep on changes. Please let me know if there is any work around for this issue.
Thanks in advance,
Raji
LikeLike
Yes there is a work around, HTML elements render differently in all browsers specifically Chrome. HTML elements can even render with different ID’s. Please watch this for a work around and how to troubleshoot this.
https://skydrive.live.com/?cid=ae5cd7309cccc43c&id=AE5CD7309CCCC43C%21182&sff=1&authkey=!AEpS48i295B49FI
LikeLike