100 likes | 138 Views
Selenium is the leading tool in the world of IT. The course focuses on Understanding the Selenium Architecture and the components, the Selenium Web driver, automating the windows applications with the aid of Auto IT and performing the distributed testing using the Selenium grid.
E N D
Selenium WebDriver • Selenium WebDriver is the most important component of the Selenium Tool Suite. The latest version "Selenium 2.0" is integrated with the WebDriver API, which provides a simpler and more concise programming interface. The following image will give you a fair understanding of Selenium components and test automation tools.
Selenium WebDriver - Architecture • Selenium WebDriver API provides a language communication function and browsers.
Selenium WebDriver - Architecture Four basic components of WebDriver architecture: • Selenium Language Bindings • JSON Wire protocol • Browser drivers • Real browser
Selenium WebDriver - Architecture Selenium Language Bindings / Selenium Client Libraries Software developers have created Selenium Client Libraries/language links to support multiple languages. For example, if you want to use the Java browser driver, use the Java JSON Protocol links. JSON Wire Protocol JSON (JavaScript Object Notation) is an open standard for web data exchange. It supports data structures such as object and matrix. Therefore, it is easy to write and read JSON data. The JSON Wire protocol provides a transport mechanism for transferring data between a server and a client. The JSON Wire protocol serves as an industry standard for many REST web services.
Selenium WebDriver - Architecture Browser Drivers Browser Controllers Selenium uses browser-specific drivers to establish a secure browser connection without revealing the internal logic of browser functionality. The browser driver is also specific to the language used for automation, such as Java, C #, etc. When we run a test script using WebDriver, the following operations are performed internally: • The HTTP request is generated and sent to the browser controller for each Selenium command. • The controller receives the HTTP request through the HTTP server. • The HTTP server decides. all steps to execute instructions that are executed in the browser. • The execution status is sent back to the HTTP server, which is then sent back to the automation script.
Selenium WebDriver - Architecture Browsers • Selenium WebDriver-compatible browsers: • Internet Explorer • Mozilla Firefox • Google Chrome • Safari Selenium Training in Chennai | Selenium Training in Bangalore | Selenium Online Training | Selenium Course Certification