Skip to content

healenium/healenium-robot-framework-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

healenium-robot-framework-example

Docker Pulls License

Healenium with Robot-Framework usage example

1. Start Healenium components

2. Configuration RemoteWebDriver

3. Run test

How to start

1. Start Healenium components

Go into healenium folder

cd healenium

Run Healenium with Selenium-Grid:

docker-compose up -d

ATTENTION

Verify the next images are Up and Running

  • postgres-db (PostgreSQL database to store etalon selector / healing / report)
  • hlm-proxy (Proxy client request to Selenium server)
  • hlm-backend (CRUD service)
  • selector imitator (Convert healed locator to convenient format)
  • selenium-grid (Selenium server)

2. Configuration RemoteWebDriver

To run test using Healenium create RemoteWebDriver with URL http://<remote webdriver host>:8085:

*** Variables ***
${TEST_PAGE}      https://elenastepuro.github.io/test_env/index.html
${BROWSER}        Firefox
${PROXY_URL}      http://localhost:8085

*** Keywords ***
Open Remote Chrome Browser
    Open Browser    ${TEST_PAGE}  ${BROWSER}  remote_url=${PROXY_URL}

3. Run test

In practice it is easiest to install Robot Framework and SeleniumLibrary along with its dependencies using pip_ package manager. Once you have pip installed, all you need to do is running these commands:

pip install -r requirements.txt

The test cases_ are located in the healenium_tests directory. They can be executed using the robot command:

robot healenium_tests

Community / Support

About

Example of a project using Healenium + Robot Framework

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published