Selenium Tutorial For Beginners 1|Introduction to Selenium|What is Selenium?|

preview_player
Показать описание
Introduction to Selenium Suite of Tools or Selenium Components, What is Selenium?, Selenium Supported Operating Systems, Selenium Supported Web Browsers, and Selenium Supported Programming Languages. Selenium Version History, Selenium Components like Selenium IDE, Selenium RC, Selenium WebDriver, and Selenium Grid.
Writing Selenium WebDriver Test Cases using Element Locators, and WebDriver API Commands.
Рекомендации по теме
Комментарии
Автор

Class Notes:
Selenium 1: Introduction to Selenium

i) What is Selenium?
ii) History of the Selenium Project
iii) Selenium Components / Selenium's Tools suite
a) Selenium IDE
b) Selenium RC
c) Selenium WebDriver
d) Selenium Grid
iv) Platforms supported by Selenium
v) Selenium License
vi) Advantages of Selenium
vii) Disadvantages of Selenium
viii) Testing Frameworks and other tools used in Selenium
ix) Selenium vs. UFT/QTP
x) Selenium Environment Setup

i) What is Selenium?

> Selenium is mainly used for Functional & Regression Testing.

(We have different types of Test Automation or Automated Testing, ex: Functional Test Automation, Performance Test Automation, and Test Management etc..., Our Selenium is used for Functional Test Automation and Other Test Tools in this category are UFT / QTP, RFT, SilkTest, Test Complete, Test Partner etc...)

> Selenium is an Open Source Software to automate Web Browsers.

(Open Source means, Source code available on Internet and anybody can download & use with free of cost. Selenium can automate Web based Applications only, it doesn't automate Desktop or Windows based Applications, whereas UFT (other tool in this category) can automate desktop and Web Applications.)

> Selenium supports various Operating Environments.

(Suppose our AUT (Application Under Test installed on Windows then we use Selenium for Functional Test Automation, Our Software Application installed on Linux operating environment then we can use Selenium, Our Software Application deployed on Macintosh then we can use Selenium for Automation. UFT formerly QTP supports Windows operating environment only.)

MS Windows,
Linux,
Macintosh etc...

> Selenium supports various Browsers to create and execute Tests/Test Cases/Test Scripts

We can use various browsers to launch our Web Application, and Selenium supports various browsers for Test Automation, Test Steps in Test Cases are common for all browsers, and browser driver only various from one browser to another.)

Mozilla Firefox
Google Chrome
Internet Explorer /MS Edge
Opera
Safari etc...

> Selenium supports various programming languages to write programs (Test Scripts)

(Selenium supports various Programming environment to write Test scripts (programs) but you can use any one of those programming languages, and most of the Selenium Testers using Java for selenium. UFT/QTP supports only VBScript for writing Tests/Test Scripts)

Java,
Python
C#.Net
Perl
Ruby
PHP

Note:
i) Selenium IDE doesn't support any programming to write Test cases.
ii) Selenium IDE supports Firefox Browser only to create Test Cases.
iii) Selenium Grid is only for Test execution.
iv) Selenium RC is out dated, and removed from the Selenium latest version.

ii) History of the Selenium Project

> Selenium was launched in 2004,
> In 2006, Selenium WebDriver was launched at Google,
> In 2008, the whole Selenium Team decided to merge Selenium WebDriver with Selenium RC in order to form a powerful tool called selenium 2.0

Selenium 1.0
(Selenium IDE + Selenium RC + Selenium Grid)

Selenium 1.0 + Selenium WebDriver = Selenium 2.0

Selenium 2.0
(Selenium IDE + Selenium RC + Selenium WebDriver + Selenium Grid)

* Selenium 3.0 (October 2016)

(Less feature enhancements and more new product environments in Selenium 3.0, in Selenium 2.0 default browser is Mozilla Firefox, but no default browser in Selenium 3.0. Selenium IDE doesn't support Mozilla Firefox browser only, and Selenium WebDriver supports various browsers to create and execute test cases.)

iii) Selenium Components / Selenium's Tools Suite

(Selenium RC was removed from Selenium 3.0 (latest version of Selenium)
Selenium IDE
Selenium WebDriver
Selenium Grid

a) Selenium IDE (Integrated Development Environment)

Selenium IDE Features:
> It is a Firefox browser plug-in and Prototype type tool.
> It is used to create and execute test cases using Mozilla Firefox browser
(* Record Test Steps / Type Test Steps using Element locators and Selenese commands/Selenium IDE Commands)
> User can edit Test Steps in Test Case (Add/Update/Delete)
> Using Selenium IDE we can create Test Cases and form Test Bathes /suites/set...
> We can export Selenium IDE Test Cases to other supported formats (Java/Ruby...)
Note: Selenium IDE Test Case default format / Native format is .html
> User can debug Test Cases, and insert comments in Test Cases.

Selenium IDE Disadvantages:
> It supports Mozilla Firefox browser only to execute / run Test Cases
> It doesn't support Programming to enhance Test Cases, so it not suitable for complex Test case design.
> It doesn't support Parameterization/Data driven Testing
> No centralized maintenance of Elements / Objects
> It doesn't generate detailed Test Reports but generates Test summary only.

Note: The bad news: from Firefox 55 onwards, Selenium IDE will no longer work.

c) Selenium WebDriver

Features:
> Selenium WebDriver is a powerful tool in this suite of Tools (Selenium)
> Selenium WebDriver doesn't have IDE, but having programming Interface only.

Selenium IDE - has IDE but no Programming Interface
Selenium WebDriver - has Programming Interface but no IDE
UFT/QTP - has IDE as well as Programming Interface

> Selenium WebDriver having Programming Interface only but no IDE,
> Selenium WebDriver is a powerful tool in the Selenium suite

Selenium IDE- It has IDE only but no programming Interface
Selenium WebDriver- It has Programming Interface only, but no IDE
UFT/QTP - It has both IDE as well as Programming Interface

> Selenium WebDriver is used to create and execute / run Test cases,
> We / Testers/Users use Element Locators and WebDriver API Commands / Methods to create Test Cases,

> Selenium WebDriver supports various Browsers, Operating environments, and programming languages to create Test Scripts / Test Cases /Programs

Google Chrome, Mozilla Firefox, MS IE / Edge, safari, Opera etc...
MS Windows, Linux, Macintosh etc...
Java, Python, C#, Perl, PHP, and Ruby

Drawbacks of Selenium WebDriver:
> Selenium WebDriver has no IDE, so takes more time and efforts to create Test Cases,
> No built Result Report facility
> No other tool Integration for Test Management
> Difficult to configure selenium WebDriver when it compares to other tools

d) Selenium Grid

Selenium Grid is not for Test Case Design, only for Test Execution,

* Selenium Grid doesn't support Selenium IDE Test Case execution,
Selenium Grid (in Selenium 1.0) supports Selenium RC Test Cases execution only,
Selenium Grid (in Selenium 2.0) supports Selenium RC, and Selenium WebDriver Test Cases execution,
Selenium Grid (in Selenium 3.0) supports Selenium WebDriver Test Cases execution only,

Selenium Grid supports Parallel Testing (It can execute test cases against different browsers and machines/computers in Parallel,

100 Test Cases - 4 hours

gcreddy
Автор

Sir your hard work is really appreciated. Ki dly reply me. Sir am currently not working am a house wife. I quit gob in 2014. I would like to step bk sir. As thr is a long caree gap I don't get opportunities. I learned testing I hv been following ur tutorials 2018 and 19.
Pls advice sir.

PriyaSPJf
Автор

Hi Sir, Good evening,
Am from a commerce background and from 2010, am working for an IT company as Manual Functional tester. Can i learn selenium, since i dont have any technical background. please advise

MyVenky
Автор

Hi sir, Do you continuously upload selenium tutorial from this video.Shall I learn from this?

KnowledgeBoxindia
Автор

hi sir iam planning to learn selenium on personal training(one to one ) can you plz let me know is it possible

bharathialladi
Автор

sir i want to learn selenium
is this tutorial enough to learn each and every concept of selenium?

MomentswithAlok
Автор

I want to join the your sessions for selenium
What I need to do?
Are you going to conduct the daily session?

sagarpatra
Автор

For Selenium we need to learn Java
Please Respond to my Text please?
Please

naniravinaniravi
Автор

Sir, can u plz provide the notes that you have shown in the video?

konapalaavinash
welcome to shbcf.ru