Selenium is a free (open source) mechanized testing suite for web
applications. It is very like QTP now UFT just that Selenium concentrates on
mechanizing online applications. Testing done utilizing Selenium apparatus is generally
alluded as Selenium Testing.
Selenium is a web
Automation apparatus which can used to perform testing ONLY on Web Applications
not Desktop based applications.
There are others device which can be utilized to mechanize both
web applications and windows applications like QTP (Quick Test Professional). As
each one mindful that QTP is Licensed Tool AND Selenium is Open source device,
download it arranges it and appreciates.
This is the principle motivation behind why a large portion of the
organizations pick Selenium at whatever point they need to mechanize Web
applications
It has the
beneath parts:
Selenium IDE:
This is a firefox module which manages and playback instrument.
Client can make basic contents and fare to selenium RC or Webdriver.
Selenium RC:
Is a device which permits to robotize web application utilizing
any of the programming dialect that backings.
Selenium
Webdriver:
It makes guide calls to the program utilizing every program's
local help for mechanization.
Webdriver was created to better help dynamic website pages like
Ajax where components of a page may change without the page itself being
reloaded.
Selenium
Grid:
Is a server that enables tests to utilize web program occasions
running on remote machines?
There are others instrument which can be utilized to robotize both
web applications and windows applications like QTP (Quick Test Professional).
As each one mindful that QTP is Licensed Tool AND Selenium is Open source
device, download it arranges it and appreciates.
This is the primary motivation behind why the vast majority of the
organizations pick Selenium instrument at whatever point they need to
computerize Web applications
As an apprentice, on the off chance that you need to learn
selenium, it is not that troublesome, you simply begin utilizing Selenium IDE
which is a Firefox module, used to record and play the content. This is only
for training, and you can figure out how the orders that are utilized to run
the content in IDE.
In any case, recollect IDE itself is insufficient for successful
experiment composing/scripting. Since it doesn't bolster circling ideas and you
can't alter it for your requirements.
Now of time, you can begin utilizing Webdriver with the
programming dialect that you are OK with.
We incline toward Java as it is from long time in the business and
there are numerous online discussions which offer help to Webdriver with Java.
How and where
to download selenium?
It is exceptionally easy to download selenium. We have to download
a jug record from Selenium Downloads. In the downloads page, you will discover
the name as Selenium server, where you will have a connection to download the
most recent variant of selenium.
Also, at Selenium Client and Webdriver Language Bindings, You have
to pick the dialect that you will use to compose the selenium contents. The
present rendition of selenium is 2.39.0 (At the season of composing).
Make sure you determine the most current form as there will be a
few improvements and fixes will be included/attached. You can likewise allude
to change log record for reference. The downloaded record name will be
selenium-server-independent.
Requirements
to learn selenium?
Before hopping into selenium, client ought to know about
fundamental java ideas and HTML ideas which will assist the selenium designer
with creating powerful contents.
HTML information: User ought to have learning in rudiments of HTML
labels like content box, content range box, radio catches registration and the
labels for these components and so forth.
Java
information for Selenium:
User needs least learning in the underneath ideas:
·
Static and Non Static Variables
·
Control proclamations
·
Administrators
·
Protests and Classes
·
Return Types
·
Uh oh ideas (Inheritance, Overriding)
·
Strings
·
Constructors
·
Clusters
·
Special case Handling
·
Bundles
On the off chance that the client is truly solid in the above
ideas, he/she can play with selenium with least exertion.
A client without these ideas additionally can begin scripting,
however needs to strive to compose successful test contents utilizing selenium.
Synchronization
in Selenium Webdriver:
It is a system which includes more than one part to work parallel
with Each other.
By and large in Test Automation, we have two parts
1. Application under Test
2. Test Automation Tool.
Both these segments will have their own particular speed. We ought
to compose our contents such that both the parts should move with same and
wanted speed, so we won't experience "Component Not Found" blunders
which will devour time again in investigating.
Synchronization
can be grouped into two classifications:
1. Unconditional
2. Conditional Synchronization
Unconditional:
In this we simply indicate timeout esteem as it were. We will
influence the device to hold up until certain measure of time and after that
continues to further.
Cases: Wait() and Thread.Sleep();
The primary burdens for the above explanations are, there is a
possibility of superfluous holding up time despite the fact that the
application is prepared.
The preferences resemble in a circumstance where we cooperate for
outsider frameworks like interfaces, it is impractical to compose a condition
or check for a condition. Here in these circumstances, we need to make the
application to sit tight for certain measure of time by indicating the timeout
esteem.
Conditional Synchronization:
We determine a condition alongside timeout esteem, with the goal
that instrument sits tight to check for the condition and after that turn out
if nothing happens.
It is essential to set the timeout esteem in restrictive
synchronization, in light of the fact that the instrument ought to continue
assist as opposed to making the device to sit tight for a specific condition to
fulfil.
About Author:
100%
Placement Assistance will be provided @ Infocampus for candidates who joining
for Selenium Courses in Bangalore. Infocampus is one of the best selenium training institutes in Bangalore which provides live projects
with real time examples. Call 9738001024 to get details on demo classes. Visit http://infocampus.co.in/best-selenium-testing-training-center-in-bangalore.html and
make an enquiry to get call back.
No comments:
Post a Comment