2023-10-13 12:32:41 +00:00
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
2023-10-14 07:28:27 +00:00
|
|
|
<robot generator="Robot 6.1.1 (Python 3.11.4 on win32)" generated="20231013 23:21:54.715" rpa="false" schemaversion="4">
|
|
|
|
<suite id="s1" name="Inputbox" source="C:\Users\lukas\Mega\Data\GitHub\Robot_Framework\RobotSelenium\Techie\TestCases\Inputbox.robot">
|
|
|
|
<test id="s1-t1" name="TestingInputBox" line="8">
|
2023-10-13 12:32:41 +00:00
|
|
|
<kw name="Open Browser" library="SeleniumLibrary">
|
2023-10-14 07:28:27 +00:00
|
|
|
<arg>${url}</arg>
|
|
|
|
<arg>${browser}</arg>
|
2023-10-13 12:32:41 +00:00
|
|
|
<doc>Opens a new browser instance to the optional ``url``.</doc>
|
2023-10-14 07:28:27 +00:00
|
|
|
<msg timestamp="20231013 23:21:55.147" level="INFO">Opening browser 'chrome' to base url 'https://demo.nopcommerce.com/'.</msg>
|
|
|
|
<status status="PASS" starttime="20231013 23:21:55.146" endtime="20231013 23:22:04.801"/>
|
|
|
|
</kw>
|
|
|
|
<kw name="Maximize Browser Window" library="SeleniumLibrary">
|
|
|
|
<doc>Maximizes current browser window.</doc>
|
|
|
|
<status status="PASS" starttime="20231013 23:22:04.802" endtime="20231013 23:22:04.943"/>
|
|
|
|
</kw>
|
|
|
|
<kw name="Title Should Be" library="SeleniumLibrary">
|
|
|
|
<arg>nopCommerce demo store</arg>
|
|
|
|
<doc>Verifies that the current page title equals ``title``.</doc>
|
|
|
|
<msg timestamp="20231013 23:22:04.962" level="INFO">Page title is 'nopCommerce demo store'.</msg>
|
|
|
|
<status status="PASS" starttime="20231013 23:22:04.944" endtime="20231013 23:22:04.962"/>
|
2023-10-13 12:32:41 +00:00
|
|
|
</kw>
|
|
|
|
<kw name="Click Link" library="SeleniumLibrary">
|
|
|
|
<arg>xpath://a[@class="ico-login"]</arg>
|
|
|
|
<doc>Clicks a link identified by ``locator``.</doc>
|
2023-10-14 07:28:27 +00:00
|
|
|
<msg timestamp="20231013 23:22:04.965" level="INFO">Clicking link 'xpath://a[@class="ico-login"]'.</msg>
|
|
|
|
<status status="PASS" starttime="20231013 23:22:04.963" endtime="20231013 23:22:06.024"/>
|
2023-10-13 12:32:41 +00:00
|
|
|
</kw>
|
2023-10-14 07:28:27 +00:00
|
|
|
<kw name="Set Variable" library="BuiltIn">
|
|
|
|
<var>${"email_txt"}</var>
|
|
|
|
<arg>id:Email</arg>
|
|
|
|
<doc>Returns the given values which can then be assigned to a variables.</doc>
|
|
|
|
<msg timestamp="20231013 23:22:06.026" level="INFO">${"email_txt"} = id:Email</msg>
|
|
|
|
<status status="PASS" starttime="20231013 23:22:06.026" endtime="20231013 23:22:06.026"/>
|
|
|
|
</kw>
|
|
|
|
<kw name="Element Should Be Visible" library="SeleniumLibrary">
|
|
|
|
<arg>${"email_txt"}</arg>
|
|
|
|
<doc>Verifies that the element identified by ``locator`` is visible.</doc>
|
|
|
|
<msg timestamp="20231013 23:22:06.088" level="INFO">Element 'id:Email' is displayed.</msg>
|
|
|
|
<status status="PASS" starttime="20231013 23:22:06.027" endtime="20231013 23:22:06.088"/>
|
|
|
|
</kw>
|
|
|
|
<kw name="Element Should Be Enabled" library="SeleniumLibrary">
|
|
|
|
<arg>${"email_txt"}</arg>
|
|
|
|
<doc>Verifies that element identified by ``locator`` is enabled.</doc>
|
|
|
|
<status status="PASS" starttime="20231013 23:22:06.089" endtime="20231013 23:22:06.179"/>
|
2023-10-13 12:32:41 +00:00
|
|
|
</kw>
|
|
|
|
<kw name="Input Text" library="SeleniumLibrary">
|
2023-10-14 07:28:27 +00:00
|
|
|
<arg>${"email_txt"}</arg>
|
|
|
|
<arg>superborec@gmail.com</arg>
|
2023-10-13 12:32:41 +00:00
|
|
|
<doc>Types the given ``text`` into the text field identified by ``locator``.</doc>
|
2023-10-14 07:28:27 +00:00
|
|
|
<msg timestamp="20231013 23:22:06.181" level="INFO">Typing text 'superborec@gmail.com' into text field 'id:Email'.</msg>
|
|
|
|
<status status="PASS" starttime="20231013 23:22:06.180" endtime="20231013 23:22:06.370"/>
|
|
|
|
</kw>
|
|
|
|
<kw name="Sleep" library="BuiltIn">
|
|
|
|
<arg>5</arg>
|
|
|
|
<doc>Pauses the test executed for the given time.</doc>
|
|
|
|
<msg timestamp="20231013 23:22:11.372" level="INFO">Slept 5 seconds</msg>
|
|
|
|
<status status="PASS" starttime="20231013 23:22:06.371" endtime="20231013 23:22:11.372"/>
|
|
|
|
</kw>
|
|
|
|
<kw name="Clear Element Text" library="SeleniumLibrary">
|
|
|
|
<arg>${"email_txt"}</arg>
|
|
|
|
<doc>Clears the value of the text-input-element identified by ``locator``.</doc>
|
|
|
|
<status status="PASS" starttime="20231013 23:22:11.372" endtime="20231013 23:22:11.449"/>
|
2023-10-13 12:32:41 +00:00
|
|
|
</kw>
|
2023-10-14 07:28:27 +00:00
|
|
|
<kw name="Sleep" library="BuiltIn">
|
|
|
|
<arg>3</arg>
|
|
|
|
<doc>Pauses the test executed for the given time.</doc>
|
|
|
|
<msg timestamp="20231013 23:22:14.451" level="INFO">Slept 3 seconds</msg>
|
|
|
|
<status status="PASS" starttime="20231013 23:22:11.450" endtime="20231013 23:22:14.451"/>
|
2023-10-13 12:32:41 +00:00
|
|
|
</kw>
|
|
|
|
<kw name="Close Browser" library="SeleniumLibrary">
|
|
|
|
<doc>Closes the current browser.</doc>
|
2023-10-14 07:28:27 +00:00
|
|
|
<status status="PASS" starttime="20231013 23:22:14.451" endtime="20231013 23:22:16.908"/>
|
2023-10-13 12:32:41 +00:00
|
|
|
</kw>
|
2023-10-14 07:28:27 +00:00
|
|
|
<status status="PASS" starttime="20231013 23:21:55.145" endtime="20231013 23:22:16.909"/>
|
2023-10-13 12:32:41 +00:00
|
|
|
</test>
|
2023-10-14 07:28:27 +00:00
|
|
|
<status status="PASS" starttime="20231013 23:21:54.719" endtime="20231013 23:22:16.911"/>
|
2023-10-13 12:32:41 +00:00
|
|
|
</suite>
|
|
|
|
<statistics>
|
|
|
|
<total>
|
2023-10-14 07:28:27 +00:00
|
|
|
<stat pass="1" fail="0" skip="0">All Tests</stat>
|
2023-10-13 12:32:41 +00:00
|
|
|
</total>
|
|
|
|
<tag>
|
|
|
|
</tag>
|
|
|
|
<suite>
|
2023-10-14 07:28:27 +00:00
|
|
|
<stat pass="1" fail="0" skip="0" id="s1" name="Inputbox">Inputbox</stat>
|
2023-10-13 12:32:41 +00:00
|
|
|
</suite>
|
|
|
|
</statistics>
|
|
|
|
<errors>
|
|
|
|
</errors>
|
|
|
|
</robot>
|