Protractor vs Selenium!!!




Protractor vs Selenium!!!


In this blog, we are going to compare Protractor against Selenium to check out what are the various differences and similarities between both of them, which one to use and when.


So Let’s try to compare this two with the help of below table



Functionality Selenium Protractor
Programing language supported C#, Java, Perl, PHP, Python, and Ruby JavaScript and TypeScript
Browser supported All All
Record & Play Option Yes No
Locator Strategies Support all types of locators for normal web applications. Along with Selenium additional strategy for locator identification.
Testing Framework Supported Junit and TestNG Jasmine, Chai, Mocha, Karma
Application Support Can be used for all type of web-based application Mainly used for Single Page Application (SPA)
Support For Parallel Testing Yes(Support for multiple class file simultaneously) No (Execute Class file sequentially)
Support for Non-Angular Applications Yes Yes
Angular/React Js Application Support Limited Support Built-in Method to handle such applications
Support for Remote Testing Yes Yes
Inbuilt Reports Yes No

In nutshell, If we wanted to Test an angular application and have javascript knowledge available with the team its always preferable to use Protractor.


For Non-Angular Application, Selenium would be an obvious choice.

Keep Learning :)



SHARE THIS

Author:

My Name is Ankur Jain and I am currently working as Automation Test Architect.I am ISTQB Certified Test Manager,Certified UI Path RPA Developer as well as Certified Scrum Master with total 12 years of working experience with lot of big banking clients around the globe.I love to Design Automation Testing Frameworks with Selenium,Appium,Protractor,Cucumber,Rest-Assured, Katalon Studio and currently exploring lot in Dev-OPS as well. I am currently staying in Mumbai, Maharashtra. Please Connect with me through Contact Us page of this website.

Previous Post
Next Post
December 7, 2018 at 7:47 PM

What do you mean by Parallel testing. Testing stories sequencally right ?

Reply
avatar
January 12, 2019 at 7:03 PM

Nice to read your article! I am looking forward to sharing your adventures and experiences. prezzi automatismi per cancelli a battente

Reply
avatar
February 3, 2019 at 1:31 PM

Programing language supported C#, Java, Perl, PHP, Python and Rub JavaScript and TypeScript


Correct this line, becoz selenium means with java only remaining have different names, like protractor, webdriverio, selenium bindings.

Keep up the good work

Reply
avatar