Visão Geral
Este Curso Python Desktop Application Testing with Appium, ensina os participantes como automatizar o teste de aplicativos de desktop usando a estrutura gratuita do Appium.
Objetivo
Após realizar este Curso Python Desktop Application Testing with Appium você será capaz de:
- Instale e configure a estrutura Appium
- Crie seções de variáveis e palavras-chave em um arquivo Appium
- Entenda os fundamentos da sintaxe do Appium
- Escreva e execute um teste Appium
- Encontre localizadores usando o Developer Console e o XPath Helper
- Entenda os benefícios do modelo de objeto de página
- Construa uma estrutura de automação de testes
- Incorpore a automação de testes com as melhores práticas
- Aplicar automação de testes de API
Pre-Requisitos
- Todos os participantes já devem compreender conceitos gerais de testes e ter proficiência básica em pelo menos uma outra linguagem de programação. É desejável experiência em escrever scripts automatizados (em qualquer estrutura de teste).
Materiais
Inglês/Português/Lab Prático
Conteúdo Programatico
Appium Framework Fundamentals
- Install and Setup Appium Framework
- The Settings Section of an Appium file
- Importing Resources
- Importing Existing Appium Libraries (e.g., WinAppDriver Library)
- Suite Setup and Suite Tear Down
- Test Setup and Test Tear Down
- Creating a Variables section in an Appium file
- Creating a Keywords section in an Appium file
- Basics of Appium Syntax
- Using existing Appium keywords
- Importing Appium libraries
- Creating a Test Cases section in an Appium file
- Test Cases naming convention
- Documenting test cases with Documentation attribute
- Tags attribute
- Writing a simple Appium Test
- Executing an Appium Test
- Using the terminal execute tests
- Analyzing Results
- Viewing the log file
- Finding the root cause of test script failures
- How to read and explain the Report File to your Project team
Locators/Finding Elements in a WPF Desktop Application
- Setting up a Locator file
- How to find locators using Developer Console and XPath Helper
- Using id’s
- When and how to use XPath Axes for Locators
- Dealing with elements that have the same attributes
Page Object Model Pattern
- What is the Page Object Model?
- What are the benefits of the Page Object Model?
- How to benefit from Utilities Library when using Page Object Model
Building a Test Automation Framework
- Working with Keywords from existing libraries
- Creating your project’s Utilities library
- Extending Appium with custom keywords
- Creating Page Object files
- Creating organized test case files
- Generating test data
Enhancing Test Automation with Best Practices
- Creating Test Automation Scripts that are adaptable for many test cases
- Enhancing your project’s utilities library
- Reducing the number of locators you have with “polymorphic” locators
- Making scripts more robust with proper waits
- Using Keyword Args for Appium Functions
- When to use exception handling
- Generating Appium docs to help with documentation
- GIT Lab integration
API Testing Fundamentals
- What is API test automation?
- What are the benefits of API test automation?
- When should I use API test automation vs. UI automation?
API Test Automation
- Setting up a simple API test in JMeter
- Creating an API test suite
- Using API tests to generate test data
TENHO INTERESSE