You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
95 lines
6.6 KiB
95 lines
6.6 KiB
<?xml version="1.0" encoding="UTF-8"?>
|
|
<robot generator="Robot 6.1.1 (Python 3.6.6 on win32)" generated="20240322 19:58:37.569" rpa="false" schemaversion="4">
|
|
<suite id="s1" name="Dating-agency" source="D:\LYL\Study\Robot_framework\space\Dating-agency">
|
|
<suite id="s1-s1" name="UI-Testing" source="D:\LYL\Study\Robot_framework\space\Dating-agency\UI-Testing">
|
|
<suite id="s1-s1-s1" name="Login" source="D:\LYL\Study\Robot_framework\space\Dating-agency\UI-Testing\Login.robot">
|
|
<test id="s1-s1-s1-t1" name="LoginTest" line="6">
|
|
<kw name="Open Application" library="AppiumLibrary">
|
|
<arg>http://127.0.0.1:4723/wd/hub</arg>
|
|
<arg>platformName=Android</arg>
|
|
<arg>platformVersion=9</arg>
|
|
<arg>deviceName=emulator-5554</arg>
|
|
<doc>Opens a new application to given Appium server.
|
|
Capabilities of appium server, Android and iOS,
|
|
Please check https://github.com/appium/appium/blob/master/docs/en/writing-running-appium/server-args.md
|
|
| *Option* | *Man.* | *Description* |
|
|
| remote_url | Yes | Appium server url |
|
|
| alias | no | alias |</doc>
|
|
<msg timestamp="20240322 19:58:37.794" level="DEBUG">POST http://127.0.0.1:4723/wd/hub/session {"capabilities": {"firstMatch": [{"platformName": "Android", "appium:platformVersion": "9", "appium:deviceName": "emulator-5554"}]}, "desiredCapabilities": {"platformName": "Android", "platformVersion": "9", "deviceName": "emulator-5554"}}</msg>
|
|
<msg timestamp="20240322 19:58:37.795" level="DEBUG">Starting new HTTP connection (1): 127.0.0.1:4723</msg>
|
|
<msg timestamp="20240322 19:58:41.893" level="DEBUG">http://127.0.0.1:4723 "POST /wd/hub/session HTTP/1.1" 200 694</msg>
|
|
<msg timestamp="20240322 19:58:41.894" level="DEBUG">Finished Request</msg>
|
|
<msg timestamp="20240322 19:58:41.895" level="DEBUG">Opened application with session id 95d93129-4b29-481f-aa41-23be08010d9f</msg>
|
|
<status status="PASS" starttime="20240322 19:58:37.791" endtime="20240322 19:58:41.895"/>
|
|
</kw>
|
|
<kw name="Click Element" library="AppiumLibrary">
|
|
<arg>xpath=//android.webkit.WebView</arg>
|
|
<doc>Click element identified by `locator`.</doc>
|
|
<msg timestamp="20240322 19:58:41.897" level="INFO">Clicking element 'xpath=//android.webkit.WebView'.</msg>
|
|
<msg timestamp="20240322 19:58:41.897" level="DEBUG">POST http://127.0.0.1:4723/wd/hub/session/95d93129-4b29-481f-aa41-23be08010d9f/elements {"using": "xpath", "value": "//android.webkit.WebView"}</msg>
|
|
<msg timestamp="20240322 19:58:42.153" level="DEBUG">http://127.0.0.1:4723 "POST /wd/hub/session/95d93129-4b29-481f-aa41-23be08010d9f/elements HTTP/1.1" 200 267</msg>
|
|
<msg timestamp="20240322 19:58:42.154" level="DEBUG">Finished Request</msg>
|
|
<msg timestamp="20240322 19:58:42.154" level="DEBUG">POST http://127.0.0.1:4723/wd/hub/session/95d93129-4b29-481f-aa41-23be08010d9f/element/00000000-0000-0048-ffff-ffff00000026/click {"id": "00000000-0000-0048-ffff-ffff00000026"}</msg>
|
|
<msg timestamp="20240322 19:58:42.176" level="DEBUG">http://127.0.0.1:4723 "POST /wd/hub/session/95d93129-4b29-481f-aa41-23be08010d9f/element/00000000-0000-0048-ffff-ffff00000026/click HTTP/1.1" 200 14</msg>
|
|
<msg timestamp="20240322 19:58:42.176" level="DEBUG">Finished Request</msg>
|
|
<status status="PASS" starttime="20240322 19:58:41.896" endtime="20240322 19:58:42.177"/>
|
|
</kw>
|
|
<kw name="Alert Should Not Be Present" library="SeleniumLibrary">
|
|
<arg>xpath=//android.view.View[@text=\"去认证\"]</arg>
|
|
<doc>Verifies that no alert is present.</doc>
|
|
<kw name="Capture Page Screenshot">
|
|
<msg timestamp="20240322 19:58:42.178" level="FAIL">Multiple keywords with name 'Capture Page Screenshot' found. Give the full name of the keyword you want to use:
|
|
AppiumLibrary.Capture Page Screenshot
|
|
SeleniumLibrary.Capture Page Screenshot</msg>
|
|
<status status="FAIL" starttime="20240322 19:58:42.178" endtime="20240322 19:58:42.178"/>
|
|
</kw>
|
|
<msg timestamp="20240322 19:58:42.179" level="WARN">Keyword 'Capture Page Screenshot' could not be run on failure: Multiple keywords with name 'Capture Page Screenshot' found. Give the full name of the keyword you want to use:
|
|
AppiumLibrary.Capture Page Screenshot
|
|
SeleniumLibrary.Capture Page Screenshot</msg>
|
|
<msg timestamp="20240322 19:58:42.179" level="FAIL">No browser is open.</msg>
|
|
<msg timestamp="20240322 19:58:42.212" level="DEBUG">Traceback (most recent call last):
|
|
File "d:\lyl\study\python\lib\site-packages\SeleniumLibrary\__init__.py", line 360, in run_keyword
|
|
return DynamicCore.run_keyword(self, name, args, kwargs)
|
|
File "d:\lyl\study\python\lib\site-packages\SeleniumLibrary\base\robotlibcore.py", line 102, in run_keyword
|
|
return self.keywords[name](*args, **kwargs)
|
|
File "d:\lyl\study\python\lib\site-packages\SeleniumLibrary\keywords\alert.py", line 94, in alert_should_not_be_present
|
|
alert = self._wait_alert(timeout)
|
|
File "d:\lyl\study\python\lib\site-packages\SeleniumLibrary\keywords\alert.py", line 210, in _wait_alert
|
|
wait = WebDriverWait(self.driver, timeout)
|
|
File "d:\lyl\study\python\lib\site-packages\SeleniumLibrary\base\context.py", line 32, in driver
|
|
return self.ctx.driver
|
|
File "d:\lyl\study\python\lib\site-packages\SeleniumLibrary\__init__.py", line 403, in driver
|
|
raise NoOpenBrowser('No browser is open.')
|
|
SeleniumLibrary.errors.NoOpenBrowser: No browser is open.</msg>
|
|
<status status="FAIL" starttime="20240322 19:58:42.177" endtime="20240322 19:58:42.212"/>
|
|
</kw>
|
|
<kw name="Close Application" library="AppiumLibrary">
|
|
<doc>Closes the current application and also close webdriver session.</doc>
|
|
<status status="NOT RUN" starttime="20240322 19:58:42.213" endtime="20240322 19:58:42.213"/>
|
|
</kw>
|
|
<status status="FAIL" starttime="20240322 19:58:37.790" endtime="20240322 19:58:42.213">No browser is open.</status>
|
|
</test>
|
|
<status status="FAIL" starttime="20240322 19:58:37.609" endtime="20240322 19:58:42.213"/>
|
|
</suite>
|
|
<status status="FAIL" starttime="20240322 19:58:37.607" endtime="20240322 19:58:42.214"/>
|
|
</suite>
|
|
<status status="FAIL" starttime="20240322 19:58:37.580" endtime="20240322 19:58:42.215"/>
|
|
</suite>
|
|
<statistics>
|
|
<total>
|
|
<stat pass="0" fail="1" skip="0">All Tests</stat>
|
|
</total>
|
|
<tag>
|
|
</tag>
|
|
<suite>
|
|
<stat pass="0" fail="1" skip="0" id="s1" name="Dating-agency">Dating-agency</stat>
|
|
<stat pass="0" fail="1" skip="0" id="s1-s1" name="UI-Testing">Dating-agency.UI-Testing</stat>
|
|
<stat pass="0" fail="1" skip="0" id="s1-s1-s1" name="Login">Dating-agency.UI-Testing.Login</stat>
|
|
</suite>
|
|
</statistics>
|
|
<errors>
|
|
<msg timestamp="20240322 19:58:42.179" level="WARN">Keyword 'Capture Page Screenshot' could not be run on failure: Multiple keywords with name 'Capture Page Screenshot' found. Give the full name of the keyword you want to use:
|
|
AppiumLibrary.Capture Page Screenshot
|
|
SeleniumLibrary.Capture Page Screenshot</msg>
|
|
</errors>
|
|
</robot>
|