Skip to content

Commit 355a996

Browse files
committed
Add TestingBot support
1 parent 162ce06 commit 355a996

File tree

3 files changed

+16
-3
lines changed

3 files changed

+16
-3
lines changed

help_docs/customizing_test_runs.md

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ In addition to [settings.py](https://github.com/seleniumbase/SeleniumBase/blob/m
1010
* Choose whether to run tests multi-threaded
1111
* Choose a BrowserStack server to run on
1212
* Choose a Sauce Labs server to run on
13+
* Choose a TestingBot server to run on
1314
* Choose a Selenium Grid to connect to
1415
* Choose a database to save results to
1516
* Choose a proxy server to connect to
@@ -46,7 +47,7 @@ You can interchange **pytest** with **nosetests**, but using pytest is strongly
4647

4748
(NOTE: If you're using **pytest** for running tests outside of the SeleniumBase repo, **you'll want a copy of [pytest.ini](https://github.com/seleniumbase/SeleniumBase/blob/master/pytest.ini) at the base of the new folder structure**. If using **nosetests**, the same applies for [setup.cfg](https://github.com/seleniumbase/SeleniumBase/blob/master/setup.cfg).)
4849

49-
#### **Running tests on [BrowserStack](https://www.browserstack.com/automate#)'s Selenium Grid, the [Sauce Labs](https://saucelabs.com/products/open-source-frameworks/selenium) Selenium Grid, (or your own):**
50+
#### **Running tests on [BrowserStack](https://www.browserstack.com/automate#)'s Selenium Grid, the [Sauce Labs](https://saucelabs.com/products/open-source-frameworks/selenium) Selenium Grid, the [TestingBot](https://testingbot.com/features) Selenium Grid, (or your own):**
5051

5152
Here's how to connect to a BrowserStack Selenium Grid server for running tests:
5253

@@ -60,6 +61,12 @@ Here's how to connect to a Sauce Labs Selenium Grid server for running tests:
6061
pytest my_first_test.py --server=username:[email protected] --port=80
6162
```
6263

64+
Here's how to connect to a TestingBot Selenium Grid server for running tests:
65+
66+
```bash
67+
pytest my_first_test.py --server=username:[email protected] --port=80
68+
```
69+
6370
Or you can create your own Selenium Grid for test distribution. ([See this ReadMe for details](https://github.com/seleniumbase/SeleniumBase/blob/master/seleniumbase/utilities/selenium_grid/ReadMe.md))
6471

6572
#### **Example tests using Logging:**

help_docs/features_list.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
* Can handle Google Authenticator logins by using the [Python one-time password library](https://pyotp.readthedocs.io/en/latest/).
1616
* Includes a hybrid-automation solution called **[MasterQA](https://github.com/seleniumbase/SeleniumBase/blob/master/seleniumbase/masterqa/ReadMe.md)** to speed up manual testing.
1717
* Includes integrations with [MySQL](https://github.com/seleniumbase/SeleniumBase/blob/master/seleniumbase/core/testcase_manager.py), [Selenium Grid](https://github.com/seleniumbase/SeleniumBase/tree/master/seleniumbase/utilities/selenium_grid), [Google Cloud](https://github.com/seleniumbase/SeleniumBase/tree/master/integrations/google_cloud/ReadMe.md), [Amazon S3](https://github.com/seleniumbase/SeleniumBase/blob/master/seleniumbase/plugins/s3_logging_plugin.py), and [NodeJS](https://github.com/seleniumbase/SeleniumBase/tree/master/integrations/node_js).
18-
* Has the ability to connect to a [BrowserStack](https://www.browserstack.com/automate#) or [Sauce Labs](https://saucelabs.com/products/web-testing/cross-browser-testing) Selenium Grid server.
18+
* Has the ability to connect to a [BrowserStack](https://www.browserstack.com/automate#), [Sauce Labs](https://saucelabs.com/products/web-testing/cross-browser-testing) Selenium Grid server or [TestingBot](https://testingbot.com/features) Selenium Grid.
1919
* Includes a [tool to convert Selenium IDE recordings](https://github.com/seleniumbase/SeleniumBase/tree/master/seleniumbase/utilities/selenium_ide) into clean, robust SeleniumBase scripts.
2020
* Written in Python, but can also make JavaScript calls using ``self.execute_script()``.
2121
* Includes useful Python decorators and password obfuscation methods. ([Learn more here](https://github.com/seleniumbase/SeleniumBase/blob/master/seleniumbase/common/ReadMe.md))

seleniumbase/utilities/selenium_grid/ReadMe.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,12 +35,18 @@ You can also run your tests on [BrowserStack](https://www.browserstack.com/autom
3535
pytest my_first_test.py --server=username:[email protected] --port=80
3636
```
3737

38-
And you can run your tests on the [Sauce Labs](https://saucelabs.com/products/open-source-frameworks/selenium) Selenium Grid server:
38+
You can run your tests on the [Sauce Labs](https://saucelabs.com/products/open-source-frameworks/selenium) Selenium Grid server:
3939

4040
```
4141
pytest my_first_test.py --server=username:[email protected] --port=80
4242
```
4343

44+
And you can run your tests on the [TestingBot](https://testingbot.com/features) Selenium Grid server:
45+
46+
```
47+
pytest my_first_test.py --server=username:[email protected] --port=80
48+
```
49+
4450

4551
#### More info about the Selenium Grid Hub can be found here:
4652
* [https://github.com/SeleniumHQ/selenium/wiki/Grid2](https://github.com/SeleniumHQ/selenium/wiki/Grid2)

0 commit comments

Comments
 (0)