Thursday 23 March 2017

WebDriver: Introduction to Selenium WebDriver

what is webdriver??
webdriver is a tool for writing automated tests of websites. It will interact with the html of the application.
webdriver is an interface which contains set of abstract methods (unimplemented methods) which implemented by various classes like FirefoxDriver, IEdriver, chrome driver etc.
Browser supported:
·         Firfox
·         chrome
·         IE
·         safari
·         opera
·         invisible mode of execution: html unit driver
Architecture of webdriver:


·         For each and every selenium command written in binding(programming language) , a HTTP request is created and sent(through web driver API)  to the browser driver..
·         the browser driver uses a HTTP server for getting the http requests
·         the HTTP server determines the steps needed for implementing the selenium command they executed on the browser
·         the execution status is sent back to http server in webdriver
·         we no need to start selenium server to execute the test cases

No comments:

Post a Comment