Skip to content

Instantly share code, notes, and snippets.

@JoneSabino
Created May 21, 2024 12:30
Show Gist options
  • Save JoneSabino/7aed2686ffb7ff3429ff6c6f413e6e3e to your computer and use it in GitHub Desktop.
Save JoneSabino/7aed2686ffb7ff3429ff6c6f413e6e3e to your computer and use it in GitHub Desktop.
Select Option in List
*** Settings ***
Library SeleniumLibrary
*** Variables ***
${URL} https://seubarriga.wcaquino.me/login
${EMAIL} teste@666.com.br
${PASSWORD} teste
*** Test Cases ***
Login Test
[Documentation] Teste de login
Open Browser ${URL} chrome
Maximize Browser Window
Input Text id:email ${EMAIL}
Input Password id:senha ${PASSWORD}
Click Button Entrar
Wait Until Page Contains Element css:a[href="/movimentacao"]
Click element css:a[href="/movimentacao"]
Wait Until Page Contains Element id:tipo
Select From List By Value id:tipo REC
[Teardown] Close Browser
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment