0% found this document useful (0 votes)
17 views18 pages

Selenium_SalmaYahyaoui_AsmaSmida

Uploaded by

HAMZA BEN AMMAR
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
17 views18 pages

Selenium_SalmaYahyaoui_AsmaSmida

Uploaded by

HAMZA BEN AMMAR
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 18

SELENIUM

Presentated by

Asma Smida
Salma Yahyaoui

GL5
01 Introduction to Selenium

02 Components of Selenium

Content
03 Choosing the right component

04 Pros and Cons of Selenium

05 Comparaison between Selenium and similar tools


What is Selenium?
An open-source, automated testing tool used to test only web
applications across various browsers.

The test scripts can be created in various programming


languages(java , python, c# ...)
Selenium Suite of Tools
Selenium has a dedicated suite that
facilitates easy testing of web applications
Selenium Integrated Development Environment
(IDE)

Browser extension for Firefox or Chrome


Records user interactions on the browser and exports them as a
reusable script in various programming languages.
Ideal for quick test script development and prototyping.
Suited for users with limited programming knowledge.
Selenium Remote Control (RC)
A server written in Java that makes provision for writing application tests
in various programming languages like Java, C#, Perl, PHP, Python, etc.
The RC server accepts commands from the user program and passes
them to the browser as Selenium-Core JavaScript commands.
Selenium WebDriver

A powerful automation framework within the Selenium suite.


Interacts natively with browser applications.
Supports various programming languages like Python, Ruby, PHP, and Perl, etc
Can be integrated with frameworks like TestNG and JUnit for test management.
Selenium Grid

Selenium Grid allows the parallel execution of tests on different


browsers and different os.
Grid is exceptionally flexible and integrates with other suite components
for simultaneous execution.

The Grid consists of a hub connected to several nodes. It receives the test to be executed along with
information about the os and browser to be run on and picks a node that conforms to the requirements
(browser and platform), passing the test to that node. The node now runs the browser and executes the
selenium commands within it.
How to choose the
right tool for your test
scenario?
Selenium IDE

During initial script development or quick tests.


Quick prototyping and exploratory testing.
Useful for testers less familiar with programming.
Selenium Grid

When running tests in parallel across different browsers


or environments.
For optimizing test execution time in large test suites.
Selenium WebDriver

For writing comprehensive automation scripts.


In scenarios where precise control over browser
interactions is needed.
Advantages of Selenium
Testing

Accurate with results thus making it extremely reliable


Open-source
Supports many programming languages like Python, PHP, Perl, and Ruby
Supports various browsers like Chrome, Firefox, and Opera, among others
Easy to implement and doesn’t require the engineer to have in-depth
knowledge of the tool
Limitations of Selenium Testing

cannot test mobile or desktop applications


offers limited support for image testing
has limited support for test management. Selenium is often integrated with
tools like JUnit and TestNG for this purpose
Example of Selenium in CI CD
pipeline
COMPARISON TABLE

Feature Selenium Puppeteer Cypress WebdriverIO

Primary Use Web Automation Browser Automation Web App Testing Web Automation

Mobile Support Yes (via Appium) No No Yes

Video Capture No No Yes Yes

Cross-Browser Yes No Yes Yes

Execution Speed Moderate to Fast Fast Fast Moderate to Fast


THANKS FOR WATCHING

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy