Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Changes to the readme.md file #472

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
18 changes: 18 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,24 @@ ___

OpenMRS [BDD](https://en.wikipedia.org/wiki/Behavior-driven_development) QA framework, Currently tracking;

In order to test within a real desktop browser, you will need a webdriver to connect to your browser (either firefox or chrome).

1.Download the webdriver version that matches your system and browser version.
- [Chrome](https://chromedriver.chromium.org/downloads).
- [Firefox](https://github.com/mozilla/geckodriver/releases).
- [Others](https://www.selenium.dev/downloads/).

2.Move your downloaded browser webdriver into the right locations as follows
- Chrome: src/test/resources/chromedriver/<linux/mac>/chromedriver or src/test/resources/chromedriver/windows/chromedriver
- Firefox: src/test/resources/firefoxdriver/<linux/mac>/geckodriver or src/test/resources/firefoxdriver/windows/geckodriver

3.Edit src/test/resources/org/openmrs/uitestframework/test.properties
- Set **webdriver=chrome** or **webdriver=firefox**
- Set **headless=false** to allow the web browser UI to appear during the test
- Set the location of your webdriver within src/test/resources, for example
- **webdriver.gecko.driver=firefoxdriver/windows/geckodriver** or
- **webdriver.chrome.webdriver=chromedriver/mac/chromedriver**

## Installing dependencies
- `mvn clean install -DskipTests=true`

Expand Down