Opens a new browser instance to given URL.
${LOGIN URL}
${BROWSER}
Opening browser 'chrome' to base url 'http://localhost:8080/login.jsp'
Maximizes current browser window.
Sets the delay in seconds that is waited after each Selenium command.
${DELAY}
Verifies that current page title equals `title`.
Log in - Xray Demo Environment (JIRA 7)
Page title is 'Log in - Xray Demo Environment (JIRA 7)'.
${username}
Types the given `text` into text field identified by `locator`.
login-form-username
${username}
Typing text 'admin' into text field 'login-form-username'
${password}
Types the given `text` into text field identified by `locator`.
login-form-password
${password}
Typing text 'admin' into text field 'login-form-password'
Clicks a button identified by `locator`.
login-form-submit
Clicking button 'login-form-submit'.
Verifies that current URL is exactly `url`.
${WELCOME URL}
Current location is 'http://localhost:8080/secure/Dashboard.jspa'.
Verifies that current page title equals `title`.
Tests Dashboard - Xray Demo Environment (JIRA 7)
Page title is 'Tests Dashboard - Xray Demo Environment (JIRA 7)'.
Closes the current browser.
RD-42
REQ-1
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 given URL.
${LOGIN URL}
${BROWSER}
Opening browser 'chrome' to base url 'http://localhost:8080/login.jsp'
Maximizes current browser window.
Sets the delay in seconds that is waited after each Selenium command.
${DELAY}
Verifies that current page title equals `title`.
Log in - Xray Demo Environment (JIRA 7)
Page title is 'Log in - Xray Demo Environment (JIRA 7)'.
Navigates the active browser instance to the provided URL.
${LOGIN URL}
Opening url 'http://localhost:8080/login.jsp'
Runs the given keyword with the given arguments and ignores possible error.
Get Alert Message
Returns the text of current JavaScript alert.
Takes a screenshot of the current page and embeds it into the log.
</td></tr><tr><td colspan="3"><a href="selenium-screenshot-1.png"><img src="selenium-screenshot-1.png" width="800px"></a>
There were no alerts
Verifies that current page title equals `title`.
Log in - Xray Demo Environment (JIRA 7)
Page title is 'Log in - Xray Demo Environment (JIRA 7)'.
invalid
${VALID PASSWORD}
${username}
Types the given `text` into text field identified by `locator`.
login-form-username
${username}
Typing text 'invalid' into text field 'login-form-username'
${password}
Types the given `text` into text field identified by `locator`.
login-form-password
${password}
Typing text 'admin' into text field 'login-form-password'
Clicks a button identified by `locator`.
login-form-submit
Clicking button 'login-form-submit'.
Verifies element identified by `locator` is found on the current page.
xpath=//*[@id="login-form"]/div[1]/div[@class="aui-message error"]
Current page contains element 'xpath=//*[@id="login-form"]/div[1]/div[@class="aui-message error"]'.
Returns the text value of element identified by `locator`.
xpath=//*[@id="login-form"]/div[1]/div[@class="aui-message error"]/p
${txt}
${txt} = Sorry, your username and password are incorrect - please try again.
Fails if objects are unequal after converting them to strings.
${txt}
Sorry, your username and password are incorrect - please try again.
Verifies that current page title equals `title`.
Log in - Xray Demo Environment (JIRA 7)
Page title is 'Log in - Xray Demo Environment (JIRA 7)'.
Navigates the active browser instance to the provided URL.
${LOGIN URL}
Opening url 'http://localhost:8080/login.jsp'
Runs the given keyword with the given arguments and ignores possible error.
Get Alert Message
Returns the text of current JavaScript alert.
Verifies that current page title equals `title`.
Log in - Xray Demo Environment (JIRA 7)
Page title is 'Log in - Xray Demo Environment (JIRA 7)'.
${VALID USER}
invalid
${username}
Types the given `text` into text field identified by `locator`.
login-form-username
${username}
Typing text 'admin' into text field 'login-form-username'
${password}
Types the given `text` into text field identified by `locator`.
login-form-password
${password}
Typing text 'invalid' into text field 'login-form-password'
Clicks a button identified by `locator`.
login-form-submit
Clicking button 'login-form-submit'.
Verifies element identified by `locator` is found on the current page.
xpath=//*[@id="login-form"]/div[1]/div[@class="aui-message error"]
Current page contains element 'xpath=//*[@id="login-form"]/div[1]/div[@class="aui-message error"]'.
Returns the text value of element identified by `locator`.
xpath=//*[@id="login-form"]/div[1]/div[@class="aui-message error"]/p
${txt}
${txt} = Sorry, your username and password are incorrect - please try again.
Fails if objects are unequal after converting them to strings.
${txt}
Sorry, your username and password are incorrect - please try again.
Verifies that current page title equals `title`.
Log in - Xray Demo Environment (JIRA 7)
Page title is 'Log in - Xray Demo Environment (JIRA 7)'.
Navigates the active browser instance to the provided URL.
${LOGIN URL}
Opening url 'http://localhost:8080/login.jsp'
Runs the given keyword with the given arguments and ignores possible error.
Get Alert Message
Returns the text of current JavaScript alert.
Verifies that current page title equals `title`.
Log in - Xray Demo Environment (JIRA 7)
Page title is 'Log in - Xray Demo Environment (JIRA 7)'.
invalid
whatever
${username}
Types the given `text` into text field identified by `locator`.
login-form-username
${username}
Typing text 'invalid' into text field 'login-form-username'
${password}
Types the given `text` into text field identified by `locator`.
login-form-password
${password}
Typing text 'whatever' into text field 'login-form-password'
Clicks a button identified by `locator`.
login-form-submit
Clicking button 'login-form-submit'.
Verifies element identified by `locator` is found on the current page.
xpath=//*[@id="login-form"]/div[1]/div[@class="aui-message error"]
Current page contains element 'xpath=//*[@id="login-form"]/div[1]/div[@class="aui-message error"]'.
Returns the text value of element identified by `locator`.
xpath=//*[@id="login-form"]/div[1]/div[@class="aui-message error"]/p
${txt}
${txt} = Sorry, your username and password are incorrect - please try again.
Fails if objects are unequal after converting them to strings.
${txt}
Sorry, your username and password are incorrect - please try again.
Verifies that current page title equals `title`.
Log in - Xray Demo Environment (JIRA 7)
Page title is 'Log in - Xray Demo Environment (JIRA 7)'.
Navigates the active browser instance to the provided URL.
${LOGIN URL}
Opening url 'http://localhost:8080/login.jsp'
Runs the given keyword with the given arguments and ignores possible error.
Get Alert Message
Returns the text of current JavaScript alert.
Verifies that current page title equals `title`.
Log in - Xray Demo Environment (JIRA 7)
Page title is 'Log in - Xray Demo Environment (JIRA 7)'.
${EMPTY}
${VALID PASSWORD}
${username}
Types the given `text` into text field identified by `locator`.
login-form-username
${username}
Typing text '' into text field 'login-form-username'
${password}
Types the given `text` into text field identified by `locator`.
login-form-password
${password}
Typing text 'admin' into text field 'login-form-password'
Clicks a button identified by `locator`.
login-form-submit
Clicking button 'login-form-submit'.
Verifies element identified by `locator` is found on the current page.
xpath=//*[@id="login-form"]/div[1]/div[@class="aui-message error"]
Current page contains element 'xpath=//*[@id="login-form"]/div[1]/div[@class="aui-message error"]'.
Returns the text value of element identified by `locator`.
xpath=//*[@id="login-form"]/div[1]/div[@class="aui-message error"]/p
${txt}
${txt} = Sorry, your username and password are incorrect - please try again.
Fails if objects are unequal after converting them to strings.
${txt}
Sorry, your username and password are incorrect - please try again.
Verifies that current page title equals `title`.
Log in - Xray Demo Environment (JIRA 7)
Page title is 'Log in - Xray Demo Environment (JIRA 7)'.
Navigates the active browser instance to the provided URL.
${LOGIN URL}
Opening url 'http://localhost:8080/login.jsp'
Runs the given keyword with the given arguments and ignores possible error.
Get Alert Message
Returns the text of current JavaScript alert.
Verifies that current page title equals `title`.
Log in - Xray Demo Environment (JIRA 7)
Page title is 'Log in - Xray Demo Environment (JIRA 7)'.
${VALID USER}
${EMPTY}
${username}
Types the given `text` into text field identified by `locator`.
login-form-username
${username}
Typing text 'admin' into text field 'login-form-username'
${password}
Types the given `text` into text field identified by `locator`.
login-form-password
${password}
Typing text '' into text field 'login-form-password'
Clicks a button identified by `locator`.
login-form-submit
Clicking button 'login-form-submit'.
Verifies element identified by `locator` is found on the current page.
xpath=//*[@id="login-form"]/div[1]/div[@class="aui-message error"]
Current page contains element 'xpath=//*[@id="login-form"]/div[1]/div[@class="aui-message error"]'.
Returns the text value of element identified by `locator`.
xpath=//*[@id="login-form"]/div[1]/div[@class="aui-message error"]/p
${txt}
${txt} = Sorry, your username and password are incorrect - please try again.
Fails if objects are unequal after converting them to strings.
${txt}
Sorry, your username and password are incorrect - please try again.
Verifies that current page title equals `title`.
Log in - Xray Demo Environment (JIRA 7)
Page title is 'Log in - Xray Demo Environment (JIRA 7)'.
Navigates the active browser instance to the provided URL.
${LOGIN URL}
Opening url 'http://localhost:8080/login.jsp'
Runs the given keyword with the given arguments and ignores possible error.
Get Alert Message
Returns the text of current JavaScript alert.
Verifies that current page title equals `title`.
Log in - Xray Demo Environment (JIRA 7)
Page title is 'Log in - Xray Demo Environment (JIRA 7)'.
${EMPTY}
${EMPTY}
${username}
Types the given `text` into text field identified by `locator`.
login-form-username
${username}
Typing text '' into text field 'login-form-username'
${password}
Types the given `text` into text field identified by `locator`.
login-form-password
${password}
Typing text '' into text field 'login-form-password'
Clicks a button identified by `locator`.
login-form-submit
Clicking button 'login-form-submit'.
Verifies element identified by `locator` is found on the current page.
xpath=//*[@id="login-form"]/div[1]/div[@class="aui-message error"]
Current page contains element 'xpath=//*[@id="login-form"]/div[1]/div[@class="aui-message error"]'.
Returns the text value of element identified by `locator`.
xpath=//*[@id="login-form"]/div[1]/div[@class="aui-message error"]/p
${txt}
${txt} = Sorry, your username and password are incorrect - please try again.
Fails if objects are unequal after converting them to strings.
${txt}
Sorry, your username and password are incorrect - please try again.
Verifies that current page title equals `title`.
Log in - Xray Demo Environment (JIRA 7)
Page title is 'Log in - Xray Demo Environment (JIRA 7)'.
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 given URL.
${LOGIN URL}
${BROWSER}
Opening browser 'chrome' to base url 'http://localhost:8080/login.jsp'
Maximizes current browser window.
Sets the delay in seconds that is waited after each Selenium command.
${DELAY}
Verifies that current page title equals `title`.
Log in - Xray Demo Environment (JIRA 7)
Page title is 'Log in - Xray Demo Environment (JIRA 7)'.
admin
Types the given `text` into text field identified by `locator`.
login-form-username
${username}
Typing text 'admin' into text field 'login-form-username'
admin
Types the given `text` into text field identified by `locator`.
login-form-password
${password}
Typing text 'admin' into text field 'login-form-password'
Clicks a button identified by `locator`.
login-form-submit
Clicking button 'login-form-submit'.
Verifies that current URL is exactly `url`.
${WELCOME URL}
Current location is 'http://localhost:8080/secure/Dashboard.jspa'.
Verifies that current page title equals `title`.
Tests Dashboard - Xray Demo Environment (JIRA 7)
Page title is 'Tests Dashboard - Xray Demo Environment (JIRA 7)'.
Closes the current browser.
CALC-1|CALC-2
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
CALC-1|CALC-2
RD-42
REQ-1
Robotframework-Webdemo
Robotframework-Webdemo.Login Tests
Robotframework-Webdemo.Login Tests.Gherkin Login
Robotframework-Webdemo.Login Tests.Invalid Login
Robotframework-Webdemo.Login Tests.Valid Login