MarketSquare / robotframework-angularjs

An AngularJS and Angular extension to Robotframework's SeleniumLibrary
Apache License 2.0
34 stars 20 forks source link

Update window.angular is undefined error. #34

Open emanlove opened 5 years ago

emanlove commented 5 years ago

Currently the error is

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.

For the case where test involves client-side navigation it gives ok information about why one is getting this error (Library is not designed to wait in such situations) and what to do (you should explicitly call the "Wait For Angular" keyword). But for the case where this is a non-angular page we could and should give a hint as to what to do in this case; such as use the ignore implicit angular wait functionality.