-
Notifications
You must be signed in to change notification settings - Fork 0
/
checkbox.robot
22 lines (20 loc) · 961 Bytes
/
checkbox.robot
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
*** Settings ***
Library SeleniumLibrary
Test Setup Open Browser ${base_url} ${browser_type}
Test Teardown Close Browser
*** Variables ***
${base_url} https://demoqa.com/radio-button
${browser_type} Chrome
*** Test Cases ***
I Click "Notes" in checkbox
Maximize Browser Window
Click Element (//button[@aria-label="Toggle"])[1]
Sleep 2s
Click Element (//button[@aria-label="Toggle"])[2]
Sleep 2s
Click Element //label[@for="tree-node-notes"]
Sleep 2s
Element Should Be Visible //div[@id="result"]
Sleep 2s
Element Should Contain //span[@class="text-success"]
Sleep 2s