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
27
votes
11 answers

how to delete default values in text field using selenium?

I want to delete a default value of a textbox to enter the new value, but I am not getting how to do that. I was thinking to use CTRL+a and then Delete but I'm not sure how to do this. I even used WebDriver's command…
Wasi
  • 743
  • 4
  • 18
  • 37
25
votes
1 answer

List of Selenium RC browser launchers

I am trying to find a full list of Selenium RC browser launchers. So far I've not been able to find any documentation that lists them all. I've gathered the following ones from various sources. *iexplore - Launches IE *firefox - Launches…
Jack Senechal
  • 1,600
  • 2
  • 17
  • 20
24
votes
9 answers

How to resize/maximize Firefox window during launching Selenium Remote Control?

I am using Selenium Remote Control . During executing the tests the actual Firefox window is so small. I want it full screen so I can see what is happening. How can I maximize the browser screen?
chobo2
  • 83,322
  • 195
  • 530
  • 832
24
votes
1 answer

java attempting to assign weaker access privilege error

[javac] U:\dms-webui-testing\test-java\dmswebui\CR\TestLogin.java:16: until() in cannot override until() in com.thoughtworks.selenium.Wait; attempting to assign weaker access privileges; was public I am getting above error for a fairly simple…
hrishikeshp19
  • 8,838
  • 26
  • 78
  • 141
22
votes
9 answers

Run chrome browser in inconginto Mode in Selenium

I want to run chrome in incongito mode through selenium. I googled enough for it and found how to run chrome directly in incongito mode with the help of this link: Right click on the shortcut of Google Chrome and select "Properties". On "Shortcut"…
kailash gaur
  • 1,407
  • 3
  • 15
  • 28
22
votes
7 answers

org.openqa.selenium.firefox.NotConnectedException: Unable to connect to host 127.0.0.1 on port 7055 after 45000 ms

I'm trying to run a Junit Test case which i exported from Selenium IDE. Im getting above exception.I'm using Windows XP,Firefox 20.0.1,and using selenium-server-standalone-2.28.0.jar.Upon run, a blank Firefox window is opened. When I close that…
Prateek Mohan
  • 229
  • 1
  • 2
  • 5
21
votes
4 answers

PHPUnit Selenium, clickAndWait() function doesn't work in Opera

I have problem with PHPUnit_Selenium in Opera. If I have clicked on element in my test code, the page will not load. In other browsers such as Firefox, IE, Chrome and Safari, it works correctly. Code: $browser->clickAndWait(link); It's next steps…
Szymon
  • 375
  • 3
  • 9
20
votes
3 answers

How to execute choice of test cases from multiple test cases

I want to execute few selected test cases from my class of multiple test cases using php unit with ease. As my 1-2 test cases are failing from bunch of test cases and also finding difficult to execute whole test suite again for these two, is there…
user808548
20
votes
8 answers

Xpath for href element

I need to click on the below href element,which is present among similar href elements. Re-Call Can anyone provide me xpath to click the above href link?
cxyz
  • 823
  • 8
  • 19
  • 37
19
votes
8 answers

WebDriver Chrome Browser: Avoid 'Do you want chrome to save your password' pop up

Every time my webdriver tests login into the application, 'Do you want chrome to save your password' pop up appears.. Is there a way to avoid this?? Please help. Thanks, Mike
18
votes
3 answers

Setting up Selenium for recording as well as running in different browsers and platforms

I'd like to setup a Selenium server so that clients can record tests locally, recorded tests can be replayed and tested on an Ubuntu server with Firefox + Chrome. Unfortunately the Selenium site is so confusing and mentions so many different…
Tom
  • 33,626
  • 31
  • 85
  • 109
18
votes
2 answers

What is the difference between Selenium Remote Control and Selenium Server?

On Selenium download page, there is a link to the Selenium RC (Remote Control). On another Selenium download page, there are links for a Selenium RC 1.0.3, as well as Selenium 2 Server, sometimes also called Selenium 2 Standalone Server. What is the…
Denilson Sá Maia
  • 47,466
  • 33
  • 109
  • 111
17
votes
5 answers

How to continue execution when Assertion is failed

I am using Selenium RC using Java with eclipse and TestNG framework. I have the following code snippet: assertTrue(selenium.isTextPresent("Please enter Email ID")); assertTrue(selenium.isTextPresent("Please enter Password")); First assertion was…
Ripon Al Wasim
  • 36,924
  • 42
  • 155
  • 176
16
votes
5 answers

Simulate TAB keypress event in Selenium RC

I need to simulate a tab keypress in Selenium RC, using the Java API. I do this after having entered some text using: selenium.type(input, "mytext"); I've tried 3 alternatives to get the tab working: selenium.keyPress(input,…
Joel
  • 29,538
  • 35
  • 110
  • 138
15
votes
5 answers

Selenium: delete contents from a textbox

Through selenium. how to delete contents from textbox. I have to delete the last 2 characters from text box using selenium command. Ex.ABCD to AB.
smriti
  • 1,124
  • 5
  • 14
  • 35
1
2
3
92 93