Protractor vs Selenium: What are the differences?
Developers describe Protractor as "End-to-end test framework for Angular and AngularJS applications". Protractor is an end-to-end test framework for Angular and AngularJS applications. Protractor runs tests against your application running in a real browser, interacting with it as a user would. On the other hand, Selenium is detailed as "Web Browser Automation". Selenium automates browsers. That's it! What you do with that power is entirely up to you. Primarily, it is for automating web applications for testing purposes, but is certainly not limited to just that. Boring web-based administration tasks can (and should!) also be automated as well.
"Quick tests implementation" is the primary reason why developers consider Protractor over the competitors, whereas "Automates browsers" was stated as the key factor in picking Selenium.
Protractor and Selenium are both open source tools. Selenium with 14.9K GitHub stars and 4.97K forks on GitHub appears to be more popular than Protractor with 8.24K GitHub stars and 2.23K GitHub forks.
MIT, Typeform, and Bukalapak are some of the popular companies that use Selenium, whereas Protractor is used by PeopleKeep, Omaze, and Garlic Tech Ltd. Selenium has a broader approval, being mentioned in 777 company stacks & 443 developers stacks; compared to Protractor, which is listed in 24 company stacks and 22 developer stacks.
What is Protractor?
What is Selenium?
Need advice about which tool to choose?Ask the StackShare community!
Sign up to add, upvote and see more prosMake informed product decisions
What are the cons of using Protractor?
What are the cons of using Selenium?
Sign up to get full access to all the companiesMake informed product decisions
Sign up to get full access to all the tool integrationsMake informed product decisions
With this structure, we're able to combine the automation efforts of each team member into a centralized repository while also providing new relevant metrics to business owners.
I chose WebdriverIO and Appium to implement a E2E tests solution on a native mobile app. WebdriverIO goes well beyond just implementing the Selenium / Appium protocol and allows to run tests in parallel out of the box. Appium has the big advantage of supporting iOS and Android platforms, so the test codebase and tools are exactly the same, which greatly reduces the learning curve and implementation time.
This is a trending topic on Automation testing for E2E web applications.
Now, new guy in town Cypress does not use Selenium and runs directly in your app without any json wire protrocol, but it does not support parallel testing or mobile testing.
Have you experienced both? Should I stick with old and known ?
#testing cypress #selenium qaautomation #qa
가장 강력한 웹 UI / UX 테스트 툴 이지만, 문제도 많다. iframe 안에 있는 건 잘 select 가 안되기도 하고, 화면이 작아 컴포넌트가 화면에 보이지 않으면 또 select 할 수 없다. 하지만 브라우저를 있는 그대로 제어 할 수 있다는 게 가장 큰 매력이다.
ps. selenide 와 같이 쓰면 코드가 많이 개선된다.
Maintaining and expanding automated regression tests is one of my primary responsibilities at CrowdTwist. We use Selenium to test the front-end parts of our platform.
Used Selenium web-driver for automated QA testing in continuous integration and continuous deployment.
- Navigating our site for tests
- Navigating other sites that discriminate against non-human visitors