Olisipo Learning Center

+351 217 983 104

catálogo de formação

Using Cucumber with Selenium

Print Friendly, PDF & Email

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

Nível Intermédio | 14 horas | Laboral: 2 dias | Pós-Laboral: 4 dias

Sobre

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

A Expleo 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

Two day instructor led course on Cucumber with Gherkin also using Selenium 3.0.

Developers, testers and the business have many issues collaborating to produce concrete examples of what they want as this usually raises misunderstandings and incorrect assumptions – which is a good thing.

Cucumber enables these examples to be automated as features which not only informs the team about what examples are working but also provides the software specification and tests in one document.

This course aims at providing a solid foundation to the attendee in understanding how to write Features and Scenarios using Gherkin and be able to run them as automated specifications eventually using Selenium.

The objectives of this course are to not only teach the tool capabilities, but to also focus on practical steps in the real world. The course provides a hands-on walkthrough to allow attendees to understand the steps in making Cucumber Features and Scenarios in the real world.

Destinatários

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

 

Objetivos

On completion of the course, attendees will understand how to configure Cucumber in IntelliJ and how to automate using the tool to create working Features, Scenarios and Scenario Outlines.

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 fully explained in the training environment for attendees less experienced in Java to access.

Programa

Introduction

  • Cucumber Overview
  • Core skills taught on the course

 

Installation and Configuration

  • Creating a new Java project in IntelliJ

 

Creating And Running A Feature File

  • Features overview
  • Creating our own Feature files
  • Adding Scenarios

 

Using Arguments In A Feature File

  • Using Arguments in the Feature File
  • Deciphering the Feature File Arguments
  • Handling the Arguments in the Step Definition

 

Using Scenario Outlines In A Feature File

  • What is a Scenario Outline
  • Using a Scenario Outline

 

Using Data Tables In A Feature File

  • What are Data Tables
  • Using Data Tables in a Scenario
  • Adding the Data Table to the Step Definition

 

Using The Runner Class

  • Using a Scenario Outline
  • About the Runner class

 

Adding a new Java class

  • About the Runner class
  • Why we need a new Java class
  • Creating a new Java class
  • Adding some new methods to the Java class
  • Accessing a Web Site

 

Adding the Selenium code

  • About the Runner class
  • Starting/Stopping the Firefox Browser Window
  • Recording the steps in Selenium
  • Adding the Selenium steps to the Java clas
  • Attaching Screenshots On Failure

 

Behaviour Driven Development (BDD)

  • BDD Overview
  • How BDD is Used
  • Using our Scenarios to drive development
 

Pedido de Informação