You are on page 1of 12

Bootcamp

QA Testing 22’ 🤖
Session # 9 - TestNG and Web Apps
Let’s remember the V-model

OPS
🤖
UNIT TESTING
Example

OPS
💻🤖
TDD
Test-driven development

OPS
TestNG parameters

- Can execute same


tests with different
params
- Can be “optional”
- Can be specified in
XML suite
OPS
- Can be used with
@DataProviders
TestNG @Dataproviders
- Can be defined in two
levels:
1. Suite level – The
parameters inside the
<suite> tag of TestNG
XML file will be a suite
level parameter.
2. Test Level — The
parameters inside theOPS
<Test> tag of testing
XML file will be a Test
level parameter.
CI Integration

OPS
How this tests will run in a CI

OPS
How this tests will run in a CI
✏🖥🤖
Assignments:
- Fork project and execute the Github’s Actions (CI) Pipeline
- Add Selenium tests (using the new TestNG skills - params, @dataproviders)
-> Use our Inventory System as the Web App (Local Executions)

You might also like