TestTalks Sponsored SauceLabs

27: Marcel de Vries : Test Automation with CodedUI – TestTalks

Test Automation with CodedUI

Do you need to automate both browser-based and window- based applications? Not sure which tool to use? I think one of the most overlooked tools for test automation is Microsoft CodedUI.

In this episode Marcel de Vries, author of the PluralSight Course Test Automation with CodedUI, will help you discover all the reasons why CodedUI might be the perfect tool for you to use in the creation of your automation awesomeness.

Marcel de Vries


Marcel spends most of his time helping organizations build Enterprise Applications and implementing Application Lifecycle Management (ALM) practices and tooling. Marcel works for a new startup company called Xpirit that provides premium consulting services on ALM, Cloud, enterprise mobility and Security. His job title there is Chief Technical Manager (CTO).

As CTO Marcel spends most of his time looking at how new emerging technologies can help organizations build better quality software and do this is a more productive way. Marcel has a passion for learning new technologies and teaching the things he learned on the way when applying technology to solve business problems. Marcel works as a consultant in the field of Application Lifecycle Management, Cloud application architectures and Cross platform Enterprise Mobile app development.

Marcel writes for websites and magazines like: MSDN, The Architecture journal and local magazines like SDN Magazine. Marcel is a frequent speaker at industry conferences like Microsoft TechDays, Visual Studio Live!, Microsoft Tech Ed and local user group events.

Marcel also spends a lot of time teaching topics like Visual Studio ALM, Windows Workflow Foundation, Xamarin Mobile app development and Web development.

In his spare time he is also an authors of online courses at Pluralsight. Marcel is awarded by Microsoft the Microsoft ALM MVP award and is also a Microsoft Regional Director.

Quotes & Insights from this Test Talk

  • TestTalks is now sponsored by Sauce Labs! Sign up for a free trial at saucelabs.com
  • CodedUI is Microsoft test technology for test automation for the window platform.
  • You can automate WPF, Windows PresentationFoundation add-ins, Windows Forms application, Windows 32 applications. mobile applications and of course browser based automation in IE and Chrome and Firefox with Selenium plugin.
  • CodedUI is an API that you can program against using Visual Studio and languages like Visual Basic and C#
  • Currently you need Visual Studio Professional 2010 and above to use CodedUi
  • Use the page object pattern to create reusable test automation objects
  • Page object should be part of a developers definition of done
  • Once you understand the CodedUI API it is really easy to use to create automated tests
  • Try to avoid UI test as much as possible
  • How to handle pesky managers that insist on created all automated test as UI tests only
  • When writing your test code make sure to follow the same development principles like single responsibility.
  • And  much, much more!


Connect with Marcel

May I Ask You For a Favor?

Thanks again for listening to the show. If it has helped you in any way, shape or form, please share it using the social media buttons you see on the page.

Additionally, reviews for the podcast on iTunes are extremely helpful and greatly appreciated! They do matter in the rankings of the show and I read each and every one of them.

TestTalks Sponsored SauceLabs

Sponsored by Sauce Labs

Special offer for TestTalks listeners, get 20 hours of automated testing for free when you sign-up with promo code testtalks14 (more info).

Luke simcock - November 10, 2014

Loved this interview!

Souvik Chandra - November 10, 2014

This is awesome post !! Thank you so much Joe…

Ben Miller - November 10, 2014

This is great really appreciate the insights!

Ahmed Hussein - November 10, 2014

Another great podcast Joe! Keep up the good work.

J - November 10, 2014

This is awesome Joe..keep going. .

Tarun Lalwani - November 10, 2014

Well one month Subscription to PluralSight, Not a bad deal at all 🙂

keyu ruan - November 10, 2014

There is an interesting guide regarding : Using Coded UI to test XAML-based Windows Phone apps


But it is not able to automate mobile web testing using Coded UI, Is there any future plan to support mobile web testing using Coded UI?

Keyu Ruan

    Joe Colantonio - November 11, 2014

    Hi Keyu – thanks for the link! I will need to dbl check with Marcel to see if there is any future plans to support mobile web testing

Jeanette Duffek - November 10, 2014

Thank you Joe! This is great information! I happy to hear others saying that UI tests should be limited and to focus more at Unit and Service layer(api level)!

    Joe Colantonio - November 11, 2014

    Hi Jeanetter – I agree we need to really get the message out that the less UI test we have as test engineers the better 🙂

Mike Pietsch - November 10, 2014

Pesky managers that want all UI… Thought I was the only one who dealt with that.

I’d love to try pluralsight too

mohammed rahman - November 10, 2014

Joe and Marcel are doing honors in helping people learn.
Kudos to you guys!

Karis - November 10, 2014

This sounds like an interesting mix of proprietary tech mixed with open source. Nice to have a speaker admit the shortfalls (Record and playback) while giving “best” practices options.

Rosalyn - November 10, 2014

I enjoyed the show. If there’s a better way to do test automation, I personally think it’s good to let the IT team for the various companies know at first hand.

David - November 10, 2014

Great interview. A lot of good automation info from both
Joe & Marcel.

Bharat - November 10, 2014

Thanks for sharing the latests us. This helps us in career growth.

Jan - November 10, 2014

Hi. Good podcast. I am wondring. Can you use CodedUI to automate all types of Desktop apps, like ones written in VB.net?

    Joe Colantonio - November 11, 2014

    Hi Jan if its windows based (not a java app( there is a good chance that it would work.

Gareth Arch - November 10, 2014

These types of discussions are great. I always learn something new when listening to them. Keep them coming!

Jinesh - November 10, 2014

Hey Joe,

Looking forward for a month of plural sight.

Mallikarjuna Reddy - November 10, 2014

Thanks for the valuable information on CodedUI

Syed Husain - November 10, 2014

Thanks for sharing this post. I look forward to learning more about CodedUI at pluralsight.

ravi - November 10, 2014

Thanks for the valuable information. I was under the impression that qtp/Uft is only capable of automating Web and windows based application…

    Joe Colantonio - November 11, 2014

    Hi Ravi – I know, I think CodedUI is a great alternative to vendor tools that many people are not aware of.

Shaji Nair - November 10, 2014

Simply Great..Felt too good to learn something new !!!

Appreciate your efforts

Nicholas Shaw - November 10, 2014

Thanks Joe, I really enjoyed the podcast! I also recently watched your basics of API testing with HP UFT through my employer which I found a very good primer.

Keep up the good work!

vesna djuric - November 10, 2014

greart… very instructive.

Dmitry - November 10, 2014

Hi Joe,

Can I get a free Pluralsight unlimted one-month subscription?

Thanks in advance,

b^O^b - November 11, 2014

This is the first time I listen to TestTalks podcast. (and also CodedUI from Microsoft)

I am going to check on the past episodes too. Great content Master Joe. ^ ^

Wow! the universe of automation testing is bigger than I thought.

ujwal - November 11, 2014

good info

Malay - November 11, 2014

Very Nice introduction to coded UI.infact,I was looking for something to automate WPF appliations.Thanks again.

Amit Lerman - November 11, 2014

Thank you Marcel and Joe.
I think that the core concepts mentioned in this cast (as well as
previous casts), the automated test pyramid and page objects, should be as well incorporated into the QA narrative as SOLID is for software development.
I wish there could be some elaboration about the edge CodedUI might have over Selenium in the web domain (is such exists).

Keep up the good work!

Nusrat - November 11, 2014

I am interested in the free Pluralsight one-month subscriptions.

Testing Podcast » Blog Archive » 27: Marcel de Vries : Test Automation with CodedUI – TestTalks - February 26, 2015

[…] Show notes: 27: Marcel de Vries : Test Automation with CodedUI – TestTalks […]

Click here to add a comment

Leave a comment: