Quantcast
Channel: Active questions tagged selenium - Stack Overflow
Viewing all articles
Browse latest Browse all 97773

Robot framework displays : JavascriptException: Message: javascript error: Unable to find root selector using "[ng-app]"

$
0
0

I am using Robot framework and using SeleniumLibrary and AngularJSLibrary.

I have a login page which is no angular but subsequent pages has angular. When i run my end to end test that is built using robotframework, it lanches the login page however it is doing nothing and failed.

Error message:

JavascriptException: Message: javascript error: Unable to find root selector using "[ng-app]".
Please refer to the AngularJS library documentation for more information on how to resolve this error.

*** Settings ***

Documentation "Angular demo". ... Demo.

Library SeleniumLibrary

Library AngularJSLibrary

* Keywords *

Click clients and all accounts

Wait for Angular

Click Element   binding=::item.title | translate

Click Element   xpath=//*[@id="clientsMenu"]/li[1]/button

Account page is displayed

Title Should be     All-Accounts

Search an account

Input Text      model=vm.searchDetails.searchString     123

Viewing all articles
Browse latest Browse all 97773

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>