I am working through a PackT book "AngularJS UI Development". Every thing has gone well, until I started working with Selenium/Protractor section on page 26 of 235. I have tried the solutions offered here on SO, but none of them have worked so far. Operating environment:
- Protractor version 1.6.1
- Node version 0.12.0
- Karma version 0.12.31
- AngularJS version 1.3.1
- Windows 7 machine
- Java (JRE) version 8 update 31
The error log says that protractor can not find AngularJS in my index.html file. This is my first time working with Protractor and Selenium.
I have my project up on github at github
So where have I gone wrong??? I would like to get through this and prove that angular development can be done here at a eLearning development company. tony
index.htm :
<!DOCTYPE html>
<html>
<head>
<meta charset='utf-8'>
<title>Hello World AngularUI</title>
<link rel='stylesheet' href='css/main.css' />
</head>
<body data-ng-app="myApp">
<div data-ng-controller="helloWorldCtrl">
<div hello-world name="name"></div>
<hello-world name='name'></hello-world>
</div>
<script src="bower/angular/angular.min.js"></script>
<script src="js/app.js"></script>
<script src="js/controllers.js"></script>
<script src='js/directives.js'></script>
</body>
</html>
<head></div>tag. (closing the controller div)