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

Selenium Webdriver-java: i am getting unknown error: Element is not clickable at point (702, 605). Other element would receive the click

Please suggest how can I fix this thing. Java code: WebDriverWait wait = new WebDriverWait(driver, 10); WebElement element = wait.until(ExpectedConditions.elementToBeClickable(By.xpath("//*[@data-fieldname='contact_name']"))); element.click();
Adnan Ghaffar
  • 1,345
  • 7
  • 26
  • 46
-1
votes
1 answer

Selenium-Webdriver Java: which is the best way to check the validation of lo-gin form

Login page, there would be 3 valid scenarios - 1) valid Login 2) Invalid Login 3) Negative Testing scenario system is expected to prompt the user with an error message. But a negative testing scenario would be where you are trying to break the…
-1
votes
2 answers

Work with second opened broser

I am new to selenium i have a problem with. I am working with one form at that when I click the "Report" it launches the new browser with some data. I want to work with data. How to get that data and verify that data Launching and opened browsers…
user2251940
  • 61
  • 1
  • 3
  • 11
-1
votes
2 answers

XPATH of element with the same class name

How can I create an Xpath for individual elements within the same class name? The element ids (eg. id='some_item_12') is not constant (ie. could be 12,3, etc on next iteration) so I can't use a direct xpath to the element. I have used the one below…
L P
  • 1,776
  • 5
  • 25
  • 46
-1
votes
2 answers

How to use selenium-server-standalone-2.0rc2 while creating script with RC

package com.html; import com.thoughtworks.selenium.DefaultSelenium; import com.thoughtworks.selenium.Selenium; import junit.framework.TestCase; public class Html5 extends TestCase{`enter code here` Selenium selenium1; public void setUp() …
-1
votes
2 answers

Selenium RC: Not able to execute file chooser

I am trying to automate some testing on a 3rd-party site using selenium rc and facing an issue with file chooser. Going down the issue i found that it was a browser native file chooser issue. I was able to handle that but now the problem is that…
auny
  • 1,920
  • 4
  • 20
  • 37
-1
votes
1 answer

Selenium RC Automation "Element Not found error"

Selenium RC Automation "Element Not found error" I am presently automating my project. However when playing back the script I am getting element not found error for a button. I copied XPATH of the button from the firebug The XPATH is as follows got…
-1
votes
1 answer

selenium standalone server 2.25 time out error

I am trying to increase the timeout time for my scripts. How do I do this? So far, I have: java -jar /var/www/sites/all/srk_tests/test_data/selenium-server-standalone-2.25.0.jar -userExtensions /var/www/sites/all/srk_tests/user-extensions.js…
-1
votes
2 answers

WebBrowser filling in values by name instead of ID

I'm working on a form filling software, and I was wondering how would I go about selecting a field via name attribute or even CSS selector/XPath (like in selenium) via a web browser? Instead of findbyid? Or Selenium RC is my only option?
Saulius Antanavicius
  • 1,371
  • 6
  • 25
  • 55
-1
votes
1 answer

XPath Selenium Invalid xpath [2]

I am using selenium for flash test. I want to get id of an embed tag. I used firepath to get xapth and it looks like html/body/div[1]/div[6]/div/embed And when I am trying to retrieve it…
Ravz1234
  • 129
  • 1
  • 2
  • 12
-1
votes
2 answers

how to create a new file in selenium?

how to create a new file in selenium ? And also how can i write a data into the newly created file ? How does selenium IDE & Selenium RC differs ?
Jackie James
  • 785
  • 8
  • 15
  • 28
-2
votes
1 answer

Is it possible connect from website to selenium?

Is it possible connect from website to selenium? I mean website itself is connecting to selenium for instance using JS.
-2
votes
1 answer

What is the compatible version of Selenium RC with Selenium IDE 2.5.0?

I have installed the selenium ide 2.5.0 add-on for firefox and after exporting the test case as Java/JUnit 4/ Web Driver. When I try to execute it with JUnit testing I always get exceptions when some class from selenium is not found. I have used…
Lindsey
  • 14
  • 7
-2
votes
1 answer

How can I get the text from a simple HTML tag using Selenium RC?

How can I get the text from a simple html tag

ABCDEF

using Selenium RC? I want to match the exact text. If I use isTextPresent() it returns true even if I put selenium.isTextPresent("ABC"). This is in a HTML tag

.

gagan
  • 173
  • 1
  • 3
  • 11
-2
votes
2 answers

Selenium RC is feasible to firefox 15 and windows 7?

I tried to open a link in Firefox 15 by using selenium RC. Not able to open the link and it throws error "www.cfauth.com". I wanna know if Selenium RC is compatible with Firefox 15 and windows 7.
1 2 3
92
93