How to start with Selenium Webdriver? [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 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.

Related

Java or python which is better to do Automation using Selenium [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 3 years ago.
Improve this question
Java or python which is better to do Automation using Selenium. since I don't have an idea about python, so please suggest me if python is better than Java for automation.
The Answer is not only opinion based but also situation based. Java and Python both have its pros and cons (I will mention a few pros for both the variants) :
Java (pros) :
Plenty of documentation and tutorials available online.
Enables you to integrate a wide range of tools. E.g. TestNG , Maven , Jenkins , Cucumber , etc
Widely accepted by customers.
Python (pros) :
Unmatched where Data Extraction and Data Science is the major aim.
Syntax is not so strict.
Slowly and gradually gaining popularity and market share.

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

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

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.