Skip to content

Commit 9fcd42b

Browse files
author
Cleverson Sampaio
committed
test(navigation): added navigation tests for each keyword
1 parent 621dd8b commit 9fcd42b

File tree

1 file changed

+35
-0
lines changed

1 file changed

+35
-0
lines changed

tests/navigation_test.robot

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
*** Settings ***
2+
Documentation Tests navigation
3+
4+
Library SeleniumLibrary
5+
Library SeleniumLibraryExtends
6+
7+
Test Teardown Close browser
8+
9+
*** Test Cases ***
10+
Open Browser
11+
[Documentation] Open browser chrome.
12+
I open the browser chrome
13+
14+
Navigate to
15+
[Documentation] Navigate to Google.
16+
I open the browser chrome
17+
I am on https://www.google.com.br
18+
Title Should Be Google
19+
20+
Back navigation
21+
[Documentation] Back navigation.
22+
I open the browser chrome
23+
I am on https://www.google.com.br
24+
Title Should Be Google
25+
I am on https://www.youtube.com
26+
Title Should Be YouTube
27+
I navigate back
28+
Title Should Be Google
29+
30+
Get title
31+
[Documentation] Get title.
32+
I open the browser chrome
33+
I am on https://www.google.com.br
34+
${title}= I retrieve the page title
35+
Title Should Be ${title}

0 commit comments

Comments
 (0)