Introduction to Selenium Part 2

Introduction to Selenium Part 2

Introduction to Selenium Part 1 Link 
4) Selenium Supporting Environments

5) Selenium License

6) Testing Frameworks and Other tools used in Selenium

7) Selenium Environment Setup

8) Advantages of Selenium

9) Disadvantages of selenium
4) Selenium Supporting Environments

a) Operating Environment
    MS Windows



    Apple OX

b) Application Environment
    i) CUI based - Selenium doesn't support.

    ii) Windows based-Selenium doesn't support.

    iii) Web based- Selenium supports.

    iv) Mobile based- Supports Mobile Applications which have Web forms.

c) Programming Environment






Note: Selenium IDE doesn't support any programming language.

d) Browser Environment
    Google Chrome

    Mozilla Firefox



    Opera etc...

Note: Selenium IDE supports Firefox Browser only.
5) Selenium License

All Selenium Projects released under the Apache 2.0 License

> Anybody can download and use all Selenium projects with free of cost.

> Anybody can modify the source code and distribute the source code

** Selling modified code is not allowed.
6) Testing Frameworks and Other tools used in Selenium

Testing Frameworks
    JUnit Framework

    TestNG Framework

Eclipse IDE -

> To create and execute Java programs,

> Add Selenium WebDriver .jar files to Java project and use Webdriver features.

> Install TestNG/JUnit Testing Frameworks

Firebug and Firepath plug ins (Mozilla Firefox) for inspecting elements in Firefox browser.

Note: Google Chrome and IE browsers have built Developer tools (F12) to inspect elements.

Browser Drivers for Cross Browser Testing

For Google Chrome, IE etc... Browsers, download Browser drivers and set driver path in test scripts.
7) Selenium Environment Setup

Choose Selenium Tools
    Selenium WebDriver to create Test cases.

    Java as Programming Language

    TestNG Framework as Test Runner.

    Firebug and Firepath plug in for Mozilla browser to inspect Elements.

    Browser Drivers etc...

Configure Selenium:
> Download Eclipse IDE and extract

> Download Java software and Install.

> Set Environment variable (Path variable).

> Download Selenium WebDriver java language binding ( and add
  WebDriver jar file to Java project in Eclipse IDE.

> Download and install Firebug and Firepath from Mozilla browser to inspect elements.

> Download IE, Chrome etc... Browser drivers.

> Download and install TestNG Testing Framework from Eclipse IDE
8) Advantages of Selenium

    i) It is an Open source Software.

    ii) It supports various Operating environments (Windows, Linux, Mac etc...)

    iii) It supports various browsers (IE, Mozilla Firefox, Chrome, safari, Opera etc...)
    iv) It supports various programming environments (Java, Perl, Python, Ruby and PHP)
    v) It supports parallel Test execution.

    vi) It uses less Hardware resources.
9) Disadvantages of Selenium

    i) It supports Web based Applications only.

    ii) No reliable support from anybody.

    iii) No centralized maintenance of Elements/objects

    iv) Difficult to setup environment.

    v) Difficult to use.

    vi) Limited support for Image based testing.

    vii) New features may not work properly.

    viii) No other tool integration for test management.

    ix) No built in Reporting facility.
10) Selenium Versus UFT

1) Open Source
Vendor tool, License is required.
2) Supports various OS Environments.
MS Windows only.
3) Supports various Programming Environments
VBScript only.
4) No Object Repositories                           
Local and Shared object Repositories.
5) No built-in Reporting feature.              
Built-in reporting feature.
6) Selenium WebDriver has no IDE and Selenium IDE has no Programming Interface.
UFT has both IDE and Programming Interface.
7) Uses less Hardware resources.            
Uses more Hardware resources
8) Difficult to setup environment and use.
Easy to setup and use.
9) Limited support for Image Testing      
Rich support for Image Testing
10) No Reliable support                                                 
Support from HP
11) No other tool integration for Test management.
UFT can be integrated with ALM/QC for Test Management.
12) New features may not work properly.
New features will properly.
13) No Add ins for supporting Application Environments.
Add ins are required for supporting Application environments.
14) Supports Web Applications only                       
Supports Desktop and Web Applications.
15) No Authorized Certification
Authorized Certification program.


Thanks for the open source videos for the open source tool. Can you pls. share the links to download the notes as well. Email address mentioned below.

Amazing videos.

Manish Sharma

Amazing...Could you please share the link to download notes..Thanks a bunch

Class Notes available in the Video Comments Section, You can copy it.

Click Video Link (YouTube) there you can fine the Class Notes.

How to goto Next post ? there is no Next option

Help sir Thank you so much for details but I want c# as programming language in selenium. Plz share it

Hello Sir,

If possible plz provide link to download notes, it will be very helpful and time saving.

Thanks a ton

Class also available in Video's Page Comments Section (I posted the Class Notes as Comment), you can copy from Videos Page.

Thankyou so much!!
I want to choose C# as a programming language, What difference does it make to select the tools for whole setup?
Eclipse IDE is only for Java?

Hello Sir, Your videos on Selenium is really amazing, its fortunate that I was able to locate your videos on web. Thanks much for sharing this useful information.

Thanks for the good sessions but there is no note available for this session in the Youtube comments section and also I am not able to copy from this page. Please suggest

Class Notes available in the Video Page, See the Top Comment.

In the comments you have provided the link to this page from where I am unable to copy

Not this Link/Page, I posted the text in the Video Page.

The class notes are available for Session 1 but not for this session in the Video page

i want to copy the comment box class notes. its not copying sir

Hi Sir,

Your videos are awesome, i am in second video, i dont know java , i learnt python , do you help with the videos of selinium with python. and one more thing i have 3 yrs experience of manual testing , if i put "having knowledge on selinium" means do i get any calls or i need any experience.

Hi sir wanted to learn manual testing and selinium from u pls let me know about the online classes

Hi Sir, I need help in setting up environment in my MacBook to learn and work on Selenium. Request you to kindly share the help. You can reach me on my mobile # +91 9959795921 or sms me with your convenient time sir.

Krishna Prabhakar

Post a Comment