Created
April 5, 2018 23:47
-
-
Save emanlove/3518c2dbf5127fa6efaf7b9a93f188bf to your computer and use it in GitHub Desktop.
Robot Framework output of test importing AngularJSLibrary
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
*** Settings *** | |
Library String | |
Library Collections | |
Library OperatingSystem | |
Library SeleniumLibrary | |
Library AngularJSLibrary | |
*** Test Cases *** | |
Simple Log | |
Log Hello World! | |
Open A Non-Angular Website | |
Open Browser http://robotframework.org/ | |
Close All Browsers | |
Open A Non-Angular Website And Use A Locator | |
Open Browser http://robotframework.org/ | |
Click Element //*[@id="navigation"]/li[0]/a | |
Close All Browsers |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(cl-py36-env) R:\Projects\rf-ajs\test-installation>pybot check.robot | |
T:\DevTools\Python36\Lib\runpy.py:125: RuntimeWarning: 'robot.run' found in sys.modules after import of package 'robot', but prior to execution of 'robot.run'; this may result in unpredictable behaviour | |
warn(RuntimeWarning(msg)) | |
============================================================================== | |
Check | |
============================================================================== | |
Simple Log | PASS | | |
------------------------------------------------------------------------------ | |
Open A Non-Angular Website | PASS | | |
------------------------------------------------------------------------------ | |
Open A Non-Angular Website And Use A Locator | FAIL | | |
JavascriptException: Message: Error: window.angular is undefined. This could be either because this is a non-angular page or because your test involves client-side navigation. Currently the AngularJS Library is not designed to wait in such situations. Instead you should explicitly call the "Wait For Angular" keyword. | |
------------------------------------------------------------------------------ | |
Check | FAIL | | |
3 critical tests, 2 passed, 1 failed | |
3 tests total, 2 passed, 1 failed | |
============================================================================== | |
Output: R:\Projects\rf-ajs\test-installation\output.xml | |
Log: R:\Projects\rf-ajs\test-installation\log.html | |
Report: R:\Projects\rf-ajs\test-installation\report.html | |
(cl-py36-env) R:\Projects\rf-ajs\test-installation> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment