Selenium is an open source framework for testing web applications.

learn more… | top users | synonyms

4
votes
4answers
19k 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 = ...
4
votes
6answers
2k views

Can Selenium and Bromine 3 execute overnight and email the results

I would like to automate the testing with selenium - even when I am right now a beginner with automatic testing and especially selenium. Therefor I am working with Bromine 3 RC 2. Is there a way to ...
4
votes
3answers
1k views

How to test facebook likes using webdriver without being flagged as a bot?

I've tried registering test accounts to test facebook likes on my site, but running tests repeatedly flags the accounts as spam. Facebook allows fake users for FB apps, but not external apps. Are ...
4
votes
2answers
842 views

What's the best approach to asserting values with automation testing test cases from complex business logic?

Suppose you have automation tests (my example uses Selenium) to assert complex business logic for a web site. What is the best way to assert that thousands of different test cases are outputting the ...
4
votes
2answers
244 views

Test isolation and automation

We are using Selenium webservices for our automated functional testing . I have a test which tests creation of some objects. If I run the same test again, I need to make sure that each test has a ...
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
170 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
342 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
1k 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
327 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
2answers
429 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
275 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
607 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
1answer
350 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
2k 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
3k 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
843 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
688 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
1answer
549 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
274 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
694 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
598 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 ...
4
votes
4answers
439 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
650 views

CKeditor Recording Problem Selenium IDE

I cannot record CKeditor actions in Selenium IDE. I have added the following commands in my test case, but my problem is that on my page I have a button to save/send some data (from ckeditor too) and ...
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
5k 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
11k 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
3answers
90 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
205 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
829 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
3k 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
2answers
1k views

Desktop Application testing using selenium

Is it possible to test desktop applications using selenium? Suppose we have a simple application like gtalk. A desktop application, can we automate that application with selenium.
3
votes
1answer
1k 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
5answers
8k views

How to select or check multiple checkboxes in Selenium?

I've got this HTML code <input type="checkbox" value="abc" name="arr[]><br> <input type="checkbox" value="abc1" name="arr[]><br> <input type="checkbox" value="abc2" ...
3
votes
3answers
848 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
1k 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
152 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
367 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
6k 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
2answers
117 views

What kind of test cases we can not automate in selenium webdriver - java

I want to know what kind of test cases we can not automate using selenium webdriver. I do not want to use any 3rd party tool (Autoit, etc..).
3
votes
1answer
1k 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
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
4answers
5k 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
2answers
5k 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
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
7answers
463 views

Visual Regression Testing

For testing the visual appearance of a website the use of tools like selenium (functional surface test) are not sufficient because it doesn´t check the visual appearance and/or the CSS-Code directly. ...
3
votes
2answers
173 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
311 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 ...