From 6eab0faf17d26a3a7ecce61f332b71985097983e Mon Sep 17 00:00:00 2001 From: Dor Blayzer <59066376+Dor-bl@users.noreply.github.com> Date: Fri, 25 Nov 2022 14:35:10 +0200 Subject: [PATCH] Create README.md for dotnet Integration tests A short quick-start for running integration tests on dotnet. --- dotnet/test/README.md | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 dotnet/test/README.md diff --git a/dotnet/test/README.md b/dotnet/test/README.md new file mode 100644 index 0000000000000..82febe54309aa --- /dev/null +++ b/dotnet/test/README.md @@ -0,0 +1,16 @@ +# Selenium.Net Integration Tests + +## Running tests locally + +- Update `common\appconfig.json` :
+ A. Set 'DriverServiceLocation' property value to your local folder of webdrivers.
+ B. If you would like to run other drivers beside 'Chrome', Set 'ActiveDriverConfig' to one of the other drivers names, i.e. 'Firefox'. +- Drivers can be downloaded from [Here](https://www.selenium.dev/documentation/webdriver/getting_started/install_drivers/#quick-reference). +- Run the tests in NUnit. + +## Running tests on remote server + +- Follow the instructions on [Quick start selenium server](https://www.selenium.dev/documentation/grid/getting_started/). +- Update `remote\ChromeRemoteWebDriver.cs` Uri to your remote server IP and port. i.e. "http://10.100.102.3:4444/wd/hub/". +- Same goes for the rest of the drivers types you would like to use. (can be found under 'test\remote'). +- Run the tests in NUnit.