Important Basic Concepts of Selenium should be know
Important
Basic Concepts of Selenium should be know
What is Selenium ?
For automate your web based applications, Selenium is used which is an robotics challenging tool. Selenium is
completely open source free automation testing tool for web based applications.
It is easy to use, strong and is very flexible. It can't be used
for Desktop based application automation. Selenium is very much easier to use,
strong process and it’s very flexible for learning and handling.
You can work on many operating systems using selenium and you can code
in any one of the following languages when using selenium.
Selenium can be used in all OS and also it can be coded in any of the
computer programming languages.
Languages supported by Selenium
- Java ---is most famous one
- C#
- Ruby
- Pyton
- PHP
- Pearl
Selenium also works on Multiple OS-Windows, Mac, Linux/Unix, and also
many operating systems.
It is not mandatory that our application code is to be in C# then you
have to write selenium code C#.
It is independent of application to be test.
For example: if I make my website in java then I can write selenium code
in PHP as well.
Components of Selenium
Selenium is made up of four components:
- Selenium IDE: Can be Installed
as an add-ons in Mozilla. It only works in Mozilla. Its got a strong feature of
record and run. You can also outspread IDE functionality with the help of handler
extensions. Test cases can be parameterized by using IDE. Selenium
IDE Regular extensions, if statements,
loops and also many other features.
For handling and using IDE, there is no prerequisites required or any
programming language must be knows. Just the basic concepts of Javascript is
enough if you gonna use IDE as extensions.
Major drawback is it works on Firefox only and sometimes it is difficult
to handle.
- Selenium RC: It
works on the multiple browsers and this is an older version of Selenium.. RC
can be used in any of the programming languages but it has some limitations.
Hence WebDriver was launched.
- Webdriver: Webdriver
is the Latest version of selenium. Can be used on multiple browsers. It has
updated by avoiding and removing many drawbacks and issues in Selenium
RC. It Can be integrated in Android and
Iphone Testing. WebDriver Architecture is totally different than RC architecture.
- Grid: Grid can be used to run test cases in
multiple browsers and machines is parallel. For example, if you have 200 test
cases and you need to run all test cases in parallel on four different systems(50
on each) or you need to run test cases in parallel(50 on Mozilla, 50 Safari, 50
on chrome, 50 IE) on single system, you can do all this methods in Grid.
Certain Features which make it a
strong tool to use are:
- Freeware, Open-source.
- can be used on multiple browsers and multiple operating systems than
other tools in market.
- Selenium code can be run in parallel on multiple machines using
different browsers.
- Support for Android and Iphone Testing.
-
Selenium IDE is a simple tool which comes as
an add-ons in Firefox and is easy to use. It has the record and run feature
which is very strong.
- The functionality/scope of IDE can be extended with the help of many
plugins available.
- Selenium IDE plugins can be created by self.
- Selenium RC is the older version of selenium and is supporting all the
languages mentioned above
- Webdriver is the latest version of selenium and is very strong. It has
removed lots of drawbacks in RC and launched with more features in selenium.
- Object oriented data driven or
hybrid testing framework can be made very easily.
- selenium test cases can be written in open source frameworks such as
junit, testing, nunit in them
Note:
We want to
know more about selenium, Besant technologies providing the selenium courses in
Chennai. Go throw it: https://www.besanttechnologies.com/training-courses/software-testing-training/selenium-training-institute-in-chennai



Comments
Post a Comment