Selenium - brief




Selenium is an umbrella project (Open-Source) for a range of tools and libraries that enable and support the automation of web browsers.

Selenium Modules:

  • Selenium - IDE

  • Selenium - RC

  • Selenium - Webdriver

  • Selenium - Grid

  • Appium* 

Selenium IDE

The first project in selenium (2004), at first, was only a firefox plugin for record tests.

Records in 2004 were trash... if we would record 500 tests and something in my core application was a change, you should record from the beginning...


Selenium RC (the second project, 2006) called Selenium 1

  • Now we could code our tests (with several languages)

  • support with several browsers

How ?

They create Selenium RC Server (RC = Remote Control), the server translates the code from all those languages to the only language that the browsers know… JavaScript...


Const:

The biggest const was performance.. a normal test for example 30 steps, could take 20 min !





 Selenium Webdriver (2009) called Selenium 2

Now to every browser will be his driver to connect the specific browser

  • Chrome driver

  • Firefox driver

  • Geko driver


Selenium Webdriver works with mainly two interfaces:

  • Webdriver

    • Interacts with elements on the browser

  • WebElement

    • Interact with element on the web page using DOM

 



Selenium Grid

Not come to replace webdriver... Grid comes to expand...

Webdriver can deal with all the things in the browser... but what happened outside the browser ? for that uses comes to Grid.

Grid allows you to:

  • Scale distributing tests on several machines, parallel execution.

  • Manage multiple environments from a central point, making it easy to run the tests against a vast combination of browsers / OS.







Appium

Appium its enhancement of selenium, but not part of the selenium project.

  • Created for Native applications like Android / iOS.

  • Extends the Webdriver protocol with Mobile-Specific behaviors.

  • Requires Server installation






Comments

Popular posts from this blog

Selenium - locators

Selenium Webdriver Manager

אבטחת מידע

Page Object Model, what is it ?

תבניות עיצוב - מפעל

Security Informtion