Found 519 Articles for Selenium

Which is the selenium latest version?

Adiya Dua
Updated on 02-Jul-2020 13:08:36

380 Views

Selenium started with version 1 and now version 3 is the currently the latest released version available in the market. Let’s has a comparative study of the different features of each of the version.Selenium 1 or RC: As name suggest, RC is a Remote Control which works by taking the remote of the browser and then injects the automation code to be tested by injecting the custom scripts written.Selenium 2 or Web driver: The Web Driver (known as Selenium 2) works on the browser directly and uses browsers in-built features to trigger the automation test written by tester. Web driver ... Read More

Is TestNG part of selenium?

Adiya Dua
Updated on 30-Jul-2019 22:30:26

256 Views

Before we answer if TestNG is a part of selenium or not, let’s have a brief understanding of what actually TestNG.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 separately using TestNG. Along with it TestNG provides enables us with the ability to execute the test cases by reading the input file ... Read More

What is JSON wire protocol in selenium?

Adiya Dua
Updated on 30-Jul-2019 22:30:26

3K+ Views

To understand we need to first have a fair idea of what JSON actually is, JSON stands for Java Script Object Notation. Now let's have a look at what a sample JSON input looks like −{    "name": "Tutorials Point",    "topic": "Selenium",    "Address": "India" }JSON today is one of the most widely used and accepted method for communication of heterogeneous system. JSON is used a lot in web services in REST and has been a strong competition to XML.Let’s understand how Web driver uses it when testing the web applications −WebDriver uses JSON as a medium to communicate ... Read More

What is the difference between selenium WebDriver and TestNG?

Adiya Dua
Updated on 30-Jul-2019 22:30:26

2K+ Views

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

264 Views

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

73 Views

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

3K+ Views

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

392 Views

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

2K+ Views

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