Using Selenium and Practical Workshop

Share on facebook
Share on twitter
Share on linkedin
Share on whatsapp
Share on email
Print Friendly, PDF & Email

Em pré-inscrição. Entre em contacto para obter mais informações.

Nível Avançado | 21 horas

Sobre

A Olisipo é a empresa responsável pela divulgação do portfólio formativo da SQS em Portugal. A SQS Portugal é ISTQB® Accredited Training Provider e ISTQB® Platinum Partner.

A SQS Academy faz a preparação e Certificação Oficial de profissionais em ISTQB (Certified Tester Foundation Level; Certified Tester Foundation Level – Agile Extension; Certified Tester Foundation Level Specialist – Automotive Software Tester; Certified Tester Advanced Level, Test Manager, Test Analyst, Technical Test Analyst, Security Tester, Tester Automation Engineer, oferta única em Portugal, reconhecida pela ISTQB – International Software Testing and Qualification Board e pela PSTQB – Associação Portuguesa de Testes de Software.

Apresentação

Curso de três dias sobre Selenium 3.0. Os dois primeiros dias sao ministrados pelo instrutor e o terceiro oferece uma oportunidade de aprendizagem hands-on, colocando em prática os conhecimentos adquiridos.

O Selenium permite que Developers e Testers automatizem testes em aplicações e as executem sobre multiplos browsers. Este curso tem como objetivo fornecer uma base sólida para o formando entender a automação de testes usando o Selenium.

Os objetivos deste curso não são apenas para ensinar o que a ferramenta é capaz de fazer, mas focar nos passos práticos necessários para fazer a automação usando as capacidades do Selenium no mundo real. O curso fornece passos práticos “hands-on” para permitir que os participantes entendam as diversas etapas que permitem utilizar o Selenium no dia a dia do seu trabalho de testers.

O consumidor está a exigir cada vez mais que as organizações forneçam aplicações em vários dispositivos, browsers e plataformas. Com o aumento da pressão sobre os orçamentos das ferramentas de teste, os profissionais de TI estão à procura de ferramentas de automação de testes no mercado open source.

Destinatários

  • Agile testers
  • Test automation specialists looking to learn Selenium
  • Testers wishing to become test automation specialists.

Pré-requisitos

Although it is beneficial that attendees have a coding background (ideally in Java), this is not essential.

The code examples used during the course are available in the training environment for attendees less experienced in Java to access.

Objetivos

On completion of the course, attendees will understand how to configure Selenium and how to automate tests using the tool.

Programa

Introduction

  • Automation Overview
  • Core skills taught on the course

 

Selenium IDE

  • Overview of Selenium IDE and available add-ins
  • Recording and replay of a Selenium IDE Test
  • Object recognition tools Firebug and Firepath.
  • Assertions and Verifications
  • Exporting a Selenium IDE Test as Java

 

Creating Selenium Scripts in Eclipse IDE

  • Configuring a new Java project in Eclipse
  • Creating a basic automated test and a test suite
  • Executing a test and test suite through Eclipse
  • Importing a test from Selenium IDE

 

Selenium WebDriver

  • Components of Selenium Webdriver in JUnit
  • Annotations in WebDriver
  • Interacting with the AUT: Object locators
  • Actions on WebElements

 

Data Driving Selenium Tests

  • Use of data sources (e.g. Excel spreadsheets, CSV files, databases) to provide increased maintainability flexibility.

 

Debugging and coding
Debugging skills are a critical and often overlooked part of learning how to automate tests. This section teaches basic debuggine within Eclipse IDE, including:

  • Setting breakpoints
  • Retrieving values on-the-fly
  • Stepping through code
  • ObservingUsing observations from the Application under Test and data source
  • Making deductions
  • Building and testing a hypothesis

 

Page Object Model
The Page Object Model enables reusablee code to provide a maintainable automation framework. Areas covered include:

  • Introducing the Page Object Model
  • Accessing the page objects in a test script

 

Object Recognition
Object recognition is one of the commonest issues automation testers have to face. A number of techniques and approaches can be used , including:

  • Why it is difficult to identify an object.
  • Choice of element locator
  • Use of multiple locator properties
  • Use of Xpath or CSS syntax and patterns
  • Use of ordinal identifiers
  • Using firepath to write more stable locators
  • Descriptive programming for dynamic objects
  • How to navigate web iframes

 

Behaviour Driven Development (BDD) and Cucumber (Bonus lesson)
Companies are increasingly turning towards Agile approaches and BDD in particular. This lesson provides a brief overview of the principals and features of a BDD framework, including:

  • Feature files
  • Step definitions
  • Runner classes

 

Selenium Workshop
A series of hands-on learning exercises including:

  • Selenium IDE: Creating a new test
  • Eclipse: Importing Selenium test into a new Java project
  • Page Objects: Converting the script to use them
  • Asserts: For both positive and negative test
  • Data driving: simple and complex.
  • Reporting: outputting results to a spreadsheet

Pedido de Informação