Files
paypoint-testautomation/Resources/Tab_Klant.resource

23 lines
857 B
Plaintext

*** Settings ***
Library Browser
Library FakerLibrary locale=nl_NL
*** Variables ***
${EMAIL} jejim33876@barodis.com
*** Keywords ***
Open Klant Tab
[Documentation] Opent het Tabblad Klant
Click id=klanten
Klant Toevoegen
[Documentation] Voegt een nieuwe klant toe met behulp van random data
${voornaam}= FakerLibrary.First Name Nonbinary
${achternaam}= FakerLibrary.Last Name
${telefoon}= FakerLibrary.Phone Number
Click id=klantToevoegen
Type Text xpath=//*[@id="voornaam-nieuwe-klant"]//input[1] ${voornaam}
Type Text xpath=//*[@id="achternaam-nieuwe-klant"]//input[1] ${achternaam}
Type Text xpath=//*[@id="email-nieuwe-klant"]//input[1] ${EMAIL}
Type Text xpath=//*[@id="telefoon-nieuwe-klant"]//input[1] ${telefoon}
Click id=klant-toevoegen