WebDriver:
WebDriver is an interface developed by selenium people which is been
implemented by so many classes like FirefoxDriver, InternetExplorerDriver,
ChromeDriver, AndroidDriver, IPhoneDriver, SafariDriver etc.
At present people are using selenium webdriver for
functional automation because it is so simple and more powerful than older
selenium RC.
For e.g.: In selenium RC we need to start and stop
the selenium server through program but no need to do it in selenium webdriver.
Operational overview of selenium:
while giving the instructions to selenium we need to provide the
information (properties of objects) to identify the object and also what
operation to be performed on that object.
During execution selenium will work in the
following way
It will first identify the object using the
information which is provided by us in the program.
It will perform the action that is described in the
instruction.
Object identification:
In selenium we can make
it identify the object in the web application with the help of properties like
id, name, linkname, class, xpath, tagname etc.
Please Subscribe Video to get updated
No comments:
Post a Comment