Questions tagged [selenium-rc]

Selenium Remote Control - Answer to UI level functional test Web automation

Selenium Remote Control (RC) overcomes the drawbacks imposed by Selenium IDE, i.e. -

  1. Ability to run tests against multiple browsers and not having them limited to only Firefox
  2. Ability to use a real-world programming language rather than using the Selenese constructs of IDE which have very limited programming capabilities
  3. Ability to integrate tests with a variety of programming frame works like - TestNG and JUnit in java
  4. Ability to integrate test with continuous build integration
  5. Ability to execute test in parallel against multiple browsers

Selenium RC contains two entities -

  1. Selenium Server - which is written in Java. Hence you need Java on your system to be able to use Selenium RC and
  2. Selenium Client Drivers - which provide capabilities to write Selenium tests in a variety of languages i.e. - Java, C#, Python, Ruby, Perl, etc.

Selenium Server reads the client instruction and contacts the application server. On receiving a server response it modifies the response, inserts Selenium JavaScriptcode and serves the page back to the browser. Now tests written using the client driver of Selenium interact with the application and arrive at conclusions about the application state to validate it against a predefined set of expected results.

You can download the latest Selenium Standalone server from here.

For more on Selenium RC, refer here.

Selenium RC has officially been deprecated in favour of the more modern .

1388 questions
0
votes
0 answers

Clicking on a radio button invokes a popup which is not recognized by selenium

I am struck recognizing an popup with a 'OK' button, which is invoked as process of clicking a radio button. I need to click on 'OK' Button in the popup else the screen is freezes and we can't go any further in the test case.
QualityThoughts
  • 79
  • 1
  • 2
  • 9
0
votes
2 answers

How to send email with selenium php

Hi people, I would like to know if somebody knows how to send an email from a test in selenium/php I'm trying to do this :
tomzi
  • 1,215
  • 1
  • 12
  • 23
0
votes
2 answers

Selenium select window does not work if new window is opened from link/button inside the iframe

My Dom structure is like When I cick on this button inside the iframe, selenium opens the modalpopup , but it is not able to move the control…
Shalin
  • 414
  • 4
  • 16
0
votes
1 answer

isTextPresent using text with accents in Selenium RC

I have some tests that I need to maintain for the Selenium RC. They are testing isTextPresent passing some text with accents and this is always resulting false (even when the text is present). The same tests run normally in the Selenium IDE. I have…
Fernando Camargo
  • 3,085
  • 4
  • 30
  • 49
0
votes
1 answer

How to use property file in Selenium Webdriver

//Reading data from property file : String username = prop.getProperty("username"); String password = prop.getProperty("password"); @Test public void testValidCredentials() { obj.loginAs("username","password"); }…
user1511808
  • 65
  • 1
  • 3
  • 7
0
votes
1 answer

to read email password from text file and sigin using selenium rc and java

I have a email.txt file where I am storing all email address and password written in java and by running test through selenium rc. My question is that selenium .clicks sigIn then it should go to the text file email.txt and use one of the email…
spp
  • 11
  • 2
0
votes
1 answer

Selenium RC custom base-url

I've create a .bat file to open multiple Selenium tests (with Selenium RC), using url parameters (computername). The problem is that the command parameter base-url is overwritten by the Test Suite open Command's url. I know the parameter of the…
Francis P
  • 13,377
  • 3
  • 27
  • 51
0
votes
0 answers

Selenium RC: Loading resources hosted on a page requiring basic authentication

Suppose we are on the site http://site1.tld, whose HTML page index.html includes images from another site say http://site2.tld. This other site requires basic authentication to access, and we do have those details. We are using Selenium RC and…
0
votes
1 answer

merging selenium rc and webdriver

I have made most of my automation code using Selenium RC with Python. But, I feel that with the evolution in my product (what I'm testing through selenium RC), my automation needs are changed. I tried Wedriver with python and it works a treat with…
GodMan
  • 2,561
  • 2
  • 24
  • 40
0
votes
1 answer

Why am I not getting an error when I use PHPUnit + Selenium Server?

Why am I not getting an error when I use PHPUnit + Selenium Server to log in with an email and password that doesn't exists? This is the PHPUnit script. public function testUserNotExists() { $this->open('https://dev.example.com/login'); …
yan
  • 480
  • 1
  • 11
  • 21
0
votes
1 answer

Selenium Java Code (TestNG framework) for Bold appearance of text shown on webpage

Can anyone provide me the Selenium Java Code (TestNG framework) for Bold appearance of text shown on a webpage .I am using Selenium RC to execute my testcases ,and i use Eclipse for selenium testscript preparation in java.
Virendra Joshi
  • 469
  • 4
  • 8
  • 25
0
votes
2 answers

Ruby + watir-webdriver Selenium Grid2 exception

Using selenium-server-standalone-2.18.0.jar. Running the hub and node in the same host. Running the the client code on a separate host In the hub console, I am able to see that one of the nodes has connected with 5 firefox icons. When I run my…
0
votes
1 answer

how to test a css property in selenium using java

I want to test that a certain text present on my page is BOLD in appearance. like labels for all mandatory fields are presented in BOLD . I am using java to write my selenium testscripts and execute the tests with selenium RC. The problem is that…
Virendra Joshi
  • 469
  • 4
  • 8
  • 25
0
votes
3 answers

Issue with finding text after clicking a button in RC

Couldn't access document.body. Is this HTML page fully loaded? This is the error I an getting with selenium RC . I am working on testNG framework and I write my test scripts in java in Eclipse.I use Selenium RC to execute my test scripts. This is…
Virendra Joshi
  • 469
  • 4
  • 8
  • 25
0
votes
1 answer

Selenium RC in C# How to Validate Page Source Code

Hello I've been assigned a QA ticket to validate a javascript code snippet on a page. The best way of doing this of course is to view source on page and look for the code. However I have to do this on 20 different locales, and I've been using…
shiva8
  • 2,142
  • 2
  • 19
  • 24