In this quality assurance training, you will learn Selenium- Remote Control (RC). Topics covered in this session are:
• Introduction to Selenium RC
• Installing Selenium RC
• Installing Eclipse
• Configuring Selenium RC
• Selenium RC Scripting
For more information, visit this link: https://www.mindsmapped.com/courses/quality-assurance/software-testing-training-beginners-and-intermediate-level/
3. Page 3Classification: Restricted
• A solution to cross browser testing.
• A server, written in Java and so available on all the platforms.
• Acts as a proxy for web requests from them.
• Client libraries for many popular languages.
• It allows us to write automated web application UI tests with the help of
full power of programming languages such as Java, C#, Perl, Python and
PHP to create more complex tests such as reading and writing files,
querying a database, and emailing test results
Selenium RC
4. Page 4Classification: Restricted
Installing Selenium RC
• Installing Latest Java
http://www.oracle.com/technetwork/java/javase/downloads/index.html
• Download and Configure Eclipse http://www.eclipse.org/downloads/
• Installation Selenium RC http://www.seleniumhq.org/download/
• Selenium RC is simply a jar file and to run it we need java installed.
• Once the Java is installed just unzip the selenium-remote-control-2.44.0.
zip which was downloaded from the selenium site to a directory.
6. Page 6Classification: Restricted
• To configure the workspace, select the location where the development
has to take place.
• The Eclipse window opens as shown below.
7. Page 7Classification: Restricted
• After downloading, we need to start the Selenium Server.
• Open command prompt and navigate to the folder where the
downloaded JAR file is kept as shown below.
Configuring Selenium RC
8. Page 8Classification: Restricted
• To start the server, use the command 'java -jar selenium-server-standalone-
2.41.0.jar
• Note : if java JDK is installed properly, you would get a success message as
shown below.
9. Page 9Classification: Restricted
Selenium RC Scripting
• Start Selenium Remote Control (with the help of command prompt).
• After launching Selenium RC, open Eclipse and create a "New Project" as
shown below.
13. Page 13Classification: Restricted
• Properties for
‘RCDEMO'
opens up.
Navigate to
'Libraries' tab
and select 'Add
External JARs‘
• Choose the
Selenium RC
jar file that we
have
downloaded
and it would
appear as
shown below.