YouTube Transcript:
#1 What is Selenium and its Components
Skip watching entire videos - get the full transcript, search for keywords, and copy with one click.
Share:
Video Transcript
Available languages:
View:
[Music]
hello friends
today we will discuss on the selenium
and in this tutorial i am going to
explain you about the concept of selenium
selenium
and introduction the components of
selenium was created by jason huggins in
2004 and he was working on a web
application that required frequent testing
testing
so testing the same application multiple
times will consume more time
so to reduce this situation
he has come up with an tool called
javascript test runner and later it was
named as selenium core
and this tool reduces manual effort where
where
in the manual place we has replaced with
the automation tool called selenium core
and selenium is a functional automation
tool that can support a web application
all the web application in the market
can be automated by using the selenium
web driver
and it's an open source tool because of
its open source the most of the it
industries are
working with selenium and selenium can support
support
multiple languages this is one more
advantage where it created a big boom in
the market
so selenium supports java python
ruby pearl c chart and more and can also
support multiple browsers like ie google
chrome mozilla firefox safari and opera
support multiple operating systems like
windows linux mac
the components of selenium the selenium
is mainly built on
four components selenium ide integrated
development environment
selenium rc the remote control
selenium webdriver selenium grid [Music]
[Music]
we'll see selenium ide now selenium ide
is a simple
record playback tool which comes and
add-on for
mozilla firefox now it's also supporting
chrome browser
the person with having no knowledge on the
the
coding can handle this tool very
smoothly because it's a
record and playback which i which is an
add-on for
browsers so once we switch on this ide
and perform
action on the web browser that
interactions are stored in the form of
cellness commands
and entire the scenario is recorded
and we can playback later and the test
cases which are written in ide
can be exported into multiple
programming language and this is an
excellent tool for the beginner to start because
because
there is no coding knowledge required
for this tool because all the syntaxes
which are in the ide
rvt was similar to the selenium web driver
driver
and the commands which is which is in
the ide
are known as cellness commands this
illness commands are
pretty much similar to our web driver commands
commands
selenium rce the remote control selenium
rc was the first tool from the selenium suit
suit
earlier it was known as javascript
astronomer and
rc created a big boom for the selenium
during the market because it supports
the multiple programming languages like
java ruby pearl python c-sharp and
whereas ide
which is a record and playback which can supporting
supporting
for the exporting of the recorded script
but rc supports
the languages to write the commands like
java ruby pearl python chart
and it also support multiple browsers
like mozilla firefox google chrome
internet explorer and all
all the supporting applications which
are developed in the
javascript can be automated by using
this application
whereas ide supports for only mozilla firefox
firefox
and this has this is the main advantage
where rc has created a big famous
for selenium and rc is known as a
serenium one
let's see the architecture of selenium rc
rc
so in selenium rc there is a manual
process called selenium server which is
a mandatory to start
before our execution and this remote
control server acts like
a middleman and
this commands are sent to the server and
it is interpret
the commands which we write in the form
of our
java ruby python perl all these
languages are interpreted in the server
and those interpreted commands are converted
converted
and sent back to browsers and where the
browser's response are again interpreted
back to our
respective local language so this is an
so certainly web driver is the most
important role in selenium suite because
we because of many limitations in the rc
web driver was developed
and it has reduced it has overcome the
manual process like
cell name server in the rc we need to
switch on the selenium server
before the execution and in the web
driver there is a direct communication
between the code and the browsers
if you see the features of selenium
webdriver it supports the multiple
languages multiple browsers
and multiple platforms and
easy to remember apis easy to integrate
the testing frameworks
and parallel testing capabilities if you
see the selenium webdriver architecture
so selenium languages are bindings
like java ruby c-sharp python
so any test cases or any code which we write
write
in these languages are directly sent
in the form of json protocol to the
browser drivers
where the browser drivers are the actual the
the
firefox driver chrome driver safari driver
driver
opera driver and edge driver so these
drivers will pick this json protocol
and these will send the http over http
server for the real browsers
where these commands are executed on the
real browsers
and these real browsers will execute
those commands and will send a response back
back
and this responds back to the browser drivers
drivers
where browser drivers will again give
the response to the actual
code so this is an interaction
in a web driver where we have no
manual intervention like rg where we
need to server
to switch on before house execution so
there is a direct interaction between
the selenium
languages to the real browsers
so this is an architecture of the selenium
selenium
webdriver and selenium grid is used
for distributive testing so it allows us
to execute
the test scripts on the different
machines at the same time
and there is a concept called hub and
node so
nodes are different machines on
different operating system
where those are interconnected with the hub
hub
and the selenium grid gives a good
features like parallel execution on the
multiple nodes
it's a platform independent so we can we
can connect
from many different system like ubuntu linux
linux
mac windows and it's also support
multiple operating
browsers like google chrome
firefox ie safari selenium grid is a
language independent where it can
support multiple languages like java c
sharp python etc and the fast execution
reduces execution time as a test case
are executed parallelly
as the selenium grid follows a hubbard
node concept
where hub is a central system and nodes
are in different machines
and where test cases are executed
parallel in different
machines and which can reduce the time
in executing one by one
as a sequence instead of sequence it
executes the test queries
parallely so the time effort has been
reduced and executing different test cases
cases
as test cases are executed parallely
and if you see the architecture of
selenium grid where hub is a central
system where we have a four nodes
connected and each node
are different platforms like ubuntu
windows mac 100
and the hub sends the command to the nodes
nodes
where nodes execute the actual test
cases and the requests and responses are
two and four with this subband nodes and
this is the architecture of
selenium grid and till now we have seen
the introduction to the selenium and the
components of selenium like
ide rc webdriver and grid
and using the selenium we can achieve
the automation
on the web application testing and
thanks for watching and please share
Click on any text or timestamp to jump to that moment in the video
Share:
Most transcripts ready in under 5 seconds
One-Click Copy125+ LanguagesSearch ContentJump to Timestamps
Paste YouTube URL
Enter any YouTube video link to get the full transcript
Transcript Extraction Form
Most transcripts ready in under 5 seconds
Get Our Chrome Extension
Get transcripts instantly without leaving YouTube. Install our Chrome extension for one-click access to any video's transcript directly on the watch page.
Works with YouTube, Coursera, Udemy and more educational platforms
Get Instant Transcripts: Just Edit the Domain in Your Address Bar!
YouTube
←
→
↻
https://www.youtube.com/watch?v=UF8uR6Z6KLc
YoutubeToText
←
→
↻
https://youtubetotext.net/watch?v=UF8uR6Z6KLc