How can i test an angular js web application with selenium?
I'm new in Test Automation. I want to use Selenium in order to test web application done by angular js. Can someone suggest to me how to start with a basic application and do you have an example of an angular js application.
I've recently found GitHub project called jProtractor. It implements its own NgWebDriver based on Selenium WebDriver. Most important feature I noticed is that most of basic methods wait for finishing AngularJS script before calling the original method.
Note that I haven't tried it myself so I can't tell how well it works, but it is currently in developement and may contain bugs and lack features.
It will wait for angular to be in a state where it thinks that the site is ready for automated tests to go ahead (This is pretty much stolen from the protector code base and wrapped in Java). You will need to have a script timeout set for it to work though: