Use of Selenium for AngularJS based Web Applications

前端 未结 2 828
悲哀的现实
悲哀的现实 2021-02-09 23:17

I have come to know that Selenium is the father of UI testing.

Now my question is why then Angular team has developed Protractor. Can\'t the same job (that Protractor d

2条回答
  •  渐次进展
    2021-02-10 00:23

    Protractor combines powerful tools and technologies such as NodeJS, Selenium, webDriver, Jasmine, Cucumber and Mocha. Has a bunch of customizations from Selenium to easily create tests for AngularJS applications. Speeds up your testing as it avoids the need for a lot of “sleeps” and “waits” in your tests, as it optimizes sleep and wait times. Allows tests to be organized based on Jasmine, thus allowing you to write both unit and functional tests on Jasmine. It runs on real browsers and headless browsers...

    You can find all these information here => http://www.thoughtworks.com/insights/blog/testing-angularjs-apps-protractor.

提交回复
热议问题