Opens a new browser instance to the optional ``url``.
${LOGIN URL}
${BROWSER}
Opening browser 'Firefox' to base url 'http://192.168.56.1:7272/'.
Firefox driver log is always forced to to: /Users/smsf/exps/robot_webdemo/WebDemo/geckodriver-1.log
Maximizes current browser window.
Sets the delay that is waited after each Selenium command.
${DELAY}
Verifies that the current page title equals ``title``.
Login Page
Page title is 'Login Page'.
${username}
Types the given ``text`` into the text field identified by ``locator``.
username_field
${username}
Typing text 'demo' into text field 'username_field'.
${password}
Types the given ``text`` into the text field identified by ``locator``.
password_field
${password}
Typing text 'mode' into text field 'password_field'.
Clicks the button identified by ``locator``.
login_button
Clicking button 'login_button'.
Verifies that the current URL is exactly ``url``.
${WELCOME URL}
Current location is 'http://192.168.56.1:7272/welcome.html'.
Verifies that the current page title equals ``title``.
Welcome Page
Page title is 'Welcome Page'.
Closes the current browser.
A test suite with a single Gherkin style test.
This test is functionally identical to the example in
valid_login.robot file.
Opens a new browser instance to the optional ``url``.
${LOGIN URL}
${BROWSER}
Opening browser 'Firefox' to base url 'http://192.168.56.1:7272/'.
Firefox driver log is always forced to to: /Users/smsf/exps/robot_webdemo/WebDemo/geckodriver-2.log
Maximizes current browser window.
Sets the delay that is waited after each Selenium command.
${DELAY}
Verifies that the current page title equals ``title``.
Login Page
Page title is 'Login Page'.
Navigates the current browser window to the provided ``url``.
${LOGIN URL}
Opening url 'http://192.168.56.1:7272/'
Verifies that the current page title equals ``title``.
Login Page
Page title is 'Login Page'.
invalid
${VALID PASSWORD}
${username}
Types the given ``text`` into the text field identified by ``locator``.
username_field
${username}
Typing text 'invalid' into text field 'username_field'.
${password}
Types the given ``text`` into the text field identified by ``locator``.
password_field
${password}
Typing text 'mode' into text field 'password_field'.
Clicks the button identified by ``locator``.
login_button
Clicking button 'login_button'.
Verifies that the current URL is exactly ``url``.
${ERROR URL}
Current location is 'http://192.168.56.1:7272/error.html'.
Verifies that the current page title equals ``title``.
Error Page
Page title is 'Error Page'.
Navigates the current browser window to the provided ``url``.
${LOGIN URL}
Opening url 'http://192.168.56.1:7272/'
Verifies that the current page title equals ``title``.
Login Page
Page title is 'Login Page'.
${VALID USER}
invalid
${username}
Types the given ``text`` into the text field identified by ``locator``.
username_field
${username}
Typing text 'demo' into text field 'username_field'.
${password}
Types the given ``text`` into the text field identified by ``locator``.
password_field
${password}
Typing text 'invalid' into text field 'password_field'.
Clicks the button identified by ``locator``.
login_button
Clicking button 'login_button'.
Verifies that the current URL is exactly ``url``.
${ERROR URL}
Current location is 'http://192.168.56.1:7272/error.html'.
Verifies that the current page title equals ``title``.
Error Page
Page title is 'Error Page'.
Navigates the current browser window to the provided ``url``.
${LOGIN URL}
Opening url 'http://192.168.56.1:7272/'
Verifies that the current page title equals ``title``.
Login Page
Page title is 'Login Page'.
invalid
whatever
${username}
Types the given ``text`` into the text field identified by ``locator``.
username_field
${username}
Typing text 'invalid' into text field 'username_field'.
${password}
Types the given ``text`` into the text field identified by ``locator``.
password_field
${password}
Typing text 'whatever' into text field 'password_field'.
Clicks the button identified by ``locator``.
login_button
Clicking button 'login_button'.
Verifies that the current URL is exactly ``url``.
${ERROR URL}
Current location is 'http://192.168.56.1:7272/error.html'.
Verifies that the current page title equals ``title``.
Error Page
Page title is 'Error Page'.
Navigates the current browser window to the provided ``url``.
${LOGIN URL}
Opening url 'http://192.168.56.1:7272/'
Verifies that the current page title equals ``title``.
Login Page
Page title is 'Login Page'.
${EMPTY}
${VALID PASSWORD}
${username}
Types the given ``text`` into the text field identified by ``locator``.
username_field
${username}
Typing text '' into text field 'username_field'.
${password}
Types the given ``text`` into the text field identified by ``locator``.
password_field
${password}
Typing text 'mode' into text field 'password_field'.
Clicks the button identified by ``locator``.
login_button
Clicking button 'login_button'.
Verifies that the current URL is exactly ``url``.
${ERROR URL}
Current location is 'http://192.168.56.1:7272/error.html'.
Verifies that the current page title equals ``title``.
Error Page
Page title is 'Error Page'.
Navigates the current browser window to the provided ``url``.
${LOGIN URL}
Opening url 'http://192.168.56.1:7272/'
Verifies that the current page title equals ``title``.
Login Page
Page title is 'Login Page'.
${VALID USER}
${EMPTY}
${username}
Types the given ``text`` into the text field identified by ``locator``.
username_field
${username}
Typing text 'demo' into text field 'username_field'.
${password}
Types the given ``text`` into the text field identified by ``locator``.
password_field
${password}
Typing text '' into text field 'password_field'.
Clicks the button identified by ``locator``.
login_button
Clicking button 'login_button'.
Verifies that the current URL is exactly ``url``.
${ERROR URL}
Current location is 'http://192.168.56.1:7272/error.html'.
Verifies that the current page title equals ``title``.
Error Page
Page title is 'Error Page'.
Navigates the current browser window to the provided ``url``.
${LOGIN URL}
Opening url 'http://192.168.56.1:7272/'
Verifies that the current page title equals ``title``.
Login Page
Page title is 'Login Page'.
${EMPTY}
${EMPTY}
${username}
Types the given ``text`` into the text field identified by ``locator``.
username_field
${username}
Typing text '' into text field 'username_field'.
${password}
Types the given ``text`` into the text field identified by ``locator``.
password_field
${password}
Typing text '' into text field 'password_field'.
Clicks the button identified by ``locator``.
login_button
Clicking button 'login_button'.
Verifies that the current URL is exactly ``url``.
${ERROR URL}
Current location is 'http://192.168.56.1:7272/error.html'.
Verifies that the current page title equals ``title``.
Error Page
Page title is 'Error Page'.
Closes the current browser.
A test suite containing tests related to invalid login.
These tests are data-driven by their nature. They use a single
keyword, specified with Test Template setting, that is called
with different arguments to cover different scenarios.
This suite also demonstrates using setups and teardowns in
different levels.
Opens a new browser instance to the optional ``url``.
${LOGIN URL}
${BROWSER}
Opening browser 'Firefox' to base url 'http://192.168.56.1:7272/'.
Firefox driver log is always forced to to: /Users/smsf/exps/robot_webdemo/WebDemo/geckodriver-3.log
Maximizes current browser window.
Sets the delay that is waited after each Selenium command.
${DELAY}
Verifies that the current page title equals ``title``.
Login Page
Page title is 'Login Page'.
demo
Types the given ``text`` into the text field identified by ``locator``.
username_field
${username}
Typing text 'demo' into text field 'username_field'.
mode
Types the given ``text`` into the text field identified by ``locator``.
password_field
${password}
Typing text 'mode' into text field 'password_field'.
Clicks the button identified by ``locator``.
login_button
Clicking button 'login_button'.
Verifies that the current URL is exactly ``url``.
${WELCOME URL}
Current location is 'http://192.168.56.1:7272/welcome.html'.
Verifies that the current page title equals ``title``.
Welcome Page
Page title is 'Welcome Page'.
Closes the current browser.
ROB-11
UI
A test suite with a single test for valid login.
This test has a workflow that is created using keywords in
the imported resource file.
Critical Tests
All Tests
ROB-11
UI
Login Tests
Login Tests.Gherkin Login
Login Tests.Invalid Login
Login Tests.Valid Login