Selenium Remote Control


Selenium Remote Control (RC) is a test tool that allows you to record automated UI tests of the web application in any programming language on any HTTP website using any browser compatible with conventional JavaScript. Selenium RC does not call browsers directly, instead, it uses Selenium Server to communicate with test browsers on the same machine or on a different machine.


Two Parts

  1. A server that starts automatically and kills browsers and acts as an HTTP proxy for web requests from them.
  2. Selenium Remote Control is optimal for testing complex Web user interfaces based on AJAX under a continuous integration system.

Steps to configure the Selenium RC (JAVA) using Eclipse to automate the flash application:

  • Start Eclipse exe, go to File >> Alternate Workplace >> Other, then the user you will see the following screen, type the location of your desktop and click OK.
  • Go to File >> New >> Java Project you will see the following screen appears
  • Provide the name of your project, select JDK in the option "Use a specific JRE project "(JRE6 selected in this example)> click Next and Finish
  • Keep the JAVA configuration intact s in the next window. Project-specific libraries can be added here, this will create a demonstration of the project in the Package Explorer / Navigator panel.
  • Right-click on the src folder and click on New> Folder, name this folder with and end
  • Create a folder named lib within the FlashTest project. Right-click on FlashTest> New> Folder. This is a space reserved for jar files to project (ie, Selenium client driver, selenium server, etc.).
  • This would create the lib folder in the project directory.
  • Right-click on the lib folder> Path Construction> Configure Construction Path.
  • On the Library tab, click on Add External Jars to navigate to the directory where the jar files are saved
  • Select the jar files to be added and click on the Open button.
  • Click on the Add external jars button and add the files "selenium-java-client-driver.jar", "junit.jar" and "flashselenium- java-client.
  • Right-click on the com.thoughtworks.selenium.samples folder, click on New >> ClassI hope the above details are useful in configuring the Selenium test for the flash application.

Selenium Remote Control Works

The Selenium RC works in the same way for each supported browser, injecting the JavaScript functions in the browser using the Selenium Server when the browser is loaded and also drives the application in test in the browser using the Selenium Server (Selenium Server uses the Java Script to run the test application in the browser).

Click Here --Selenium IDE  

It is also an ideal solution for Selenium IDE users who want to write tests in a more expressive programming language than the HTML Selenese table format.

Selenium RC or Remote Control allows you to rotate the HTML test suites in a variety of different browsers such as IE, Mozilla, Chrome, Opera and Safari with the use of a server.

It also supports several languages such as Java, Ruby, C #, Perl, Python, etc. It is independent of the platform, so the same code will work in the Windows operating system, Linux, Mac and Solaris.

The Selenium RC server supports only the Selenium 1.Contras APIs: The Selenium RC requires that you manually start / stop the server to run the test scripts. The Selenium RC code looks different from the Selenium WebDriver code (the Selenium RC uses different commands to perform operations compared to the Selenium Web Driver).

The RC server groups the Selenium Core and injects it automatically into the browser. ... The server receives Selenese commands from its test program using simple HTTP GET / POST requests. This means that you can use any programming language that can send HTTP requests to automate Selenium tests in the browser.

Functional automation for flash-based applications is not as straightforward as the traditional web application. Appropriate APIs and jaws must be addressed to and also the code needs to be updated accordingly.

To getting expert-level training for Java Training in your location – Selenium Training in Chennai | Selenium Course in Bangalore | Selenium Training institute in Bangalore


Comments

  1. I was just browsing through the internet looking for some information and came across your blog. I am impressed by the information that you have on this blog. It shows how well you understand this subject. Bookmarked this page, will come back for more.

    Data Science Training

    ReplyDelete

Post a Comment

Popular posts from this blog

Selenium Tool Suite

Selenium with python

Acquire knowledge of selenium