The-Octopus-Test is a Python project for E2E testing, based on Selenium, Appium and the Test Automation Hybrid framework concepts.
Project description
Octopus Test Automation Framework.
Octopus is a Free Test Automation Framework for E2E Testing, that built on python programming language. Using Selenium and APPIUM test automation tools.
Octopus is a Hybrid test automation framework, that combines features of (Modular, Keyword Driven and Data driven).
Concepts Included:
-
Data Driven.
-
Keyword Driven.
-
Page Object pattern and Page Factory. POM
-
Common web page interaction methods.
-
Common Mobile App interaction methods.
-
Objects shared repository.
-
ExtentReport template for reporting.
Getting started :
Required Tools
-
Microsoft Access database engine 2010. Access Engine 2010
-
Python. Python
-
Selenium WebDriver. seleniumhq.org
-
APPIUM. appium.io
-
VS Code python editor.
Installation
Supportive Libraries:
-
Install Microsoft Access database engine 2010.
-
Install Python 3.5 and above.
-
Configure python path and pip tools. in windows , open system variables and edit the path variable and add paths.
-
Install selenium libraries using pip from command line.
pip install -U selenium
- Install APPIUM libraries using pip from command line.
pip install Appium-Python-Client
-
Download Selenium Drivers: Selenium requires a driver to interface with the chosen browser.
-
Chrome: ChromeDriver
-
Edge: EdgeDriver
-
Firefox: FireFoxDriver
-
Safari: SafariDriver
The-Octopus-Test Framework:
- Instal the Octopus Test Framework
pip install the-octopus-test
Test Development:
-
Clone the sample Test project The-Octopus-Sample-Test
-
Please follow the structure and naming of the sample project:
<Octopus Sample Test>
+------------------------+
|<resourcses> |
| <ChromeDriver> |
| <ChromeDriver> |
| <ChromeDriver> |
| <ChromeDriver> |
| <TestData> |
| |
|<test> |
| <pages> |
| loginPage.py |
| homePage.py |
| .... |
| .... |
| <scenarios> |
| testScenarios.py |
| |
| |
|main.py |
| |
|<reports> |
| |
+------------------------+
-
Open the project in your prefered IDE, I recommend VS Code editor.
-
Follow the instructions in the README.MD file at the sample project.
Please for more details do not hesitate to contact me at LinkedIn
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for the_octopus_test-2.0.4-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 59af0aa1dcaaf23d96b17549c32d6f70b2f9a8e130839c0f75f493e4564e860d |
|
MD5 | 3cb65969c54be42e7f09ccdf23e5b19b |
|
BLAKE2b-256 | fd791204962ebca34134b781b99e32ae675027b3004183148dc7802b7937284f |