Skip to content

Latest commit

 

History

History
54 lines (34 loc) · 1.22 KB

README.md

File metadata and controls

54 lines (34 loc) · 1.22 KB

Sample tests using Robot Framework with SeleniumLibrary, tests target to run on remote Selenium Grid. The Grid setup with Hub and a node is configured relay service to Appium server to run tests on emulator devices.


This project use Poetry to manage dependencies and virtual environment.

Required Python is installed on the system.

To install Poetry, run the following command

pip install poetry

To verify Poetry is installed successfully, poetry --version should return the version of Poetry.

To install the dependencies, run the following command:

poetry install

Details dependencies are listed in the pyproject.toml or requirements.txt file.

To activate the virtualenv in-project, run the following command:

Windows

.venv\Scripts\activate

Unix

.venv/bin/activate

Walk through the Installation section to start the Selenium Grid and Appium server before running the tests.


Run Robot Framework test cases

robot --variable REMOTE_URL:http://localhost:4444/wd/hub -d reports tests/.

Reports will be generated in the reports directory.

The test execution looks like

img_1.png