Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/thinogueiras/robot-selenium-browserstack

Automação de Testes E2E com Robot Framework e Selenium WebDriver.
https://github.com/thinogueiras/robot-selenium-browserstack

browserstack e2e-tests github-actions python robotframework selenium-library selenium-webdriver test-automation web-testing

Last synced: 1 day ago
JSON representation

Automação de Testes E2E com Robot Framework e Selenium WebDriver.

Awesome Lists containing this project

README

        

# Projeto de testes E2E com Robot Framework e Selenium WebDriver.

[![Robot Framework Tests](https://github.com/thinogueiras/Robot-Selenium-BrowserStack/actions/workflows/continuous-testing.yml/badge.svg?branch=main)](https://github.com/thinogueiras/Robot-Selenium-BrowserStack/actions/workflows/continuous-testing.yml) [![BrowserStack Tests](https://github.com/thinogueiras/Robot-Selenium-BrowserStack/actions/workflows/browserstack-testing.yml/badge.svg?branch=main)](https://github.com/thinogueiras/Robot-Selenium-BrowserStack/actions/workflows/browserstack-testing.yml)

## Pré-requisitos mínimos de ambiente:

* [Python](https://www.python.org/downloads/) 3.11.x.

* [Node.js](https://nodejs.org/en) 18.17.x.

## Instalação do projeto:

```
pip install -r requirements.txt
```

## Setup BrowserStack (Opcional):

```
browserstack-sdk setup --framework "robot" --username "" --key ""
```

## Execução dos testes - Local 🤖 🤖

* ### Normal:

```
robot -d ./reports tests/
```

* ### Headless:

```
robot -d ./reports -v BROWSER:headlesschrome tests/
```

## Execução dos testes - BrowserStack 🤖 🤖

* ```
browserstack-sdk robot -d ./reports -e ignore-bs tests/
```

---

## Relatórios 📝 📄

Verifique a pasta `reports` para visualizar os relatórios da execução: `report.html` ou `log.html`.

---

## Sobre a integração com o BrowserStack:



### Execuções disparadas automaticamente pelo pipeline do GitHub Actions:

![alt text](.github/images/image-0.png)

### Observabilidade dos Testes:

![alt text](.github/images/image-1.png)

---

Linkedin

Thiago Nogueira dos Santos 🤓 ✌🏻

QA Automation Engineer 🔎 🐞