Skip to content

Commit 7106588

Browse files
Update README.md
1 parent 93aca68 commit 7106588

1 file changed

Lines changed: 17 additions & 3 deletions

File tree

README.md

Lines changed: 17 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -215,10 +215,22 @@ Note: The ChromeDriver version must match the Chrome browser version on your mac
215215
set BROWSERSTACK_ACCESS_KEY=<browserstack-access-key>
216216
```
217217
218-
Alternatively, you can also hardcode username and access_key objects in the [test_caps.json](resources/conf/caps/test_caps.json) file.
218+
Alternatively, you can also hardcode username and access_key objects in the [bstack-config.yaml](resources/conf/caps/bstack-config.yaml) file.
219+
- Now we need to set the path for the config file we would want to use.
219220
221+
- For \*nix based and Mac machines:
222+
223+
```sh
224+
export CONFIG_FILE_PATH=<config-file-path>
225+
```
226+
227+
- For Windows:
228+
229+
```shell
230+
set CONFIG_FILE_PATH=<config-file-path>
231+
```
220232
Note:
221-
- We have configured a list of test capabilities in the [test_caps.json](resources/conf/caps/test_caps.json) file. You can certainly update them based on your device / browser test requirements.
233+
- We have configured a list of test capabilities in the [bstack-config.yaml](resources/conf/caps/bstack-config.yaml) file. You can certainly update them based on your device / browser test requirements.
222234
- The exact test capability values can be easily identified using the [Browserstack Capability Generator](https://browserstack.com/automate/capabilities)
223235
224236
@@ -270,8 +282,10 @@ In this section, we will run the tests in parallel on a single browser on Browse
270282
271283
### Run a tests on BrowserStack which need Local Environment access
272284
273-
The only change you need to do here, is to add the respective options in the `bstack-config.json` file.
285+
The only change you need to do here, is to add the respective options in the `bstack-config.yaml` file.
274286
The webdriver framework handles the starting and termination of BrowserStack Local Instance.
287+
288+
Here you just need to change the CONFIG_FILE_PATH environment variable to use [bstack-local-config.yaml](resources/conf/caps/bstack-local-config.yaml) file.
275289
276290
277291
## Generating Allure Reports

0 commit comments

Comments
 (0)