python-selenium
This project serves as an example for writing Automation using Gauge
This project uses
Concepts covered
- Use Webdriver as base of implementation
- Concepts
- Specification, Scenario & Step usage
- Table driven execution
- External datasource (special param)
Prerequisites
-
Python 3
-
Install Gauge-Python plugin by running
gauge install python
[pip / pip3] install getgauge
- Google Chrome
Setting up the System Under Test (SUT)
- Download activeadmin-demo.war
- Bring up the SUT by executing the below command
java -jar activeadmin-demo.war
- The SUT should now be available at http://localhost:8080/
Executing specs
Set up
This project requires pip to install dependencies. To install dependencies run :
pip install -r requirements.txt
Run the following command to install chromedriver, if it fails then download it from here and add it to the PATH
variable.
[pip / pip3] install chromedriver_installer
All specs
gauge run specs
This will also compile all the supporting code implementations.