Project with Tests Setup
#
Supported Tests- Integration Tests
- Selenium Tests
- Playwright Tests
- Manual Tests
#
Integration Tests Setup- Install Drill4Net.TestAgent.NUnit or Drill4Net.TestAgent.XUnit in assembly with tests based on test framework used in your assembly with tests.
#
Selenium Tests Setup- Install Drill4Net.TestAgent.NUnit or Drill4Net.TestAgent.XUnit in assembly with tests based on test framework used in your assembly with tests.
- Install Drill4Net.Selenium in assembly with tests.
- Add
SeleniumPatcher.Patch()
extention method call. Example:
Make sure you added using Drill4Net.Selenium.Drill4NetDriver;
.
We propagate sessionId
and testId
by cookies. To propagate by headers instead of cookies, add sw.js file to your UI project, in a folder dedicated to a web page source files (e.g., wwwroot) and pass true
into Patch()
method: SeleniumPatcher.Patch(true)
.
#
Playwright Tests Setup- Install Drill4Net.TestAgent.NUnit or Drill4Net.TestAgent.XUnit in assembly with tests based on test framework used in your assembly with tests.
- Install Drill4Net.Playwright in assembly with tests.
- Add
UseDrill4NetAsync
extention method call for Playwright Browser. Example:
Make sure you added using Drill4Net.Playwright.Drill4NetBrowser;
.
#
Manual Tests SetupObviously, you do not need to setup any project with tests to run manual tests. All you have to do is install and configure Drill4J Chrome Extension.