Я использую Robot Framework и использую SeleniumLibrary и AngularJSLibrary.
У меня есть страница входа, которая не является угловой, но последующие страницы имеют угловой. Когда я запускаю свой сквозной тест, построенный с использованием robotframework, он загружает страницу входа, но ничего не делает и не удается.
Сообщение об ошибке:
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