Friday 24 January 2014

Selenium Beginner



Need knowledge of some basic information -
1. HTML
2. XML
3. JavaScript
4. DOM (Document Object Model)
5. Basic Conditional Statement - like core programming with oops concept.
Here  we are learning about selenium with c-sharp.

Selenium :
Selenium is an open source web based automation functional and regression tools. which support 
multiple browser and programming language.

Component available in Selenium :
There are four component available in selenium -
              Selenium Integrated Development Environment  (IDE)
              Selenium Remote Control (RC) Selenium 1.0
              Selenium Webdriver / Selenium 2.0
              Selenium Grid
Prior to IDE, Selenium Core was another tools. It is not used in isolation.

Selenium difference from another functional automation testing tools :
As you see, selenium are different component - where different different limitation and
advantages presents. Its support multiple browser, multiple programming language. After 
test execution, can not find test report. We have to generate test execution report 
by using prefer programming language.  Its open source and no license required for accessing
the tools.

Selenium IDE - its firefox plug-in and record play option for preparing test script.

Selenium RC - its launch the browser and kill the browser after completing test execution. There are two component ; client library and selenium server.

Selenium Webdriver : its upgrade version of selenium RC, better API, and can test mobile apps driver.
Selenium Grid : with the help of these tool, we can test our application with multiple machine and 
multiple operating systems.

These such features are not available in some another automation testing tools. 

Selenium supporting browsers :
As you can see, Selenium supporting multiple browsers but there are some specific browser specified as selenium components - 

Selenium IDE - It is plug-in in Mozila Firefox browser. So only supporting MF browser only. 
                We can not execute our test script directly from Selenium IDE in another browser. 
               But we can execute our test script in another browser with the help of Selenium RC.

Selenium RC -  This Component supporting and can execute test script in multiple browsers ; i.e. 
                         Mozila Firefox, Internet Explorer, Google Chrome, Opera, Safari, Mac.

Selenium Webdriver -  It supports some another browser including selenium RC. 
                                    HtmlUnit,  Andriod for Phone and tablets, iOS for Phone and Tablet.

Supporting Operating System :
Its supporting different different operating system depends upon browser specification - 

Windows - All browsers.

Linux and Unix - Excluding Internet Explorer.

Mac - Excluding Internet Explorer. 

Solaris - All Browser. 

Flexibility and Extensibility : 
Selenium is highly flexible. There are many ways you can add functionality to both Selenium test scripts and Selenium’s framework to customize your test automation. This is perhaps Selenium’s greatest strength when compared with other automation tools. These customizations are described in various places throughout this document. In addition, since Selenium is Open Source, the sourcecode can always be downloaded and modified.


No comments:

Post a Comment