AngularJS for Regression Testing
Has anyone used AngularJS for Regression testing?
Also I would like to have a comparative analysis of AngularJS as compared to Selenium RC/Webdriver.
You can't really compare them. Selenium is for End to End testing, where AngularJS is a framework for Web Apps that has some testing support for integration and unit testing.
Thanks for the prompt reply David.
Can you please elaborate on the exact uses of AngularJS.
Other similar frameworks are EmberJS (this is used by ZenDesk) and SproutCore (this is what's in Apple's online office suite)
To get a good idea of the different JS MVC frameworks out there, you can look at this project. TodoMVC
It's basically the same ToDo app, but implemented in the different frameworks to demonstrate the differences between those frameworks.
BTW.. all these single page app MVC frameworks that support dynamic binding are a nightmare to automate. With dynamic binding, elements can be torn down faster than you can blink. In some cases entire pages are being town down and rebuilt, which causes lots of Stale element exceptions in Selenium. You end up having to write alot of wrappers around calls to work around these issues.
Tags for this Thread