Demo, how to use baangt core functionality as base and subclass certain functionalities

bernhardbuhl f67fd003ba Appium-Python-client fixed to 0.52 until problems resolved 3 years ago
examples 1885634172 Subclassing Demo Initial Commit 3 years ago
.gitignore f67fd003ba Appium-Python-client fixed to 0.52 until problems resolved 3 years ago
README.md 1885634172 Subclassing Demo Initial Commit 3 years ago
baangtIA.py 1885634172 Subclassing Demo Initial Commit 3 years ago
globalSetting.json 1885634172 Subclassing Demo Initial Commit 3 years ago
myTestCaseSequence.py 1885634172 Subclassing Demo Initial Commit 3 years ago
requirements.txt e7b866a9a5 Appium-Python-client fixed to 0.52 until problems resolved 3 years ago

README.md

Aim

This is a simple example showing how easy it is to subclass single classes (most probably only methods of these classes) and other than that use the power of baangt.

What we find here:

  • baangtIA.py --> the baangt interactive starter
  • requirements.txt --> instructions for your virtual environment (only baangt - all other dependencies are loaded from there)
  • README.md --> this file
  • teststepmaster.py --> The subclassed file with a new method
  • examples/globals.json --> The settings file, where we'll tell baangt to use a different TestStepMaster class
  • examples/simpleAutomationpractice.xlsx --> The testrun, testcase and testdata we want to execute

How to use it:

  • Start with python baangtIA.py
    • Examples-Folder TestRun and Settings-file already selected
  • Execute
  • As you'd expect you'll find "here runs our code!" in the logs, everything else runs normal!