Skip to content

Latest commit

 

History

History
39 lines (34 loc) · 1.67 KB

README.md

File metadata and controls

39 lines (34 loc) · 1.67 KB

Automation Test Suite using the Gauge Framework

Installation instructions

  • Download Gauge from here.

  • Install core plugins using the following commands

    • gauge --install java
    • gauge --install html-report

Running functional tests

  • Run the following commands with proper values to setup the required environment variables.

    • export BAHMNI_GAUGE_APP_URL=<bahmni application url>
    • export BAHMNI_GAUGE_APP_USER=<bahmni username>
    • export BAHMNI_GAUGE_APP_PASSWORD=<bahmni password>
    • export BAHMNI_GAUGE_APP_IMPL_NAME=<bahmni implementation name>
    • export BAHMNI_GAUGE_PIH_USER=<bahmni pih_username>
    • export BAHMNI_GAUGE_MSF_USER=<bahmni msf_username>
    • export BAHMNI_GAUGE_IRD_USER=<bahmni ird_username>
    • export BAHMNI_GAUGE_PIH_PASSWORD=<bahmni pih_password>
    • export BAHMNI_GAUGE_MSF_PASSWORD=<bahmni msf_password>
    • export BAHMNI_GAUGE_IRD_PASSWORD=<bahmni ird_password>
    • export BAHMNI_GAUGE_APP_LOCATION=<bahmni login location>
    • export BAHMNI_GAUGE_APP_ANOTHER_LOCATION=<bahmni another login location for multiple visits check>
  • Running functional tests

    • Run mvn clean install at the root project level.
    • To run functional tests for a specific project, for example the endtb project
      • cd bahmni-gauge-endtb
      • mvn gauge:execute

FAQ

  • Xvfb gets stopped on reboot of the machine
    • To make it running again, please run the below commands
      • Xvfb -ac :99 -screen 0 1280x1024x16 &
      • export DISPLAY=:99