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

Getting the next value from a file when a test case fails

How can I retrieve the next value from text file when there is a failure in the test case? Here is my code: public void openFile(){ try{ x = new Scanner(new File("C:\\Project1\\ids.txt")); public void readFile(){ } }catch(Exception…
-1
votes
3 answers

I am trying to launch Mozilla but still I am getting this error

I am fresher in selenium and I am getting this error when I change my system. Please suggest me a solution for this. Thanks in advance. Selenium - 3.4.0 Firebox browser - 47.0.2 Geckodriver - geckodriver-v0.16.1-win64 Exception in thread "main"…
-1
votes
1 answer

Selenium RC is not opening url given in my code

The RC launches the firefox browser but it tries to open the following…
-1
votes
2 answers

How to handle WIndows Active Directory Authentication pop using selenium webdriver in IE browser

Please visit to this link to see image: https://blogs.ncl.ac.uk/isg/files/2012/05/popup.png Note: I want to enter credentials and click ok button. AS I have tried normal sendKeys functions but didn't worked well. PLease guide me through this.
Akash Dugam
  • 61
  • 1
  • 9
-1
votes
2 answers

How to Open negative browser url?

I need to verify if opening the browser url is not landing to a particular page. Code snippet is a as below, where open is performed and the page displays 'couldn't open this url' but still exception is thrown from selenium Error: "ERROR in…
-1
votes
2 answers

Does Selenium Standalone Server 2.47.0 supports "sendKeys" command?

I'm using Selenium Standalone server 2.47.0, does it support the sendKeys command? Any one used sendKeys command in 2.47.0? Note: I know we can use type command but I need sendKeys to work.
BSalunke
  • 11,499
  • 8
  • 34
  • 68
-1
votes
1 answer

How to find selector for a random ID, XPATH & CSSpath, I'm testing a CMS tool with Selenium c#

Problem: Hi Guys, I'm testing a CMS tool using selenium c# but problem is to find a selector for a tiny drop down button because of random ID(all selectors). While it is generating HTML codes but i can not take the help of it as the next time when…
Pankaj Dubey
  • 279
  • 2
  • 18
-1
votes
1 answer

How do I locate a table row based on the text of a cell in Selenium?

How do I locate a table row based on table cell data using the following HTML snippet:
rajesh
  • 1
-1
votes
1 answer

Issues : Selenium Automation on MSCRM2011

I am doing Selenium Automation testing On MSCRM 2011 but Save,Save&Cloase Buttons are not performing the Action After filling (Child frame)the details in Fields(Attribute) i am switching to Parent frame . IS there any Issue with Ribbon Button in…
-1
votes
1 answer

selenium standalone server with Google Chrome

I want to run some test using selenium standalone server on Google Chrome but it runs Firefox instead when I execute this code: java -Dwebdriver.chrome.driver="webdrive\chromedriver.exe" -jar ./selenium-server-2.42.2-withFarsi.jar -htmlSuite…
hasan
  • 966
  • 2
  • 13
  • 40
-1
votes
1 answer

selenium.type() works but no text is shown in the field

I have a few lines of Selenium RC Java code that are supposed to type some text into a text box. The text box is part of a form, and I am able to fill in other text boxes throughout the web page. However, my line of code that goes selenium.type(id,…
maxyel
  • 11
  • 1
-1
votes
1 answer

why doesn't selenium focus work?

I am using Selenium 2.40.0 jar and Firefox 27.0 to test my web application. I am facing the issue while focusing on specific element since onstart the focus is not on Firefox window. how do I get the focus on Firefox window for focus element to…
sahiljain
  • 2,215
  • 1
  • 29
  • 39
-1
votes
2 answers

How to automate command prompt action via selenium

My project involves sending lots of xml via command prompt and checking those transaction in a web browser. I would like to know how can i use selenium webdriver to automate this steps. Will selenium webdriver able to mimick the command prompt…
-1
votes
1 answer

How long it will take to work in selenium rc including all type of process

How to configure Selenium RC? How long it will take to configure? How to work with Selenium RC? What are the pre-requisties for working Selenium RC?
Jeeva
  • 1
  • 1
  • 2
-1
votes
3 answers

About running tests recorded by Selenium IDE

I am trying to do the following and recording it in IDE and trying to re run it.. open google in search i write "selenium" click "search" button just clicking on one of the link and its redirecting to that specific link it is storing all the steps…
Shirsh
  • 73
  • 3
  • 9