What is the difference between Proctractor and Selenium? [closed] - selenium

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 6 years ago.
Improve this question
I am in the stage to find out what is Selenium. Its website looks very old. Here is a nodejs version of it.
I also found a good in browser testing solution protractor.
Are they designed to do the same thing? Which one should I use? Why Selenium website is so old, out of favor?

All tools you mention above like protractor, nightwatch are all based on selenium. If you are looking for a nodejs based solutions you can either directly use WebDriverJS (popularly known as selenium) or use many other frameworks which are developed on top of it. Every framework below offers unique features, you need to pick what works best for you. The basic advantage of using framworks is that they do most of the heavy lifting for you, that way your code is small and maintainable. UI testing is hard, the smaller the code you have the easier it is to maintain
protractor (good support if your app is angular)
nightwatch
nemo
webdriverio
wd

Related

Karate - Robot for Java Based Desktop application. Unable to identify controls using Inspect.exe [duplicate]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 1 year ago.
Improve this question
For those that have used Karate robot for automating desktop applications in Windows written in Swing I'm curious to know what your experience was like? i.e. were the test runs reliable or flaky?
What was the best spy object tool you used to help identify Swing components and feed that to Karate scripts?
Also I see that https://github.com/intuit/karate/projects/3 MacOS support is in the backlog, is there any update on whether this update will support Swing apps on MacOS?
Appreciate your support, thanks.
Developer of Karate Robot here. Most known users are targeting Windows MFC / C++ / .NET or Delphi so there are no reports of Swing yet, but my guess is that it should work at least on Windows. "inspect.exe" works well to introspect the component tree. And we are looking for contributions for Mac, but there doesn't seem to be much interest - yet.
To summarize, I think your best bet is to contribute code to Karate, and you can make that decision based on your comfort with Java and your evaluation of how good Karate is in its current state and if it will "stay around", mature into a good desktop testing tool etc.

Why Selenium is becoming more popular than QTP? [closed]

Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 8 years ago.
Improve this question
Recent stats from job trends:
There is a steady raise in Selenium stats from 2008, birth of Selenium WebDriver in market.
Suggest your views and ideas on this... So that the future generation will learn from you.
It is also fair to say that Selenium is very light-weight and developer-friendly. You can easily integrate with existing unit testing tools in the same language in use by developers. Tests can be executed quickly and provide immediate feedback. You can even run multiple tests concurrently on the same machine, where QTP only lets you run one test at a time.
Lots of reason. To name a few -
Selenium is an OpenSource Tool [Free].
Selenium has a very active community for support and updates.
Selenium gives you freedom of choosing programming language.
Selenium can be used in any OS environment (If I am not wrong QTP is limited to Windows)
You can use selenium with any IDE of your choice.
Large array of drivers (browsers like IE, FF, etc even Android and all)
Again because it is FOSS. Free and very active community.
Every tool has it's pros and cons; And even Selenium has cons. But, what makes it better than QTP is:
Open source
Highly Extensible (Vast varieties of add-ons)
Supports various operating systems
Can run tests across different browsers

How to start with Selenium Webdriver? [closed]

Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 9 years ago.
Improve this question
I guess Selenium Webdriver would be the good choice but not sure, how I can use it for my day-to-day project work. Without external training, what could be the best way to go step by step and master webdriver?
As Eugene said -
Download Selenium IDE. Play along with it, recording and running test cases.
Go through the official docs.
Export test cases in the language of your choice.
Read a few blogs regarding WebDriver. Try a few code snippets.
Write your own logic for data driven or key driven test cases.
And basically keep learning.
Best of luck!
There is a free udemy course which will show you how to set up and start using WebDriver with junit. You can find it here:
Start Using Selenium WebDriver with Java
This short course is made by Alan Richardson, author of Selenium Simplified. This is an excellent book, but is directed at Selenium-RC. I am currently using the book to learn WebDriver by translating the exercises from Selenium-RC syntax.
In my experience, the best way to push yourself to learn something like automation is to have a project. For example, if you have tests you run quite often at work, consider automating them in your spare time as part of the learning process.

VSTS Loadrunner or something better? [closed]

Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 7 years ago.
Improve this question
I am looking to get a comparison between stress testing tools that are available today. The options put forward to us are either VSTS or Loadrunner.
As of now, the inclination is towards Loadrunner, but we are looking to see if there is any better option today.
Depends on what you're testing. Static HTTP or simple JSP pages, use something free like jmeter. If you're testing ASP.net, silverlight or other MS technology stack apps, then VSTS is your best bet. For almost anything else LR works well, including newer Rich Internet Web 2.0 type pages including AJAX and Flex.
Loadrunner licenses are prohibitively expensive, if you're looking at a one off test, it isn't worth acquiring a license.
For .NET Apps you can rely on VSTS. They help you simulate
Web Services Performance Testing
Coded UI for functional testing
Xpath Testing
patterns & practices: Performance Testing Guidance
http://perftesting.codeplex.com/wikipage?title=How%20To%3A%20Use%20Data%20Binding%20in%20Load%20Tests%20in%20Microsoft%20Visual%20Studio%20Team%20System&ProjectName=perftesting

selenium vs phpunit/lime? [closed]

Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 9 years ago.
Improve this question
I have seen the power of Selenium and that it can give you the tests in different languages.
So the question is, why should I use PHPUnit or Lime (for Symfony) when a solution like Selenium is available?
Isn't it time-consuming to write all the tests by hand, when you can just use Selenium?
phpunit and selenium do not test the same things phpunit test a unit of code selenium is designed for testing integration/functional testing of several modules together.
I think you need both types of tests. phpunit for unit testing and selenium for interface testing. The phpunit manual even explains how to integrate the two.
http://www.phpunit.de/manual/3.6/en/selenium.html
Also this article explains the purpose of both. http://software-testing-zone.blogspot.com/2007/01/unit-testing-versus-functional-tests.html
I understand the desire to use selenium for everything it seems so simple, you can just click and write a test, but it really is a a case of needing both. You may want to pick up a copy of "Expert PHP 5 Tools"
http://www.amazon.com/Expert-PHP-Tools-Dirk-Merkel/dp/1847198384/ref=sr_1_1?ie=UTF8&s=books&qid=1273111115&sr=8-1
It covers the different types of tests and their use quite well.
Well in the case of sf+lime there is some good integration directly in the framework. And lime is so simple that tests take little time to write at all. Personally i prefer phpunit, but when i use symfony i just stick with lime because its the path of least resistance and sppeds things up. There is/was a php unit plugin for sf but ive never used it - i figured why bother. Now for other non-sf projects i use phpunit when needed simply because its no more difficult than hooking up lime.