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

How to read and save an html text using Selenium RC?

In the website I'm testing, I create a new customer. Once this customer is created a new id is assigned for that customer, which is not stored as a form field in the customer webpage but rather on the top page as pure text like (Customer 601619 -…
0
votes
1 answer

Uploading a file using Selenium

How do I upload a file using Selenium tool in automation testing? I tried with the following code: selenium.attachFile(//*[@id='file-uploader']/div/div[1]", "C:\\Users\\Public\\Pictures\\Sample Pictures\Desert.jpg"); This is the error I am…
anu1989
  • 39
  • 2
  • 7
0
votes
1 answer

What method is used to capture entire page screenshot using Google chrome?

I am using selenium RC to automate my project. I have executed the script using firefox. I have used selenium.CaptureEntirePageScreenshot() to take screen shot using firefox. But this method doesn't work with Google chrome. Which method should I use…
Tasleem
  • 27
  • 2
  • 9
0
votes
1 answer

Selenium RC : Only one browser for all the tests?

I'm quite stuck right now, I don't understand why my code doesn't work as I need to. The fact is that each time there is a new test, it closes firefox and reopens it. That makes my tests take ages to realise... Could you tell me what I'm doing wrong…
Depado
  • 4,811
  • 3
  • 41
  • 63
0
votes
1 answer

How to create a proper teardown script

My problem is the following: We use Selenium IDE and RC at work to test the functionality of our website. Our website features a list that is saved on the server every time you add an item.It also allows users to log in. When my selenium suite fails…
0
votes
1 answer

WebDriver. How can I run test in multiple browsers using C#?

Please Help Me, I use selenium WebDriver for automatically web tests. How can I make it run in multiple browsers in parallel using C#? If there is a way to make this with a configuration file ? would be ideal.
Dumitru Chirutac
  • 617
  • 2
  • 8
  • 28
0
votes
1 answer

Selenium RC CSS Locator for Select Element

Any idea how to select an option from a element defined like so: Cellular WLAN Cellular or…
paul
  • 23
  • 5
0
votes
1 answer

How to verify if among the 5 tabs, which is enabled or not using Selenium RC C#?

I have 5 tabs in a page and upon clicking the tab, it needs to perform some function. But how do I know which tab is selected and if a tab enabled, click on the tab and perform the necessary function. If it's is not enabled , it will check for the…
0
votes
1 answer

Automate using selenium to Validate data displayed

I am currently working on a project which has few Id's in the first screen and depending on the Id selected, user is navigated to second page which displays respective Id's information. All the information displayed is retrieved from SQL…
0
votes
1 answer

How to record the selenium rc scripts in pop up window?

My website is opening in a pop up, so all my website functionality is on the same window. But I am unable to record the Selenium RC scripts, because it doesn't not the pop up window. Please help me, how do I record them?
0
votes
1 answer

How to record the selenium RC scripts due to security alerts in all browser?

How to record scripts in Selenium RC? As of now, it throws security alerts at me (Trusted certificates), I'm so unable to record it. Please help me, how can we overcome this problem?
0
votes
3 answers

Selenium.click Timed out waiting for action to finish

I'm running selenium RC with Java in Eclipse. The issue I'm having is with the selenium.click command. The link I click on loads a new page. Sometimes that takes 5 seconds and sometimes it'll take 2-3 minutes. Each time I see the page load and…
Melekal
  • 3
  • 1
  • 1
  • 3
0
votes
3 answers

How to execute exported Test suite in Selenium RC (Eclipse)?

In Selenium IDE: I have created one Test Suite : TS1.html and There are two test cases in it: Test1.html and Test2.html So What are the steps to execute this TS1.html test suite in Selenium RC (Eclipse)
Prashant Vadher
  • 1,057
  • 11
  • 9
0
votes
2 answers

Run selenium scripts in Internet Explorer

I am currently using Selenium RC to run my scripts in FF in windows. Could you tell me how to run the scripts in IE as well?
Priya
  • 11
  • 1
  • 1
0
votes
1 answer

selenium runs the same method more then once

i have started with selenium few weeks back. i have designed my test this way using @BeforeClass i am creating a object and calling a method of class which is opening the browser and performing a login operation. i have another method which has the…