Selenium is an open source framework for testing web applications.

learn more… | top users | synonyms

4
votes
3answers
2k views

Creating test cases for site registration using Selenium IDE

I'd like to know how you can automate the registration process for a site that requires a unique email address or username each time, using Selenium IDE. My only thought would be to insert an ...
4
votes
3answers
9k views

Can't click this checkbox using WebDriver / Selenium — ElementNotVisibleException

See attached image. The element is visible to me as a user, but I keep getting the ElementNotVisibleException error. It seems to locate the element via multiple methods, but the .click() fails. Is it ...
4
votes
1answer
166 views

Starting selenium always spawns a second window

I am not sure if this is the right place for asking this. Any time I start a selenium test I get two windows. One with the command which are right now been performed and the second one with the test ...
4
votes
4answers
333 views

Functional tests for Flash

We are using a rich client developed with Flex. We would like to build automated tests to test whole features. I saw a module for Selenium, Flex Monkium, which could do the job. Did you try it out? ...
4
votes
3answers
709 views

How do you block Google Analytics from Selenium automated visits?

Basically, we have a javascript integration on client's webpages. We don't have much (or any) control of the deployed environment, hence the only way to test our integration is truly working is using ...
4
votes
7answers
199 views

Manual QA looking to get into Automated Testing (no programming background)

I currently work at an ad agency as a Manual QA. I originally came in to act on the business side but kind of 'fell in to' the job. I do not have a programming background but I am very interested in ...
4
votes
3answers
3k views

Selenium Tests run in the background when TeamCity CI is run as a Windows service

Our test suite is written in Python and makes use of the WebDriver Python bindings. We are looking into moving to TeamCity for continuous integration. The setup I have in mind is a build triggered for ...
4
votes
5answers
5k views

How to handle self-signed SSL certificate error in IE8? (Selenium Webdriver + Java)

I am literally stuck to this problem for two days now. Scenario The website that needs to be tested has a self-signed certificate. So Internet Explorer (8 in Windows XP) shows "The security ...
4
votes
2answers
392 views

Logging with Selenium Server?

Right now I have several Python Selenium scripts in which I am manually writing results to a text file. Is there a more standardized / centralized way I can log my results without much difficulty? I ...
4
votes
1answer
2k views

Need to assertValue of text input field based on data coming from a table td inner HTML (using storeText to store variable) in Selenium IDE script

In Selenium IDE, I need to call the command assertValue of an input field on data coming from a table <td> (which only allows storeText, not storeValue) from a different page. Right now the ...
4
votes
2answers
270 views

Selenium test timing out

I am facing a strange issue with Selenium RC. I have a test which runs perfectly fine when I run my selenium server manually on the default port. The test passes in seconds. However since my tests are ...
4
votes
2answers
549 views

Selenium Server and Windows Server compatibility

I want to run Selenium Server on a recent version of Windows Server so as to be able to test IE browsers as well as Firefox, Chrome, etc. My choices for Windows Server are 2008 R2, 2008, or 2003. ...
4
votes
4answers
3k views

Selenium.click not working on some anchor elements

The application that am working on was recently revamped and as part of that a new JQuery calendar was introduced. I need to click on a link in the calendar to select the time and date. However, ...
4
votes
1answer
329 views

Selenium with Ruby - getting an error SeleniumRubyWindowsTest.rb:1:in `require': no such file to load

SeleniumRubyWindowsTest.rb:1:in `require': no such file to load -- selenium (Loa dError) from SeleniumRubyWindowsTest.rb:1 I followed the steps from this blog - ...
4
votes
1answer
1k views

Send keys to no element in particular

The way I know of sending keys using the WebDriver Python bindings is as follows: element.send_keys(value) How can I send a key (specifically the Escape key) to no element in particular, just to ...
4
votes
4answers
2k views

Running Selenium tests as a scheduled task

I'm trying to run a Selenium WebDriver script written in Python on a Windows 7 64-bit box as a scheduled task. The test works pretty well when run as a batch file from the command prompt, but when ...
4
votes
3answers
5k views

Drag and drop using Selenium IDE

How do I drag and drop an object from one grid to another in the same page using Selenium IDE. This is a web page, and it is designed in ExtJS. Please help me out doing this using the IDE.
4
votes
3answers
771 views

Does the latest version of QTP have something similar to Selenium Grid?

Does anyone know whether QTP supports parallel test execution on multiple browsers now? I am looking for something similar to Selenium Grid.
4
votes
1answer
677 views

Selenium-2 Webdriver browser support

I have a question about selenium2 (webdriver). As selenium-2 supports following 4 types of web drivers.. 1-IE 2-firefox 3-chrome 4-htmlunit Is there any way to use any other webdriver apart ...
4
votes
3answers
335 views

Is it possible to run RFT script in Selenium?

Since Selenium has problem accessing a standalone window, I have to use RFT just to handle this window. I made a jar file from the RFT script and added it to Selenium library. But it seems Selenium ...
4
votes
1answer
484 views

OperaDriver is not navigating to desired URL

I have tried to open a URL using the OperaDriver. My issue is that I am getting browser launched but the desired page is not getting loaded. Below is the code. @BeforeClass public static void ...
4
votes
1answer
251 views

Selenium Select option from suggest box

I must test an application that you type 3 letters in a text box and pick an option from a generated list. How can I do this with Selenium IDE?
4
votes
1answer
635 views

Getting nose test runner to execute a test against multiple browsers / configurations?

Surely someone else has run into this problem. I'm trying to figure out how to loop through Firefox, Chrome, and IE in conjunction with nose. Right now I have: "setup.cfg" file that specifies ...
4
votes
1answer
549 views

Selenium (RC) hangs when started from Python test

Fairly new to Selenium (but loving it). I'm running a single test in Python on Selenium RC. I've been running it multiple times a day for about 3 weeks. Now when I try to run it, it executes all the ...
3
votes
8answers
5k views

Capturing screen shots in selenium tests

How do you use screen shot capture in selenium tests? If anyone is using, how effective do you find it ?
3
votes
7answers
4k views

Is mail testing with selenium possible?

We have merely just had a kick off meeting for a new project that I am required to automate ASAP. The project is essentially a "mailbox project", if you will, and I have no idea as to where to start ...
3
votes
4answers
8k views

Downloading a file in Internet Explorer through Selenium

I have to automate a case in which I have to download an Excel file using Selenium IDE.I have done this in Firefox by using custom profile feature which automatically downloads file and saves it into ...
3
votes
4answers
15k views

How do I close the browser window at the end of a Selenium test?

I have googled for the answer, but the ".stop()" so frequently mentioned doesn't work for me. The Chrome window the test was running in remains open. def test_getResults(self): sel = ...
3
votes
3answers
67 views

Is it reasonable to use Selenium RC over WebDriver if the former seems more suitable for the task?

The tests I am doing are on IE8, which is used throughout the company, and doesn't look to be changing any time soon. After testing both pieces of software with the system, it seemed as though ...
3
votes
2answers
136 views

Python or Ruby , Which has the better support for selenium [closed]

I need to use selenium to do some automating testing, I wonder which Language has better support for selenium, That is once new version selenium released, And I can get the newest version binding ...
3
votes
5answers
212 views

How can I reduce the execution speed in webdriver so that I can view properly what is happening on browser?

I want to reduce the speed for execution of script so that I can view the execution properly on browser. I want do this in webdriver.
3
votes
2answers
2k views

Drag-and-drop failing on complex jQuery UI

Using the Python bindings of Selenium Webdriver, I cannot get drag-and-drop working on a "complex" jQuery UI example with ActionChains.drag_and_drop(). (It does work on a simple example.) My testing ...
3
votes
1answer
931 views

Tests running very slow against Internet Explorer 9

I have a test automation suite setup using Selenium and RemoteWebDriver that runs against IE7/8/9/10 and FF10/20/24. The suite takes an average of an hour to complete on each browser except IE9 which ...
3
votes
3answers
778 views

Selenium automating ICEFaces Application - locator for dynamically generated ids

I'm trying to automate a very short sequence in a web application developped using ICEFaces. I need to click on a button which is coded as <input type="image" title="Unterbrechen" style="padding: ...
3
votes
1answer
999 views

Unable to click on City bubble on Google map using Selenium

I have been trying to click on City bubble on Google Map. So far I have tried following but none seems to work. Also notice the awkward locator available from map which is captured in Selenium IDE ...
3
votes
1answer
149 views

How to share my test scripts with other stakeholders?

I have written Java automation scripts using Selenium WebDriver in Eclipse. I uploaded everything to GitHub. Here my questions are: How can my manager/colleague execute these scripts in his or her ...
3
votes
1answer
304 views

Selenium testing using checksums of html

I am new at selenium testing and am writing a bunch of tests for a webpage that relies heavily on javascript user interaction. At first I wrote a lot of assertions of the style If I press button ...
3
votes
4answers
5k views

Running Selenium test on TFS

I am currently working on implementing UI tests of .NET web application using Selenium RC. The tests are now coming together and I am beginning to look at how these will be incorporated into TFS. ...
3
votes
1answer
732 views

How to handle a native OS (Ubuntu) file upload window in selenium webdriver with python?

This is my first time here but I have already posted this question on SO. I keep getting solutions for Windows + Java and not for Linux or python for that matter. I am using selenium and python to ...
3
votes
4answers
4k views

Selenium IDE newbie - click on button not working .net

I am using this Selenium command within the Firefox IDE, it's my first time with Selenium so I may be missing something basic. <tr> <td>click</td> ...
3
votes
1answer
3k views

Can the base-url be changed in the same browser session using Selenium RC?

Suppose I login to evernote.com using Selenium RC. Is it possible for me to change the base_url to google.com while staying on the same page. I do not want to open a new browser for google.com. When I ...
3
votes
1answer
2k views

Using Selenium's PageObject pattern and an Open() method

Here is an example of some C# WebDriver code I'm using to model a registration page: public class RegistrationPage : BasePage { private IWebDriver driver; private String URL = ...
3
votes
2answers
156 views

Acceptance testing between iOs and web app with cucumber

I have an iPad application which sends some data to our web application. With this data, you should be able to do different kind of things. We have cucumber tests for the web application (Using ...
3
votes
2answers
272 views

How to extract the Safari extension from the base code?

I got the developer certificate from Apple and running Selenium 2.23.1 jar. I checked out the base code from Selenium website and when I ran the command " go Safari", I am getting the following error ...
3
votes
3answers
2k views

Unable to upload a file using selenium/web driver running with java

I have a complicated interface where uploading a file is three step ( The forum is not allowing me to add screenshots of my window so please try to visualise it) step 1 click on browse tab and select ...
3
votes
2answers
6k views

How to scroll to bottom of page in Selenium IDE?

I'm not a QA person, just a front end developer. I'm using the Selenium IDE plugin for the Firefox browser to make some simple tests. The site I'm making the tests for uses ajax to bring in new ...
3
votes
2answers
3k views

Firefox browser launches blank when the tests via Selenium

I have created a simple test that launches browser and calls a URL. This works fine in IE but when I select Firefox (FF) browser it opens blank. See the code snippet below. The issue is similar to ...
3
votes
2answers
2k views

Selenium error in NUnit C#

I got the following error when I try to run this test: TheNewTest : FailedSelenium.SeleniumException : Timed out after 5000ms at Selenium.HttpCommandProcessor.DoCommand(String command, String[] ...
3
votes
2answers
716 views

Testing a live and staging site with Selenium IDE

I would like to run a test that stores the position of key page elements on a live site, then compares it to a staging site to ensure the two match. The main issue is that the URLs for the live and ...
3
votes
1answer
641 views

Selenium IDE has stopped recognising pop-up windows

I'm relatively new to Selenium and since the update to 1.0.12, when I run my tests, each case with a selectWindow command fails. If I run these steps seperately, by clicking individually, it passes, ...