MarketSquare / robotframework-angularjs

An AngularJS and Angular extension to Robotframework's SeleniumLibrary

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Application with both angular and nonangular pages

TestUserRobot opened this issue · comments

Clicking on a link in non-angular portal goes to angular pages.

Displays ' angular root element' error when clicking on link in non-angular.
Tried even by separating keywords and settings in diff files.

How are you using the AngularJSLibrary? Is the non-angular site the main site you start in?

You can turn off the implicit wait for angular call, which is producing the error as it is expecting an angualr website, either on the library import setting the ignore_implicit_angular_wait argument to ${True} or by using the Set Ignore Implicit Angular Wait keyword.

What could be the solution if different pages of the same application show different root selectors?

@solomon2530 There is currently not a solution for this. I assume if this is required, a keyword could be created to set the root element instead of just initializing it on library import.

As this is an old issue without any activity I am closing it. If the requirement for being able to change root selector by keyword still remains feel free to open a new ticket.