Found 466 Questions for Selenium

What is the difference between selenium WebDriver and TestNG?

Adiya Dua
Updated on 30-Jul-2019 22:30:26
WebDriver is a web automation framework which allows us to execute test across various browsers. It also allows us to create the test scripts in any programming language we want. WebDriver makes direct calls to the browser using each browser’s native support for automation.TestNG stands for Test Next Generation. It is an automation testing framework and uses annotations. Annotations are lines of code that control how the method below it will execute. The greatest advantage of TestNG is that we can generate test reports and know the number of scripts passed, failed or skipped. Failed test cases can be run ... Read More

What can selenium WebDriver do?

Adiya Dua
Updated on 30-Jul-2019 22:30:26
Selenium’s Webdriver is an automation testing tool. It can help us automate a task that was otherwise done by people.Anywhere there is a need for a human to repeat an action; we can put selenium to use.Below are the some basic and most common usages of selenium −Automation TestingIt automates web application testing by imitating the user action on a web application using selenium commands. It imitates real actions by handling mouse and keyboard events. WebDriver talks to the OS directly using the OS’s native capability. It uses browser driver for this communicationPerformance TestingBy putting the Selenium Grid to use, ... Read More

Does Selenium RC has separate drivers for each browser?

Adiya Dua
Updated on 30-Jul-2019 22:30:26
Before we answer the above question, let's understand the architecture on which the selenium RC works upon. RC uses a JavaScript Program called the Selenium core which controls the browser. It works by intimating the user action as commanded by the JavaScript commands but that does not enforce user to write automated test cases in the only JavaScript, let’s see how does RC make that happen.The above diagram depicts the brief architecture of the Selenium RC. (Image Courtesy: www.seleniumhq.org )Now as it is evident that the application under test was being executed on a different system, we can say that selenium ... Read More

What is difference between selenium 2 and selenium 3?

Adiya Dua
Updated on 30-Jul-2019 22:30:26
Selenium 2Selenium2 is nothing but integration of WebDriver with Selenium RC(Selenium1). Selenium 1 is a well-established framework that supports various many browsers due to its JavaScript implementation. To step out of JavaScript Sandbox, WebDriver is developed for each browser which provides a headless browser emulator which is very speedy. The strengths of both WebDriver and Selenium 1 are imbibed in Selenium2 which also helps in getting rid of their respective drawbacks.Selenium 3For users of WebDriver API’s, this is a drop-in replacement. The major change being, removing the core and replacing it with the back-end WebDriver. Selenium 3.0 has become a ... Read More

How does Selenium RC work?

Adiya Dua
Updated on 01-Jul-2020 12:11:59
Selenium RC or Remote Control is the initial version of Selenium which is also referred to as Selenium1. RC uses a JavaScript Program called Selenium core which controls the browser. It works by intimating the user action as commanded by the JavaScript commands but that does not enforce user to write automated test cases in the only JavaScript, let’s see how does RC make that happen.The above diagram depicts the brief architecture of the Selenium RC.Selenium RC contains the following components −Selenium Server − It acts as the central processor for your entire application. It receives the script for the ... Read More

How does selenium interact with the Web browser?

Adiya Dua
Updated on 01-Jul-2020 12:13:03
Selenium is an open source framework used for automation of web applications. Apart from this, it can also work on various administrative tasks such as monitoring of websites.There are 4 flavors of Selenium −Selenium-IDE.Selenium-RC.Selenium Grid.Selenium Web Driver.Let’s have a look at the uses of each of them −Selenium IDE − It is the Integrated Development Environment which has easy to use interface used for building and running Selenium Test Cases. It is a prototyping tool for building test scripts in a way that it records the user actions as they are performed. The recorded actions are stored as a script ... Read More
Advertisements