Home > Automation Testing > Advantages and disadvantages of protractor

Advantages and disadvantages of protractor

Advantages of Protractor:

  1. Protractor runs on top of the selenium webdriver. Hence all the capabilities of webdriver are supported in protractor.

  2. It has extra locators compared to selenium webdriver those are model,repeater, binding etc.

  3. It has default waits which waits for angular which is not present in selenium webdriver.

  4. Easy to write and manage page objects.

  5. If your application is angular based then it is better to go with protractor.

  6. It supports behavior driven frameworks jasmine, mocha, cucumber etc.

  7. Image comparison is very easy in protractor and it works great.

  8. Running automation script in multiple machine is achieved in easy way in protractor.

Disadvantages of Protractor:

  1. It supports only javascript.

  2. It runs very well in chrome browser. It don’t have much support on other browsers.

  3. Robot class support is not there in Protractor

If you are not looking for above advantages then it is better to go with selenium. Selenium works fine with angular applications as well. Providing xpath should be defined for extra locators of angular application and waits should be defined. Selenium is in the market from long time so it has many user base and helping communities. Selenium has wide support of browsers compared to protractor.

This Article is TAGGED in . BOOKMARK THE permalink.

Avatar photo
Amit Bharamasali
Automation Software Test Engineer. Skills: Manual Testing, Selenium, Java, Protractor, JavaScript, Katalon Studio, Groovy, Appium, Sahi, Sahi Script and UI/UX testing.

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code class="" title="" data-url=""> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong> <pre class="" title="" data-url=""> <span class="" title="" data-url="">