-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathradiobutton.robot
27 lines (24 loc) · 1.12 KB
/
radiobutton.robot
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
*** 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 radio button in impressive data
Maximize Browser Window
Click Element //label[@for="impressiveRadio"]
Sleep 2s
Element Should Be Visible //p[@class="mt-3"]
Sleep 2s
Element Should Contain //span[@class="text-success"] Impressive
Sleep 2s
I Click radio button in Yes data
Maximize Browser Window
Click Element //label[@for="yesRadio"]
Sleep 2s
Element Should Be Visible //p[@class="mt-3"]
Sleep 2s
Element Should Contain //span[@class="text-success"] Yes
Sleep 2s