Selenium Tutorial
Selenium Tutorial
Selenium
• Selenium is an open-source tool that is used for test
automation. It is licensed under Apache License 2.0.
• Selenium is a suite of tools that helps in automating
only web applications.
• It has capabilities to operate across different
browsers and operating systems. It is not just a
single tool but a set of tools that helps testers to
automate web-based applications more efficiently.
Tools & Descriptions
Selenium IDE
• Selenium Integrated Development Environment (IDE) is
a Firefox plugin that lets testers to record their actions
as they follow the workflow that they need to test.
Selenium RC
• Selenium Remote Control (RC) was the testing
framework that allowed more than simple browser
actions and linear execution. It makes use of the full
power of programming languages such as Java, C#, PHP,
Python, Ruby and PERL to create more complex tests.
Selenium WebDriver
• Selenium WebDriver is the successor to Selenium
RC which sends commands directly to the
browser and retrieves results.
Selenium Grid
• Selenium Grid is a tool used to run parallel tests
across different machines and different browsers
simultaneously which results in minimized
execution time.
Advantages of Selenium
Selenium QTP
QTP is a commercial tool and there is a cost
Selenium is an open-source tool. involved in each one of the licenses.
Can be extended for various technologies that Limited add-ons and needs add-ons for each one
expose DOM. of the technologies.
Has capabilities to execute scripts across different Can run tests in specific versions of Firefox , IE,
browsers. and Chrome.
Can execute scripts on various operating systems. Works only with Windows.
No feature such as Object Repository/Recovery QTP has built-in object repositories and
Scenario recovery scenarios.
No IDE, so the script development won't be as More intuitive IDE; automation can be
fast as QTP. achieved faster.
No default test report generation. Default test result generation within the tool.