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
8
votes
1 answer

Facebook connect automated testing, recommedations?

Since so many sites use Facebook login/connect for authentication, does Facebook or others have a standard recommendation on how to automate clicking Facebook button to bring up popup, then switch to popup and login and go back to main window and…
David
  • 3,223
  • 3
  • 29
  • 41
7
votes
4 answers

Selenium Grid2 - Remote Node not connecting to HUB

My current setup is I have a selenium RC running as a hub on a windows machine(lets assume machine name is machine.name.com). I have used the following command to start it java -jar selenium-server2.15.jar -role hub -port 5555 I have a selenium…
Amey
  • 8,470
  • 9
  • 44
  • 63
7
votes
4 answers

How to send an http RequestHeader using Selenium 2?

I needed to send an Http request with a few modified headers. After several hours trying to find an equivalent method to that of Selenium RC Selenium.addCustomRequestHeader for Selenium 2, I gave up and used JavaScript for my purposes. I have…
Alberto
  • 5,021
  • 4
  • 46
  • 69
7
votes
2 answers

How stable and fast is HtmlUnit

I'm upgrading from selenium-1 to selenium-2 and trying out the new HtmlUnit driver. I've tried a few basic tests on it (open a page, get_text,..) and it seems Extremely slow (I think the chrome/FF remote drivers are faster than it) Extremely…
Guy
  • 14,178
  • 27
  • 67
  • 88
7
votes
1 answer

Jasmine spec timeout when running Protractor tests on a remote selenium server

I have Protractor tests that run fine locally (directConnect: true), but when I try to run them on a remote Selenium server (Grid), I always get the following message. A Jasmine spec timed out. Resetting the WebDriver Control Flow. Looking at the…
7
votes
3 answers

Searching for protractor test recorder

I want to test an Angularjs Project using protractor and I am looking for test recorder (like Selenium IDE) to make it without writing the test cases. Is there any tool available?
Kratos
  • 1,064
  • 4
  • 20
  • 39
7
votes
4 answers

How do I test which element has the focus in Selenium RC?

How do I test which element has the focus in Selenium RC?
hwiechers
  • 14,583
  • 8
  • 53
  • 62
7
votes
2 answers

How to use xpath in Selenium RC with JavaScript?

I am using Selenium RC with IE 6 and XPath locators are terribly slow. So I am trying to see if javascript-xpath actually speeds up things. But could not find enough/clear documentation on how to use native x- path libraries. I am doing the…
Nirmal Patel
  • 5,128
  • 8
  • 41
  • 52
7
votes
2 answers

Selenium and HTTPS/SSL

I'm running selenium-rc 1.0.3 on a Mac OS X & Windows 7 and both seem to be giving my the annoying accept cert error in firefox. In reading the docs they say I should be able to just use the *firefox run mode and rc should take care of it for me via…
NerdyNick
  • 813
  • 1
  • 9
  • 17
7
votes
1 answer

selenium issue with chrome when run as local system user

3I am using the selenium-server-standalone-2.33.0.jar to launch selenium test suites. I have a test suite that runs perfectly fine in firefox and also Internet Explorer. When I try and run it in Google Chrome, it runs fine for the current user. …
user972276
  • 2,973
  • 9
  • 33
  • 46
7
votes
2 answers

How to check if a text is in web page in Robot Framework and Selenium

I'm currently creating an automation test for a website and I want to check if a text(s) is in the page. I could use the keyword 'Page should contain' to check; however, I want it to be a little more specific on having it check specifically where…
John Adam
  • 981
  • 2
  • 7
  • 6
7
votes
5 answers

Does Selenium RC support IE8?

Can anyone confirm if Selenium RC server fully supports IE8?
davidhalldor
  • 305
  • 1
  • 6
  • 11
7
votes
2 answers

Testing flash applications on web using selenium

I want to test Microstrategy applications using any web testing tools. I figured out seleniun serves my purpose well. But microstrategy applications are deployed in flash formats. Please help me to guide how to test these flash applications is there…
Pratik
  • 831
  • 2
  • 8
  • 13
7
votes
4 answers

selenium, how can I select new window

I run my selenium rc test in Eclipse with TestNG. I have a link which tries to open a new browser page. How can I select this new page to operate in? I use this code: selenium.selectWindow("name=NewPage"); however it says page not found. I also try…
khris
  • 4,809
  • 21
  • 64
  • 94
7
votes
2 answers

Firefox 13 broke selenium tests

Apparently I upgraded my Firefox this morning along with some other system updates and now my selenium tests are broken! They worked fine yesterday and all passed. Performing hovers seems to be an issue. This is the error I got: Traceback (most…