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

When I hit on Checkbox, element not interactable

When i Hit on checkbox here error display. WebElement checkbox = driver.findElement(By.xpath("//*[@id=\"modelSelfRegistration\"]/div/div/div[2]/div[2]/div[1]/div[2]/label")); if(!checkbox.isSelected()) checkbox.click(); Screenshot for my code &…
-3
votes
1 answer

Getting error while running my first selenium code

I just started learning Selenium. This is my code: package sele; import org.openqa.selenium.WebDriver; import org.openqa.selenium.firefox.FirefoxDriver; public class Abc { public static void main(String[] args) { WebDriver driver…
Tiara
  • 1
  • 1
-3
votes
2 answers

If a part of class name is dynamic how can we handle in selenium with java?

If a part of class name is dynamic how can we handle in selenium with java? EXP: --> the numeric part will change dynamically. How can we identify this type of objects. Please help.
ARM
  • 11
  • 1
-3
votes
2 answers

Selenium - Update to WebDriver

I am using "selenium-server-server-standalone-2.44.0.jar" jar file to run my test suite in selenium test runner. It runs well in firefox & chrome, but it gives this info text in the test run report "info: Selenium 1.0 (Core, RC, etc) is no longer…
Lethu
  • 11
  • 1
-3
votes
3 answers

Not able to get visible text from some paragraph by using javascript executor and web driver

In a site I have:

testing the test

String value = (String)((JavascriptExecutor) this).executeScript("return window.document.getElementById('tempid').value"); System.out.println("value is : " + value); I am…
Harish Naidu
  • 35
  • 1
  • 12
-4
votes
2 answers

Why is my java test script for selenium not printing out a simple confirmation string?

I am trying to finish a test script written in Java. Everything works great and I am trying to print out a confirmation if all previous steps runs which says that account creation was successful. To do this, I have put the element in a string and…
-5
votes
1 answer

Selenium Location field Auto dropdown is not selecting

driver.findElement(By.id("ProjectAddress")).clear(); driver.findElement(By.id("ProjectAddress")).sendKeys("Chennai"); driver.findElement(By.xpath("//[@id='ProjectAddForm']/fieldset[4]/div/div1")).click(); Thread.sleep(5000);`
-5
votes
2 answers

what's the use of sel.open('/') statement in this code?

Why we are using sel.open('/') command? sel = selenium('localhost', 4444, '*firefox', 'http://www.google.com/') sel.start() sel.open('/') sel.wait_for_page_to_load(10000) sel.stop() Can someone explain whats going on in these 5 statements (I…
erickhushwaha
  • 319
  • 1
  • 5
  • 13
1 2 3
92
93