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

bernhardbuhl 18482a559a Updates KFZ 9 months ago
examples 6935c751e7 move to baangt-builds 1 year ago
.gitignore f67fd003ba Appium-Python-client fixed to 0.52 until problems resolved 1 year ago
README.md 6935c751e7 move to baangt-builds 1 year ago
baangtIA.py 1885634172 Subclassing Demo Initial Commit 1 year ago
myTestCaseSequence.py 1885634172 Subclassing Demo Initial Commit 1 year ago
requirements.txt 18482a559a Updates KFZ 9 months 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:

  • .gitignore --> File to tell git, which local files to not put into repository, e.g. Logs.
  • 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
  • myTestCaseSequence.py --> The file, that contains our custom code of a TestCaseSequence
  • 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
  • globalSettings.json --> File, which details the possible properties of a settings file.

How to use it:

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