Podcast

77: Vladimir Khorikov: Automating UI Test Using the White Framework

By Test Guild
  • Share:
Join the Guild for FREE

Automating UI Test Using the White Frameworks


In this episode we’ll be talking with Vladimir Khorikov, author of the Pluralsight course Automating UI Tests for WPF Applications. Discover how to create a maintainable, automated test suite for your WPF application using the open-source framework White.


Vladimir will guide us through the process of building a White automation framework and share some of his tips and best practices along the way.

downloadMP3

About Vladimir

VladmirHeadShot

Vladimir has been a software developer/software architect for about 10 years now. He has a strong mathematical and algorithmic background but later his focus shifted to more generic topics, such as design patterns, domain-driven design, and functional programming.Vladimir been practicing DDD for about 6 years now which has concepts that are really useful for creating complex business applications. Vladimir's mission is to reduce complex problems to a level where they are no longer hard to understand and implement and shares his insights along the way.

Get the Full Transcript

Quotes & Insights from this Test Talk

  • White is an open-source library from Test Tank. Like CodedUI, it has a more narrow scope. It only targets desktop applications, not web applications. Both CodedUI and White are based on UI Automation Library for Microsoft. It's a low-level library. In theory, it is possible to use it directly for your tests but you practice, if it's much more convenient to use as a CodedUI or White because Automation Library itself is difficult to use. How we decided what to use for our project, basically I think the choice should depend on the goals you have.
  • The performance difference between CodedUI and White is quite big. The difference in the tests I made, White ran 5 times faster than CodedUI in the same scenarios.
  •  I would say that if you have chosen White for a large project, then you are on the right track already. The White library has a really nice object model which how to write good-looking code for your tests
  • First of all, don't use a recorder unless your test suite is really small and you're not planning to expand it. Secondly, that all should be a layer of abstraction between your tests and the White library. In the course, I name it the main specific framework. I heard you called it an automation framework. Whatever the name is. The presence of such layer is vital to the maintainability of your tests.
  • I think we need to be pragmatic here. If a project is just started and it doesn't take long to run the regression test with manually, there is no need to put your efforts into the UI test automation. I think it's just fine to let the project grow to some point where automated tests really provide significant value. The reason here is that when a project begins, it's much better to focus on its functionality rather than thinking about UI automation or prompt.
  • Read more about software development and best practices. Practice them as much as possible. It will pay off greatly over time.  Technology gets outdated pretty quickly. At the same time, the principles of software development live much longer. 

Resources

Connect with Vladimir

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.

SauceLabsSponser

Test Talks is sponsored by the fantastic folks at Sauce Labs. Try it for free today!

Leave a Reply

Your email address will not be published.

This site uses Akismet to reduce spam. Learn how your comment data is processed.

  1. Joe, I’ve been listening for a while. Love the podcast.

    Vladimir,
    I just wanted to point out that in the PluralSight course specifically about Coded UI, they mention 1) You don’t want to record your test (there is a theme here :) ) AND 2) that you have a choice between coding your test like you would with White and using the Map method.

  2. Hi Dave,

    Sure, Coded UI has nice capabilities for not only recording the tests but also writing them manually. Here, I compare the object models of the two frameworks: http://enterprisecraftsmanship.com/2015/09/22/coded-ui-vs-white/

    In short, the Coded UI’s object model is optimized for its recording capabilities and is less suitable (comparing to White) to coding against it directly.

    But you are absolutely right, nothing prevents us from writing tests using Coded UI manually.

  3. Joe,
    Can you post the transcript from this talk? I was interested in the comments Vladimir made about the Automation Pyramid and effects of it and upon it by how White is used. Thanks.

    Jim

{"email":"Email address invalid","url":"Website address invalid","required":"Required field missing"}

267: Smart Test Execution with Eran Sher

Posted on 08/25/2019

Do you run an entire automation test for every build because you don’t ...

266: Automation Journey and TestNG with Rex Jones II

Posted on 08/18/2019

In this episode we’ll test talk with Rex Jones about his automation testing ...

265: TestProject a Community Testing Platform with Mark Kardashov

Posted on 08/11/2019

In this episode, we’ll talk to Mark Kardashov, CEO and Co-Founder of TestProject, ...