Introduction


The-Octopus-Test is a Free Python Test Automation Framework for E2E Testing, That built on Python programming language. Using Selenium and APPIUM test automation tools.

It is a Hybrid Test Automation Framework, that combines features of (Modular, Keyword Driven and Data driven).

It uses Microsoft Excel Sheet as the source for both test data and keywords.

It uses OctopusHTMLReport that is based on ExtentHTMLReport template to generate execution test results.

The-Octopus-Test can be used when you need an easy way to control, execute and report test results, for any Python method.

The-Octopus-Test do not use any type of annotations or builtin test frameworks, it is open source and customizable.


Basic Concepts:

  • Data Driven:
  • - All test data is stored in Microsoft excel Data Sheet.

  • Keyword Driven :
  • - Function names are stored in Microsoft excel Data Sheet as well some flages to control which function to be executed with which data source.

  • Page Object pattern [POM] :
  • - All test cases are written under the test/pages folder.

    - Each page/module has a separate file.

  • Selenium Extensions :
  • Added selenium extensions class to give a custom functions like Click(), sendKeys() , etc... .

  • Objects shared repository :
  • - I recommend creating a locatores module that hold individual classes for elements on an individual page to be shared on all pages.

  • ExtentHTMLReport template for reporting :
  • - I used the most professional reporting tool, Extent HTML report as template to generate the test execution report.

Show your support and star the project

Documentation References