In this course, students will learn how to write test automation using Selenium Web Driver. Selenium Web Driver allows testers to mimic the behavior of clients browsing a website. Using several different appliques, including XPaths, Page Models, and other concepts, tests can automate website testing, significantly reducing the effort required to ensure a product meets quality standards.
Students will also learn about multiple methods of handling data and how to write reusable tests to reduce duplication, i.e., using a single logon test to verify three different account types, instead of writing three tests. This is accomplished using data providers.
Students will learn about Hash Maps and Spring Beans that allow users to use Factories to create objects such as addresses, users, and payment methods, that are needed for testing.
At the end of this course, students will have a broad understanding of test automation concepts and should be able to write test automation to complete standard user interactions on websites such as creating and managing accounts, purchasing products, verifying prices and availability, and most other things customers can do on a website. This course provides an excellent foundation upon which to build test automation knowledge and skills.
- Lectures 33
- Quizzes 0
- Duration 50 hours
- Skill level All levels
- Language English
- Students 1
- Assessments Yes
Introduction to Test Automation - Week 0
ITA - WK1 - XPaths
In this week's lesson, we will cover XPaths. Xpaths are used in test automation to identify elements on a web page.
ITA - WK2 - Tests
In this session, we will discuss how to create a test using TestNG. TestNG is test automation framework. Features such as annotations, flexible test configuration and support for data-driven testing using a data provider make TestNG powerful and easy to use.
ITA - WK3 - Page Models
ITA - WK4 - Data Providers
ITA - WK5 - Before, During, and After
In this session, we will discuss the Before Suite, After Suite, Before Test, and After Test annotations and how to drive tests more efficiently using these constructs.
ITA - WK6 - Hash Maps
In this session we will discuss the HashMap data structure. Basically, a HashMap allows you to store items with identifiers. They are stored in a table format with the identifier being hashed using a hashing algorithm.
ITA - WK7 - Spring Beans
In this session we will discuss the basic concept of Spring Beans and provide examples of how to use Spring Beans.
ITA - WK8 - Factories
In this session we will discuss the basic concept of factories and provide examples of how to use Spring Beans to fill objects of different types. In this session students will learn how to create factory classes to generate different types of address, user, and payment method objects for use in tests. Examples include being able to generate international addresses vs. local addresses, or generating a Visa vs. a Mastercard payment method.