Test Automation with CodedUI
This course will teach you how you can build UI test automation with the Visual Studio CodedUI for Web, WPF, XAML based store apps and Windows Forms based applications
What you'll learn
With Microsoft Visual Studio CodedUI you can build UI tests for the most common UI technologies including HTML and JavaScript based web applications, Windows Forms, WPF and XAML Based Store apps.
In this course you will learn how you can use Microsoft CodedUI test technology to build UI test automation projects that will help you run tests via the user interface of your application. This enables you to speed up the validation of fully functional scenarios on your application which is an important step to enable continuous delivery.
CodedUI integrates with the Microsoft ALM tool suite, and can help you build insights in your application quality on a daily basis.
In this course we look in detail how CodedUI works.
- We will start with Record and Playback.
- Then we look at how to build your CodedUI tests by hand coding against the CodedUI object model.
- Then we spend a good deal of time looking at how you can build a very good maintainable CodedUI test automation project.
- Since a good UI test will live as long as the application it is therefore crucial to learn how to build a Test automation framework for your application that is maintainable, and that will keep up with changes in the application throughout its lifecycle.
- We will also look at analyzing playback failures and cross browser playback.
Table of contents
- Introduction 1m
- Outline 2m
- Introduction to UI Test Automation 2m
- Test Automation Pyramid 3m
- Getting Started (1/2) 1m
- Getting Started (2/2) 3m
- Supported technologies 1m
- Understanding the Underlying Technology (1/2) 2m
- Understanding the Underlying Technology (2/2) 3m
- Demo:Getting Started 12m
- Summary 1m
- Introduction 1m
- Outline 2m
- The CodedUI Map File and Test Builder 2m
- Coded UI Test Builder 3m
- Things to Note 1m
- Demo: UI Test Builder 8m
- UI Map Files 3m
- Managing UIMap file(s) 4m
- Analyzing the Generated Code 2m
- Generated Code (1/3) 3m
- Generated Code (2/3) 3m
- Generated Code (3/3) 2m
- Can I Change the Code Being Generated 2m
- Demo: Editing UIMap Files and Writing Tests 11m
- Summary 1m
- Introduction 1m
- Outline 2m
- Object Model 3m
- How CodedUI Controls Interact with the Screen 1m
- Searching for Controls 1m
- How Controls Are Located (1/2) 3m
- How Controls Are Located (2/2) 2m
- Accessing Control Properties 2m
- Special Methods on the Controls 3m
- Demo: Control Wait Options 11m
- Application Under Test 2m
- Reusing Application Under Test Between Test Suites 1m
- Setting Up Your Web Application Under Test 2m
- Example of Resizing the Browser Window 1m
- Playback Options 2m
- Demo: Browser Based Tests 4m
- Summary 1m
- Introduction 1m
- Outline 1m
- Search Configurations Changes Search Behavior 2m
- Match Exact Hierarchy is Default False 2m
- Smart Match 1m
- Understanding Smart Search and it’s Implications 2m
- Demo: Smart Match 8m
- Search Configuration NextSibling 6m
- Search in Minimized Windows 0m
- Demo: Using Next Sibling Search Configuration 5m
- Playback Settings 2m
- Wait for Ready Level 1m
- Set Property Verification 1m
- Continue on Error 1m
- Demo: Continue on Error 5m
- Retrying Failed Playback Actions 2m
- Summary 2m
- Introduction 1m
- Outline 2m
- Test Automation and Maintainabillity 5m
- Page Object Pattern 2m
- Page Object Pattern Example (1/2) 1m
- Page Object Pattern Example (2/2) 3m
- Shared and Home Page Object 1m
- Home Page Object 2m
- Shopping Cart Page Object 1m
- Testing Scenarios with Page Objects 2m
- Resulting Test 2m
- Result 2m
- Multiple Ways of Building Page Objects 2m
- Demo: Page Objects with UI Maps 26m
- Demo: Page Objects Code First 23m
- Summary 1m
- Introduction 1m
- Outline 2m
- Introducing Data driven Tests 2m
- Data driven Tests 1m
- Data Source 1m
- Available Data Sources (1/3) 3m
- Available Data Sources (2/3) 1m
- Available Data Sources (3/3) 2m
- Using Excel as Data Source 3m
- How to Deploy Required Resources 2m
- Demo: Using Excel as a Data Source 8m
- Key Word Driven Tests 4m
- Demo: Keyword Driven Tests With Excel 10m
- Summary 2m
Course FAQ
Coded UI tests are automated tests that drive your application through its user interface. Tests revolve around functional testing of the UI controls. It allows developers to effectively work together to ensure the entire app is functioning properly.
You will learn:
- How to build UI test automation projects
- How to use Microsoft CodedUI
- How to improve Continuous Delivery
- Record and Playback in CodedUI
- CodedUI object model
- How to build a Test automation framework
- How to analyze playback failures
- Much more
Some common technologies you can build UI tests for include HTML and JavaScript web apps, Windows Forms, WPF and XAML based store apps.
It means using an automation tool to conduct specific tests instead of conducting them manually. Test automation also tracks and manages the different tests for you.
This is an intermediate level course, so it assumes at least a basic understanding of UI Testing. If you need a more beginner-level course, check out this Getting Started with UI Testing course.
This course is for anyone who wants to learn how to automate UI tests so you can be more efficient and enable more continuous delivery.