量角器如何检查应用程序是AngularJS还是非AngularJS?

时间:2015-07-15 08:26:18

标签: protractor ui-automation angularjs-e2e

嗨,量角器专家,

我是量角器的新用户。我尝试使用量角器为我们的应用程序(AngularJS应用程序)进行E2E自动化测试,似乎量角器不认为我们的应用程序是AngularJS应用程序:

Message:
     Error: Angular could not be found on the page https://localhost/ : retries looking for angular exceeded    Stacktrace:
     Error: Angular could not be found on the page https://localhost/ : retries looking for angular exceeded
    at Array.forEach (native)
    at runMicrotasksCallback (node.js:337:7)
    at process._tickCallback (node.js:355:11) From: Task: Asynchronous test function: beforeEach() Error
    at [object Object].<anonymous> (/Users/tfeng/Desktop/protractor/addUser.js:6:5)
    at Object.<anonymous> (/Users/tfeng/Desktop/protractor/addUser.js:2:1)

我们的应用程序不包含标记,我们在应用程序中打包了AngularJS。所以我想知道量角器如何检查应用程序是AngularJS还是非AngularJS?

谢谢, 贝

0 个答案:

没有答案