Open source repository of Java based selenium tests. For use with TestModeller.io
-
Global Dependencies
-
Install Python(https://www.python.org/downloads/)
-
Install pip(https://pip.pypa.io/en/stable/installing/) for package installation
-
-
Project
- The recommended way to run your tests would be in virtualenv. It will isolate the build from other setups you may have running and ensure that the tests run with the specified versions of the modules specified in the requirements.txt file.
$ pip install virtualenv
- Create a virtual environment in your project folder the environment name is arbitrary.
$ virtualenv venv
- Activate the environment:
$ source venv/bin/activate
- Install the required packages:
$ pip install -r requirements.txt
- The recommended way to run your tests would be in virtualenv. It will isolate the build from other setups you may have running and ensure that the tests run with the specified versions of the modules specified in the requirements.txt file.
- Copy generated page objects into the 'pages' directory.
- Copy generated tests into the 'tests' directory.
- Tests in Parallel:
$ py.test -s -n 2 tests