Using Selenium in CSharp with Workshop

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

The first two days of this course are instructor led and the third day is a hands-on workshop. Selenium allows both developers and test analysts to automate tests and execute them with multiple browsers. This course aims to provide a solid foundation to the attendee to understand automated testing using Selenium. A key focus is to teach what the tool is capable of and the practical steps required to make automation work.

Destinatários

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

Objetivos

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

Pré-requisitos

Although it is beneficial that attendees have a coding background (ideally in CSharp), this is not essential. The code examples used during the course are available in the training environment for attendees less experienced in CSharp to access.

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 Chropath.
  • Assertions and Verifications
  • Exporting a Selenium IDE Test as CSharp

Creating Selenium Scripts in VSCode

  • Configuring a new C# project in VSCode
  • Creating a basic automated test and a test suite
  • Executing a test and test suite through VSCode
  • Importing a test from Selenium IDE

Selenium WebDriver

  • Components of Selenium Webdriver in NUnit
  • 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 debugging within VSCode, including:

  • Setting breakpoints
  • Retrieving values on-the-fly
  • Stepping through code
  • Observing the Application under Test
  • 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 Chropath to write more stable locators
  • Descriptive programming for dynamic objects
  • How to navigate web iframes

Selenium Workshop

A series of hands-on learning exercises including:

  • Selenium IDE: Creating a new test
  • VSCode: Importing the new Selenium test into a newly created C# project
  • Page Objects: Converting the script to use them
  • Asserts: For both positive and negative test
  • Data driving: simple and complex.

De momento não temos datas disponíveis para este curso, entre em contacto para obter mais informações.

SABER MAIS

Yeah!

Your message was successful sent.

OK

Hey

We use cookies to offer you a better browsing experience, analyse site traffic, presonalize content, and serve targeted ads. Read how we use cookies and how you can control them in our “Cookie Settings”.
By using our site, you consent to our use of cookies.

> Cookie Settings

√ Accept Cookies