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

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

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.

"Record and play" tools or "Code/script based" tools? [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 months ago.
Improve this question
I am new in test automation.
We are going to plan to start test automation for our platforms (iOS, Android and Web).
I should decide between "Record and Play" tools (eg. Ranorex) or "Code/script based" tools (eg. Selenium) with C# programming.
I have already tried both Ranorex and Selenium, but I cannot decide which tools should I choose.
I would be so grateful, if you could help me to choose the right tools.
Recored and play for e.g. SELENIUM IDE .
Disadvantage :
Works in Mozilla only.
No object orientation.
Advantage :
Record and play option.
Does not require server to start testing.
It has UI.
Core engine is Javascript based.
for this Code/script based we have Selenium webdriver.
Advantage :
Support for multi browser.
API's are entirely object oriented.
Interacts natively with browser applications.
Does not require server to start testing.
Disadvantage :
Does not support record and playback and has No UI.
Conclusion :
It depends on your team, budget, software, and there are n number of factors, but My preference has been code, since once you've the code written you can run that code on multiple browser and on multiple platform. so basically you have more coverage with mere changes.
Based on my own experience and the experience of all the professionals I worked with and spoken with it is much better to work with Code/script based tools like Selenium.
The most "problem" in this approach - you will need engineers with good coding skills to perform this job while to make automation with Record and Play tools you can do with less professional staff.
if you go for ranorex you'll get both:
Selenium WebDriver is built into the Ranorex core
Here you can find a list, comparing selenium vs. ranorex

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

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

i am a newbie in automation testing using Selenium. What do I need to run an automation test? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 8 years ago.
Improve this question
I know Selenium IDE should be needed to record/playback a test. What are the other things in selenium i need, to automate test cases. I am not sure about anything other that recording and playing back. How does this selenium actually works. Do i need to code any programs like developing? or only recording the test will be enough? Share you knowledge about Selenium test.
Where can i get best tutorial for Selenium?
Do i need to code any programs like developing? or only recording the
test will be enough?
This largely depends on what you require your tests to do. If you only need to record a very straightforward set of tests, using the Selenium IDE and recording tests will probably be sufficient. If you are trying to make a robust and extensible test suite, with varied input and/or varied test conditions, you will probably need to do some development to fully tap into the power of Selenium.
The best resources that I know of are the official Selenium documentation, which is well-written and even comes with a bunch of pictures to help walk you through starting with Selenium. For more detailed or technical questions, I would refer to the Selenium google group, which is pretty active.
I recommend these high rating Selenium video tutorial (duration : 2.5 hours in 3 parts) :
http://www.youtube.com/watch?v=3BeK5aH2y3Q
http://www.youtube.com/watch?v=jWDGM4eZqVw
http://www.youtube.com/watch?v=7dC7eiDqytc
Although its title is Selenium + JUnit, but actually it is all about Selenium IDE

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.