100% found this document useful (1 vote)
1K views

Selenium Presentation

Selenium is an open source tool used for automating web application testing. It supports testing across different browsers and platforms. The Selenium tool suite includes Selenium IDE for recording and playing back tests, Selenium RC for running tests on a remote server, Selenium WebDriver as the successor to RC, and Selenium Grid for parallel testing on multiple machines. Selenium is useful for functional, acceptance, and browser compatibility testing of web applications.

Uploaded by

Adriana Panaete
Copyright
© Attribution Non-Commercial (BY-NC)
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
100% found this document useful (1 vote)
1K views

Selenium Presentation

Selenium is an open source tool used for automating web application testing. It supports testing across different browsers and platforms. The Selenium tool suite includes Selenium IDE for recording and playing back tests, Selenium RC for running tests on a remote server, Selenium WebDriver as the successor to RC, and Selenium Grid for parallel testing on multiple machines. Selenium is useful for functional, acceptance, and browser compatibility testing of web applications.

Uploaded by

Adriana Panaete
Copyright
© Attribution Non-Commercial (BY-NC)
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
You are on page 1/ 12

Presentation Selenium

Agenda: 1.Test Automation for Web Applications


2. 3. 4. 5. 6. What is Selenium What is Selenium used for? Seleniums tool suite Advantages of Selenium Platforms supported by Selenium

Test Automation for Web applications


Test automation has specific advantages for improving the long-term efficiency of a software teams testing processes. Test automation supports: -Frequent regression testing -Rapid feedback to developers -Virtually unlimited iterations of test case execution -Support for Agile and extreme development methodologies -Disciplined documentation of test cases -Customized defect reporting -Finding defects missed by manual testing

What is Selenium
-Open source test tool for web applications Selenium project gathers a set of tools for writing automated tests of websites: Selenium RC (remote control), Selenium IDE, Selenium Grid and Selenium 2 (on beta) which is the next version of Selenium RC. These tools emerged from a javascript library that was used to drive interactions on a webpage on multiple browsers called Selenium Core. -Run in any mainstream browsers: IE, Mozzila/Firefox, Safari, Chrome -Write tests in many languages: Java, .NET, Perl, Phyton, Ruby Selenese(pure HTML, no Java/backend required) -Has ability to run whole suites of tests or individual test

What is Selenium used for


Selenium primarily used for 3 purposes: -Functional Testing -User acceptance testing -Browser compatibility testing -Selenium is not meant for unit testing -It is used for Functional or System Testing -But not for Performance Testing

Seleniums tool suite.1


Selenium is composed of multiple software tools. Each has a specific role. 1. Selenium IDE
Selenium IDE (Integrated Development Environment) is a prototyping tool for building test scripts. It is a Firefox plugin and provides an easy-to-use interface for developing automated tests. Selenium IDE has a recording feature, which records user actions as they are performed and then exports them as a reusable script in one of many programming languages that can be later executed.

Seleniums tool suite.2


3. Selenium 1 (aka. Selenium RC or Remote
Control)
is a server, written in Java, that accepts commands for the browser via HTTP. -RC makes it possible to write automated tests for a web application in any programming language -To make writing tests easier, Selenium project currently provides client drivers for PHP,Python, Ruby, .NET, Perl and Java. -It injected javascript functions into the browser when the browser was loaded and then used its javascript to drive the AUT within the browser

Seleniums tool suite.3


2. Selenium 2 (aka. Selenium Webdriver) -Selenium WebDriver is the successor to Selenium RC -Selenium WebDriver accepts commands (sent in Selenese, or via a Client API) and sends them to a browser. This is implemented through a browser-specific browser driver, which sends commands to a browser, and retrieves results. -Unlike in Selenium 1, where the Selenium RC server was necessary to run tests, Selenium WebDriver does not need a special server to execute tests. Instead, the WebDriver directly starts a browser instance and controls it. However, Selenium Grid can be used with WebDriver to execute tests on remote systems (see below).

Seleniums tool suite.3


4. Selenium-Grid
-Selenium Grid is a server that allows tests to use web browser instances running on remote machines. -With Selenium Grid, one server acts as the hub. -Tests contact the hub to obtain access to browser instances. The hub has a list of servers that provide access to browser instances (WebDriver nodes), and lets tests use these instances. -Selenium Grid allows to run tests in parallel on multiple machines, and to manage different browser versions and browser configurations centrally (instead of in each individual test).

Advantages of Selenium
- Open source, free software -Supports many browsers and many languages - Very mature and complete API -no dedicated machine required for test execution(user can work in parallel) - You can instantiate several concurrent tests with Selenium.

1.Platforms supported by Selenium


Selenium works with many browsers, operating systems, programming languages and testing frameworks. Programming languages:

2.Platforms supported by Selenium


Operating systems:

Browsers: Firefox 3.6-10,IE7-9,Opera8-9,Chrome

Thanks !

You might also like