Understanding Selenium IDE vs Selenium RC

What is the difference between Selenium IDE and Selenium RC with its functionality?

+6
source share
7 answers

Selenium IDE is a firefox plugin that gives you a basic recorder for recording tests. These tests are written in the architecture based on the HTML table using keywords, and the IDE allows you to then export the code to other languages ​​(Java, .Net, PHP, Python, Ruby or Perl).

Selenium RC is an API available from several languages. Instead of writing tests, you write programs that are called into the API to control the browser.

You did not ask, but Selenium WebDriver is the equivalent of RC Selenium 2.0. This is an API that is called from any language that you use (I believe that it supports Java, .Net, Ruby, Python and PHP_. It is a different API than the one used in Selenium RC, but there is compatibility built in to create the transition is easier.

Most people believe that having a complete programming language available, like you do with RC / Webdriver, gives them much more power and flexibility. For example, conditional expressions, for example, if thens or loops are much easier to do in a programming language than in the HTML tables that the IDE works with. Selenium 2 has just been released today.

I have not used the IDE after a while, but from what I remember, most of the actual API that Selenium provides is available in both HTML keywords and API functions, but the API is much easier to work and make tests simpler that can be recorded.

More information can be found at http://seleniumhq.org

+23
source

This article has a good explanation.

Selenium core:

In 2004, Jason Huggins tested an internal application at ThoughtWorks. As a smart guy, he realized that it’s better to use his time than manually, having passed the same tests with every change he made. He developed a JavaScript library that is able to interact with the page, allowing it to automatically repeat tests against multiple browsers. He called this program JavaScriptTestRunner. Seeing the potential in this idea to help automate other web applications, he created an open source JavaScriptTestRunner, which was later renamed Selenium Core.

Selenium RC:

Unfortunately, in order to work under the same origin policy, Selenium Core must be located in the same origin as Application In Test (AUTO). So another ThoughtWorks engineer, Paul Hammant, created a server that will act as an HTTP proxy masking AUT by a fictitious URL, embedding Selenium Core and a test suite and passing them as if they came from the same source. This system has become known as Selenium Remote Control (Selenium RC) or Selenium 1.

Selenium WebDriver:

In 2006, a wise Google engineer named Simon Stewart began work on a project he called WebDriver. Google has long been a heavy user of Selenium, but testers had to work on product limitations. Simon wanted the testing tool to speak directly in the browser using the β€œnative” method for the browser and operating system, thereby avoiding the limitations of the Javascript sandbox. All WebDriver implementations that interact with web browsers must use a common wired protocol. This wired protocol defines a RESTful web service using JSON over HTTP.

Selenium IDE:

In order to further increase the speed of creating test cases, Shinya Kasatani from Japan created the Selenium IDE, a Firefox extension that provides an easy-to-use interface for developing automated tests. The Selenium IDE has a recording function that captures user actions as they are executed, and then exports them as reusable scripts in one of the many programming languages ​​that can be executed later. The Selenium IDE was just designed as a rapid prototyping tool. He donated the Selenium IDE to the Selenium project in 2006.

+5
source

Selenium IDE is a complement to firefox. You can record / edit / play test scenarios. But unfortunately, it only supports Firefox.

Selenium RC or the latest web dirver, it provides you an API for writing your own test script. Scripts can also be written for cross-browser testing, for the approval of several languages ​​(Junit, Nunit, TestNG, etc.), and finally, scripts can be transferred to a continuous integration environment

To support scripting, Selenium IDE is very difficult. But Selenium RC / Webdirver for test scripts is easy to maintain or ease of use is very simple

+4
source

1 - Selenium-IDE (integrated development environment) is a tool that you use to develop test cases of Selenium. Its an easy-to-use plugin for Firefox and is usually the most efficient way to develop test cases. It also contains a context menu that allows you to first select a user interface element from the currently displayed browser page, and then select from a list of Selenium commands parameters predefined in accordance with the context of the selected user interface element. This is not only a time saver, but also a great way to learn the syntax of a Selenium script.

2- Selenium RC was Selenium's main project for a long time before the WebDriver / Selenium merger brought Selenium 2, the newest and more powerful tool.

Selenium 1 is still actively supported (mainly in maintenance mode) and provides some features that may not be available in Selenium 2 for some time, including support for several languages ​​(Java, Javascript, Ruby, PHP, Python, Perl, and C #) and support for almost every browser.

Link: http://seleniumhq.org/docs/index.html

+3
source

Selenium-IDE is a tool that you use to develop test cases of Selenium. Its an easy-to-use plugin for Firefox and is usually the most efficient way to develop test cases.

Selenium RC is a Selenium server that will run test scripts from this location. Selenium RC has the ability to use any of the supported server languages ​​for writing test scripts, which opens up a whole set of error handling, scheduling, error notification, and unit testing modules for use in conjunction with the Selenium core. It also supports the ability to run test scripts in different browsers, where the IDE is currently run only for Firefox.

+2
source

Selenium IDE is a firefox plugin that gives you a basic recorder for recording tests. These tests are written in the architecture based on the HTML table using keywords, and the IDE allows you to then export the code to other languages ​​(Java, .Net, PHP, Python, Ruby or Perl).

Selenium RC is an API available from several languages. Instead of writing tests, you write programs that are called into the API to control the browser.

You did not ask, but Selenium WebDriver is the equivalent of RC Selenium 2.0. This is an API that is called from any language that you use (I believe that it supports Java, .Net, Ruby, Python and PHP_. It is a different API than the one used in Selenium RC, but there is compatibility built in to create the transition is easier.

Most people believe that having a complete programming language available, like you do with RC / Webdriver, gives them much more power and flexibility. For example, conditional expressions, for example, if thens or loops are much easier to do in a programming language than in the HTML tables that the IDE works with. Selenium 2 has just been released today.

I have not used the IDE after a while, but from what I remember, most of the actual API that Selenium provides is available in both HTML keywords and API functions, but the API is much easier to work and make tests simpler that can be recorded.

+1
source

Selenium IDE only works in Firefox, where, like selenium RC, supports multiple browsers. selenium RC using a zero session value.

0
source

Source: https://habr.com/ru/post/892199/


All Articles