Sunteți pe pagina 1din 13

Introduction to

SpringPeople Software Private Limited, All Rights Reserved.

What is Selenium?
Selenium is a web application testing framework that
allows you to write tests in many programming
languages like Java, C#, Groovy, Perl, PHP, Python
and Ruby.
Selenium deploys on Windows, Linux, and MAC OS.
It is an open-source project, released under
the Apache 2.0 license, so you can download and use
it without charge.
SpringPeople Software Private Limited, All Rights Reserved.

Components of Selenium

SpringPeople Software Private Limited, All Rights Reserved.

Terminologies In Selenium
Selenium Core (aka Core) is a set of JavaScript
scripts that control the browser, imitating user
activity. These scripts are injected into the
web page and executed according to a list of
actions written in a special HTML-table-based
command language (aka Selense), thus
simulating user activity.

SpringPeople Software Private Limited, All Rights Reserved.

Terminologies In Selenium
Selenium RC (aka Selenium Remote
Control or Selenium 1) receives Selenium Core
commands via HTTP and executes them on a
remote machine, proxying the web browser in
order to avoid the same host origin
restriction. This also allows writing the tests in
other languages like C#, Python, Perl,
PHP, Java and Ruby (via language bindings for
Selenium Core).
SpringPeople Software Private Limited, All Rights Reserved.

Terminologies In Selenium

Selenium-WebDriver (aka WebDriver or Selenium 2) is a successor of Selenium


RC. It does the same job, but in a different way: instead of injecting a JavaScript
code into the browser to simulate user actions, it uses the browsers native
support for automation (different for each browser). Also, instead of a dictionarybased API (used in Selenium RC), it offers the more convenient object-oriented
API.
Selenium Server allows using Selenium-WebDriver on a remote machine.
Selenium IDE is a Firefox add-on that records user activity and creates a test case
based on it. It can also play the tests back and save them as a program in different
languages.
Selenium-Grid allows you run the tests on different machines against different
browsers in parallel; in other words it enables distributed test execution.
Selenese is a special language represented by a set of Selenium commands that
run your tests. A sequence of these commands is called a test script.

SpringPeople Software Private Limited, All Rights Reserved.

Selenium IDE
Selenium IDE is software testing tool for web applications. It
provides record and playback facility to regression test any
web application. To use selenium IDE, It is not compulsory to
have any programming language knowledge.
Selenium IDE is open source web application testing tool.
Selenium IDE provides facility to export recorded script in
many languages like HTML, Java, Ruby, RSpec, Python, C#,
JUnit and TestNG. You can use these exported script in
Selenium RC or webdriver.

SpringPeople Software Private Limited, All Rights Reserved.

SpringPeople Software Private Limited, All Rights Reserved.

Pros and Cons of using Selenium


WebDriver for Website Scraping

Advantages
WebDriver can simulate a real user working with a
browser.
WebDriver can scrape a web site using a specific
browser.
WebDriver can scrape complicated web pages with
dynamic content.
WebDriver is able to take screenshots of the
webpage

SpringPeople Software Private Limited, All Rights Reserved.

Pros and Cons of using Selenium


WebDriver for Website Scraping

Disadvantages
The program becomes quite large.
A browser application needs to be started.
The scraping process is slower.
The browser generates a bigger network traffic.
The scraping can be detected by such simple means
as Google Analytics.

SpringPeople Software Private Limited, All Rights Reserved.

How you can master Selenium


Webdriver?
Become an expert in 3 days.
World class Selenium Webdriver training by the
industry experts.

More Details

SpringPeople Software Private Limited, All Rights Reserved.

Suggested Audience & Other Details


Suggested Audience - The course is intended for beginners or
intermediate testers, leads who need to develop or improve
automation techniques using Selenium.
Duration 3 Days
Prerequisites
Must have knowledge of Core Java
Good to have knowledge of HTML, CSS, DOM, XML, JavaScript

Syllabus

SpringPeople Software Private Limited, All Rights Reserved.

For further info/assistance contact


training@springpeople.com
+91 80 656 79700
www.springpeople.com

Our Partners

SpringPeople Software Private Limited, All Rights Reserved.

S-ar putea să vă placă și