top of page
hand-businesswoman-touching-hand-artificial-intelligence-meaning-technology-connection-go-

SELENIUM OVERVIEW

WHAT IS SELENIUM ?


Selenium is a free and open-source web-based automation testing tool. which is not support standalone and client server application.

Standalone applications example: MS Word, Adobe photoshop, calculator, notepad... this desktop application which is no need to run a software in the backend.

Client-server application example: Navigation, instant mail, chat, media playing, file sharing, games, internet navigation, search... these mobile applications are run from the user's computer which is used to fetch the data.


WHAT ARE THE BROWSERS SELENIUM WILL SUPPORT?


  • Firefox

  • Internet explorer

  • Chrome

  • Opera etc.


WHAT ALL THE OPERATING SYSTEM SELENIUM SUPPORTS?


  • Windows

  • Apple osx

  • Linux...etc.


HOW MANY LANGUAGES SELENIUM SUPPORTS?


Selenium supports 14 languages some are,

  • Java

  • Python

  • c#

  • Java script

  • PHP

  • Pearl

  • R

  • Ruby...etc.


WHAT ARE THE COMPONENTS OF SELENIUM?



WHAT IS SELENIUM IDE?

Selenium IDE (INTEGRATED DEVELOPEMENT ENVIROINMENT )is a browser plug-in designed for recording and playing back tests. Testcase developer uses this tool to develop a testcase, functional tester uses selenium IDE to write test cases.

The selenium IDE is created by JAVA SCRIPT, this only support the Firefox and chrome browsers. This provides an easy-to-use interface for developing and running individual test cases or entire test suites.


Disadvantages of IDEs:


1. It's hard to keep up with constant updates including new samples, templates, and newly added features.

2. IDEs can't automatically fix errors – you still need knowledge to write clean code.

3. Some IDES are complex for beginners to understand.


WHAT IS SELENIUM RC?

Selenium RC (REMOTE CONTROL) is used to write testcases in any programming language, Selenium project that sustained for a long time before Selenium WebDriver (Selenium 2.0) came into existence.

Now Selenium RC is hardly in use, as WebDriver offers more powerful features, however users can continue to develop scripts using RC.


WHAT IS SELENIUM WEBDRIVER?

Selenium WebDriver is a programming interface that can be used to create and execute test cases. It allows you to test across all major programming languages, browsers, and operating systems.


TYPES OF WEBDRIVER:



VARIOUS METHODS OF WEBDRIVER :

The topmost interface in Selenium API which has two methods –

  • findElement()

  • findElements().

Selenium WebDriver interface has many abstract methods like,

  • get(String url)

  • quit()

  • close()

  • getWindowHandle()

  • getWindowHandles()

  • getTitle() etc.


WHAT IS GRID?

It is a part of selenium suit. It provides running multiple tests across the different browsers, operating systems, and machines in parallel. This is done by routing commands to remote web browser, where one server acts as the hub and others are nodes.

HUB: where your run the test. hub passes execution to nodes

NODES: where execution happens.


Why selenium grid?

  1. Multiple tests across different browsers

  2. Parallel testing

  3. Speed and decreases execution time.





25 views0 comments
bottom of page