Wednesday, November 7, 2018

Download Selenium Documentation, Selenium WebDriver, Selenium-RC, WebDriver and the Selenium-Server, Selenium-IDE, Selenium Notes, videos, Programs by www.laxmiroy.blogspot.in/


1.       What is Selenium and what is composed of?

·         Selenium IDE (Integrated Development Environment) :  It is a tool for recording and playing back.  It is a firefox plugin

·         WebDriver and RC:  It provide the APIs for a variety of languages like Java, .NET, PHP, etc. With most of the browsers Webdriver and RC works.

·         Grid: With the help of Grid you can distribute tests on multiple machines so that test can be run parallel which helps in cutting down the time required for running in browser test suites



2.      What is Selenium 2.0 ?



Web testing tools Selenium RC and WebDriver are consolidated in single tool in Selenium 2.0

3.      Mention what is Selenium 3.0?

Selenium 3.0 is the latest version of Selenium. It has released 2 beta versions of selenium 3.0 with few of the below changes:

Beta 1 updates
Beta 2 updates (Only for Java)
·         Minimum java version is now 8+
·         System property webdriver.firefox.marionette now forces the server in marionette or legacy firefox driver mode, ignoring any related Desired Capability
·         It will support for Firefox Via Mozilla’s geckodriver
·         Grid fixes NPE’s on registration when -browser not specified
·         Support for Edge is provided by MS
·         It now supports Safari on MacOS via Apple’s own Safari driver
·         Update GeckoDriver –port argument in all bindings

Here are few new features added to Selenium 3.0



4.      How will you find an element using Selenium?

In Selenium every object or control in a web page is referred as an elements, there are different ways to find an element in a web page they are

·         ID

·         Name

·         Tag

·         Attribute

·         CSS

·         Linktext

·         PartialLink Text

·         Xpath etc