/robot-framework-tests

A repository to study and pratice automations with robot framework

Primary LanguageRobotFramework

Requirements

Run de project

Activate v-env

on windows

python -m venv venv # create venv
venv\Scripts\Activate.ps1

# if has problems on powershell
set-executionpolicy RemoteSigned -Scope CurrentUser

on linux/Bash

python -m venv venv # create venv
source venv/Scripts/activate #bash on wind
source venv/bin/activate

Instalation

with venv active run:

pip install -r requirements.txt # install project dependencies
rfbrowser init # Lib Browser install playright dependecies

run tests

  cd web-walkdog/

  # runs full test suit
  # eg. robot -directory <path> <file_path>
  robot -d ./logs tests/signup.robot #Select the file

  # runs specific test by tag
  # eg. robot -directory <path> -i <tags> <file_path>
  robot -d ./logs -i required tests/signup.robot