Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Lære Pre & Post Test Operations | Using a Test Automation Framework
Introduction to QA Automation Testing
course content

Kursusindhold

Introduction to QA Automation Testing

Introduction to QA Automation Testing

1. Introduction to Automation Testing
2. Using a Test Automation Framework
3. Browser Automation with Selenium
4. Intro to Intermediate Automation Testing

book
Pre & Post Test Operations

Similarly, we have another method called afterEach which simply performs some specified operations after each test.

Sometimes, we would want to execute some code only once, before any tests in that scope are executed. To achieve this, we can enclose the respective code into a beforeAll block, which follows the same syntax as a beforeEach block:

js

Similarly, we can also specify some code to be executed after all the tests in that scope are executed by using a afterAll block:

js

Var alt klart?

Hvordan kan vi forbedre det?

Tak for dine kommentarer!

Sektion 2. Kapitel 9
Vi beklager, at noget gik galt. Hvad skete der?
some-alt