Skip to main content

Framework de Teste de Sistemas Automatizado - CORE

Project description

FTSA-TJPB-CORE

Introduction

CORE Libraries from FTSA (Framework de Testes de Sistema Automatizados - TJPB) provides keywords extents to be used within Robot Framework's environment to test UI (web and mobile), Rest/Services/SSH and Databases, to supply tests context in TJPB.

This library supports python 3.8+ AND Docker Engine 20+

Keyword Documentation

Here is a list of the available keywords:

Getting Started

Step 1: Install FTSA-TJPB command client

Make sure you have installed FTSA-TJPB command client through a console/terminal:

pip install -y ftsa-tjpb

Step 2: Install FTSA-TJPB-CORE libraries

To install FTSA-TJPB-CORE libraries, perform in your console/terminal the following command:

ftsa install

Step 3: Initialize a project from template

To use a template that will enable project with architectural FTSA patterns pre-definitions, use init command:

ftsa init <project_name> 
  • Obs: if you are working with Rest/API/Services test project, use ftsa init <project_name> -s (or --services option)

Writing Tests

Once you have installed FTSA-TJPB-CORE libraries, into the Settings section from any .robot script you can import any of Libraries to test UI (web and mobile), Rest/Services/SSH and Databases with keyword available.

*** Settings ***
Documentation   TJPB Core Example

Library     FTSASeleniumLibrary
Library     FTSAAppiumLibrary
Library     FTSARequestsLibrary
Library     FTSASSHLibrary
Library     FTSADatabaseLibrary

*** Variables ***
# Implement your variables 

*** Test Cases ***
# Implement your test cases 
Test that something happens when an action is performed
    Given I have some precondition
    When I perform some action
    Then A determined result is expected
    
*** Keywords ***
I have some precondition
    # Call any of keywords available from the documentation of the imported libraries
    
I perform some action
    # Call any of keywords available from the documentation of the imported libraries
    
A determined result is expected
    # Call any of keywords available from the documentation of the imported libraries
    

Obs: for simplicity, keywords are shown into the same feature file, in the example above. You must implement keywords ONLY into page_object package, like required for the FTSA architetural patterns and structure (see an example by running ftsa init <project_name>).

Contact and support

Carlos Diego Quirino Lima

Felipe Dias

Rogerio Trevian Nibon

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

ftsa-tjpb-core-2.6.1.tar.gz (11.1 kB view details)

Uploaded Source

Built Distribution

ftsa_tjpb_core-2.6.1-py3-none-any.whl (13.0 kB view details)

Uploaded Python 3

File details

Details for the file ftsa-tjpb-core-2.6.1.tar.gz.

File metadata

  • Download URL: ftsa-tjpb-core-2.6.1.tar.gz
  • Upload date:
  • Size: 11.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.5.0 importlib_metadata/4.8.2 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.10.0

File hashes

Hashes for ftsa-tjpb-core-2.6.1.tar.gz
Algorithm Hash digest
SHA256 ee5e9273c2ef989c10db94ac3d16e740764319dfce702d58e6c4ffe64fc083f9
MD5 d45bc5555bc2974093052dbdd7a44882
BLAKE2b-256 274e4ca75d0001261027dbe5a88d9407262af30acbf90829eb1372b6f5da97d2

See more details on using hashes here.

File details

Details for the file ftsa_tjpb_core-2.6.1-py3-none-any.whl.

File metadata

  • Download URL: ftsa_tjpb_core-2.6.1-py3-none-any.whl
  • Upload date:
  • Size: 13.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.5.0 importlib_metadata/4.8.2 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.10.0

File hashes

Hashes for ftsa_tjpb_core-2.6.1-py3-none-any.whl
Algorithm Hash digest
SHA256 1890005ad467013963956df49ddfeb5a7ff432b35e4bd4239b3b3f1de259c073
MD5 74f8cd19050182c4ee1ad5fad65e527b
BLAKE2b-256 eca5499178251f2eea7241730f3657cb293cb4867a70484db6d712016ecd2c0b

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page