selenium-rc

I can debug but unable to execute my Selenium C# script

If i debug my code its running line by line successfully. but when i run without breakpoints it shows the following error and my script failed. "Failed PaymentGateway ProjectFunctions Test method Project_Automation.Functions.PaymentGateway threw exception: Selenium.SeleniumException: ERROR: There was an unexpected Alert! [Sys.WebF...

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 Firefox *safari - Launches Safari *opera - Launches Opera *googlechrome - Launches Google Chrome *...

How to convert Selenese (html) to Python programmatically?

How would I convert test cases made by Selenium IDE to Python without exporting every test case by hand? Is there any command line converter for that job? In the end I want to use Selenium RC and Pythons build in unittest to test my websites. Thanks a lot. Update: I started to write a converter but its too much work to implement all ...

error while opening browser with selenium RC using JUnit

I am getting following error while opening browser with selenium RC using JUnit. Plz help. com.thoughtworks.selenium.SeleniumException: XHR ERROR: URL = http://www.google.com/ Response_Code = 403 Error_Message = Forbidden at com.thoughtworks.selenium.HttpCommandProcessor.throwAssertionFailureExceptionOrError(HttpCommandProcessor.java:97...

How do I confirm a given page was displayed after calling ISelenium.open()?

I'm very new to Selenium RC. I'm using .NET (though I don't think it is relevant), I have opened a page, but I want to confirm that the page was actually opened. I have a few ideas like using .Select() or using one of the .get*() methods, but I want to do what is considered the best practice by others in the Selenium community. ...

How do I test which element has the focus in Selenium RC?

The title says it all. How do I test which element has the focus in Selenium RC? ...

How to select listbox item with incremental value - using selenium RC in C#

I Need to select a category from a list box with no of items on it. eg. Videos(29). I need to select this and in the next loop it will be "Videos(30)","Videos(31)" etc.. Tried the followings Addselection with "//option[@value='4641']", Storeselectedoption, selenium.click, selenium.doubleclick etc.. ...

Selenium RC selenium-testrunner.js Access denied error on IEProxy - Help??

Webpage error details User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/4.0; .NET CLR 1.1.4322; .NET CLR 2.0.50727; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729; .NET4.0C; .NET4.0E) Timestamp: Wed, 28 Apr 2010 02:07:17 UTC Message: Access is denied. Line: 177 Char: 9 Code: 0 URI: http://www.google.com/selenium-serv...

[Selenium] Don't stop on HTTP error 403

In one of my Selenium test cases, I try to ensure that certain pages can't be accessed. Instead, HTTP return code 403 should be given. However, here Selenium terminates test execution with the following exception: com.thoughtworks.selenium.SeleniumException: XHR ERROR: URL = http://user:[email protected]/admin Response_Code = 40...

Test Flash using Selenium RC

Hi, I'm using selenium rc and i need to test flash. I need to click Allow button on Flash player. I just need some help getting started? ...

Selenium RC for test Flash

Hi, I'm using selenium rc and i need to test flash. I need to click Allow button on player .I just need some help getting started? Thanks ...

Native Mouse events with Flash and Selenium

I understand that Selenium does not support Flash, but it is my understanding that I should be able to do some simplistic testing of Flash by using Selenium's built in native mouse support and doing mouse up/down events based on coordinates. Is this correct? I can't seem to get it working. I'm trying to test on this page: http://mandy-m...

checking if all elements in a drop down menu are present with selenium testing using ruby?

HI how can i check if all elements in an array i created are present in a drop down menu using selenium testing? i have something like this but dosent seem to work ANIMALS = ["snake","cat","dog"] def validate_all_animals_exist(selenium) ANIMALS.each { |animal| assert selenium.is_element_present(animal), "Expected category [#{anim...

Send commands to Selenium Server

Using Selenium-RC, using the Ruby Client Driver. Some other guys are using Watir and are able to use IRB to attach Watir to an open browser and send it commands. This has enabled them to greatly speed up their development time. Without this ability you have to wait for several test steps to execute (such as logging in and opening the ...

What is the best way to assert redirections in Selenium?

I am writing a selenium test and I need to assert that the page is redirected. How should I verify this? What would be the best way? I am using PHPUnit and the PHPUnit_Extensions_SeleniumTestCase. ...

How to return a whole column with Selenium?

I know that Selenium has a built-in method getTable("tableName.row.column") can return a cell conveniently. However how can I return a whole column? I've tried getText() directly, however only the first cell was returned, getText("//tbody[@id='recordsTable']/tr[contains(@class, 'someclass')]") But getXpathCount() with the same Xpath ...

Selenium Testing

Hi I want to get a bunch of dom-objects with xpath and loop through those to check if they contains a specified text, is this possible in the Selenium IDE or rc? Perl is my prefered language XPath would be something like xpath=//tbody[@class='table-data']/tr/td/div[@class='table-item'] This would return all row items in the table, but...

Transform code user-extensions.js in java code in Selenium IDE

Hello! I created a user-extension.js with a internal command... (step to take an evidence). When I try to export the Selenese to Java (JUnit) I'd like see the real Java command that I need use. Someone have an direction to me? Best Regards! ...

Talking with Selenium RC directly

I am curious if it's possible to let the Selenium RC server directly issue it's command over a socket connection to the target application without the JavaScript layer in between. If so, what's the best approach to do this? I can't make a client driver because that's the other way around. Anyone having any suggestions? I would love to ...

Selenium more than one baseUrl per test class

I am writing selenium scripts on a complex web based application. To use a useraccount I need to register first using one URL and then approve the account in the admin console on another URL. The problem is that there is another baseURL for registration and admin console and I need that in one unittest. But when I use setBaseUrl in my...