Selenium is an open source framework for testing web applications.

learn more… | top users | synonyms

3
votes
1answer
1k views

How to get XPath of a list element generated by AJAX?

When I type a keyword ("Documents 1.xml") driver.findElement(By.id("documentSelect_enter")).sendKeys("Documents 1.xml"); in this field: <input id="documentSelect_enter" type="text" ...
3
votes
2answers
676 views

How to use TestNG to create multi-user tests scenarios?

What I need to do is to create UI test cases for our application and we have decided to use Selenium with TestNG (we're still open to other options if there are considerable advantages). The tests we ...
3
votes
1answer
9k views

How to fix “Permission denied to access property 'document'”?

I posted it on stackoverflow.com. Someone suggested me to post it here... While trying to automate testing with selenium rc I ran into this problem. I was just following the steps in the tutorials. ...
3
votes
1answer
892 views

Safari test browser doesn't launch with Selenium RC

I've been dabbling with Selenium to do some testing on a site and I'm trying to set up RC so I can run tests in multiple browsers. I can run a simple test I put together in both Chrome and Firefox, ...
3
votes
2answers
2k views

How do I resolve a “Lock file still present” error?

I've got a Perl-based Selenium instance running on my Win7 workstation. When I fire up a test script, I get an error "Lock file still present!" Caused by ...
3
votes
0answers
421 views

CKeditor Recording Problem Selenium IDE

I cannot record CKeditor actions in Selenium IDE. I have added 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 when ...
3
votes
3answers
286 views

Problems with maintenance of Selenium on grid service

We have cluster of 5 nodes with all of them are Firefox nodes only. We have ran into so many issues maintaining the grid up and running. Selenium nodes goes out of memory (JAVA heap space issues) ...
3
votes
2answers
2k views

Selenium IDE clickAndWait command not working for unique LinkButton control

How can I automate clicking this anchor tag with Selenium IDE (in Mozilla Firefox of course)? I tried two different approaches, and neither one worked. Would it matter that this is in a popup window? ...
3
votes
2answers
5k views

Selenium: How to set x and y coordinate position

I want to use the Selenium method mouseMoveAt(java.lang.String locator,java.lang.String coordString). How do I set coordString? For example, if coordString is the x,y position (10,20), what does that ...
3
votes
1answer
181 views

looking for a way to exercise Android web browser

To continue my monkey question I am looking for a way to generate Web traffic on a device (not emulator) running Android. The unit under test is not the browser but lower communication layers of the ...
2
votes
6answers
484 views

Which automation tool needs JavaScript or JQuery to be used more?

I have started off my career in manual testing and an automation tool rarely. I would like to concentrate more on automation testing. I believe I have the object-oriented concepts in a good manner. I ...
2
votes
5answers
131 views

What are the possible reasons you can think of which could be making selenium test script performace slow?

When a selenium test script executes unusually slow, what are the possible reasons which could be making script performace slow ? What steps should a tester use to analyse and debug the problem?
2
votes
1answer
201 views

What are the Selenium, JUnit, Ant and JScover and how they are combined?

I am given a javascript function which takes as input some numbers and returns the max, as a part of a project at the university, and I have to test it, using Selenium, JUnit, Ant and JScover. I have ...
2
votes
4answers
908 views

I am looking for online Training or Books or online resources on selenium automation testing

Hello SQA stackexchange people I am looking for training on selenium automation testing. I would like expertise on selenium. I have walk-through following books but all are very beginner Selenium ...
2
votes
6answers
2k views

Is FitNesse the only DSL for Selenium, or is there another DSL available?

I'm looking for a DSL for Selenium (or another testing tool) that will allow a non-programmer to automate functional tests.
2
votes
1answer
148 views

How do I test that external CSS does not contain an absolute URL via unit test?

I have been given the task of validating that we do not have any http:// URLs in our CSS or HTML documents. I've created a selenium IDE test that looks at src & href attributes as well as script ...
2
votes
1answer
171 views

Why do I want to use Rake in Selenium Webdriver tests?

My question is why would I want to use rake, make, or ant in any of my automated tests. I specifically use Ruby with Selenium-Webdriver and I have thus far used test-unit to wrap my test cases to ...
2
votes
4answers
4k 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" ...
2
votes
1answer
4k views

Selenium:With selelenium RC can we scroll the scrollbar up or down of browser.

Can we use Selenium RC to move the browser's scroll bar up or down?
2
votes
4answers
3k views

Click submenu which is dynamicly visible in Selenium WebDriver

In my scenario, I need to click the submenu that's only visible when its parent menu is in 'mouse over' status: MainMenu (button) SubMenu of MainMenu (span) SubMenu of SubMenu of MainMenu ...
2
votes
2answers
4k views

How to specify a Firefox profile name when using webdriver + python

I'm using python 2.7.1 and selenium 2.20.0. I have a seperate firefox profile called "selenium" which I want to use when running the webdriver. I managed to do it by specifying the complete path to ...
2
votes
3answers
395 views

Need more info on logging and debugging framework using Selenium

Need more info on logging and debugging framework for Selenium I have referred a few of the following resources below: http://www.infostretch.com/QA/selenium-framework.php ...
2
votes
1answer
590 views

Is there a way to disable a JavaScript function of the tested application from Selenium WebDriver automation project?

I need to disable a particular JavaScript function of the main application for which I am creating automated tests using Selenium WebDriver. Is there a way to do this?
2
votes
4answers
4k views

I face a problem while opening Firefox with Selenium script

I face a problem while running Selenium scripts. I try to open Firefox using the following command: import org.openqa.selenium.WebDriver; import org.openqa.selenium.firefox.FirefoxDriver; public ...
2
votes
1answer
791 views

Web Driver (Selinium Version)

How to add the webdrivers of C# in VS 2005, I was tried the same but the "OpenQA" not found error is shown, Is there is any version problem?
2
votes
2answers
822 views

Selenium: Ajax Testing

Please brief me about the Ajax testing with selenium RC. As in Ajax element does not reflect on the view-source, but using firebug we can see the changes in HTML source code. There are two methods ...
2
votes
2answers
387 views

Andriod Selenium testing by Python - connecting problem

I'm trying to get the Selenium Android client to run in my emulator: Install SDK Run emulator Install android-server-2.0rc1.apk in the emulator and devices Forward the port by adb forward tcp:8080 ...
2
votes
4answers
468 views

Has any faced issue when automating auto suggest text box using selenium webdriver

I am automating an application which has auto suggest text box. I am facing an issue that sometimes the auto suggest values are not shown up at all. This happens 50% of the time. Worrying part is this ...
2
votes
4answers
423 views

How to simulate Caps Lock keystrokes with Selenium WebDriver?

I know there is an action class where this is possible, but I just understand common keys, such as: enter, backspace, and tab. For instance: action.sendKeys (Keys.ENTER).perform(); For modifier ...
2
votes
1answer
628 views

Does Selenium's LoadableComponent make sense in a SPA (Single Page Application)?

I'm writing a UI testing suite for a single page javascript application using Selenium 2 web driver. I'm still experimenting with how to fit the app inside a page object model. At the moment I am ...
2
votes
1answer
795 views

Connection refused error when running selenium with chrome and firefox drivers

I am running selenium tests with firefox and chrome drivers. I get a connection refused error when I run the tests in as a block Test example : require 'minitest_helper' headless = Headless.new ...
2
votes
2answers
333 views

How to know the count of lables or fields in a particular screen using Selenium IDE

Is there any way to find the count of fields or lables in a particular screen using selenium IDE?
2
votes
4answers
1k views

Xpath captured using Selenium IDE is not running in Selenium RC for Links designed in XML

The below xpath which is captured for links in selenium IDE is not running in Selenium RC. The links are designed in XML. selenium.ClickAt("xpath=/html/body/div/div[2]/ul/li[3]", ""); ...
2
votes
1answer
235 views

Har File Monitoring

I'm looking to automate some testing of calls we make to an external service. I've gotten Browsermob-proxy and selenium to play together nicely. I'd now like to monitor the requests as they occur, ...
2
votes
2answers
7k views

Selenium - Find exact text match using CSS locators

According to A way to match on text using CSS locators, we should be able to use "^$" to find exact text match using CSS locators. But with div class="item"><div ...
2
votes
1answer
3k views

Flex Test Automation Tools Questions

Below tools I figured out for Flex Testing FlexMonkium - Selenium IDE Addon FlexMonkey - http://www.gorillalogic.com/flexmonkey FlexPilot - https://github.com/mde/flex-pilot/wiki FlexUISelenium - ...
2
votes
1answer
207 views

BDD with 3rd party services

I am developing a asp.net mvc site that depends deeply on a 3rd party web service. I would like to know what is the best approach to develop this site since the web service is not ready yet and I ...
2
votes
1answer
55 views

Driving client interaction tests with Selenium

I have some experience with JMeter for performance and scale, but I'm very new to Selenium for browser based testing. At present I have some simple Selenium scripts recorded for Firefox. These are ...
2
votes
3answers
735 views

How to make my tests more robust in WebDriver using JUnit (code included)

I'm hoping someone can advise me on some best practices to make my tests more robust. The problem I'm having is that every so often my tests will fail at the point of WebDriver waiting for an ...
2
votes
1answer
149 views

Webdriver addon is not starting with Firefox

I have a Selenium test suite configured to run with Django & teamcity but today I have noticed that when running my tests locally, Firefox launches without the Webdriver addon bar across the ...
2
votes
1answer
416 views

Parse .htaccess credentials in Internet Explorer

I am trying to access a .htaccess protected test url and I get the following error When i am trying to run the tests in IE Failed to navigate to ...
2
votes
1answer
460 views

WebDriver Ruby binding: How to specify Firefox binary path in code?

I'm writing my test cases in Windows7 with Ruby (v1.9.3-p194). Please, note that I want to specify Firefox binary path when using RemoteWebDriver, not FirefoxDriver. Here is the command line I used ...
2
votes
3answers
4k views

Selenium Webdriver cannot locate element for right click event

Hi Guys. I have a problem with right click mouse event in Selenium 2.0. I'm using that method but in a console I've got: Unable to locate element: ...
2
votes
1answer
846 views

Deploying Selenium RC tests with Teamcity

I'm looking at setting up my Selenium tests in a QA environment which will run with a Teamcity build each time. This seems to be the best resource I've come across so far where someone has gone ...
2
votes
1answer
495 views

Selenium RC using Grails unable to open URL

My Selenium RC code is launching the browser but it is taking me to C:\Users\Kanishka\AppData\Local\Temp\customProfileDir3e16427300054effa807e843dd1a332f\core\Blank.html instead of the intended URL. ...
2
votes
2answers
459 views

Running Selenium as a service with multiple users

I want to run Selenium on a Windows server and have multiple testers connect to it. If two users connect at the same time and both ask to run a test against a browser, will Selenium start two ...
2
votes
1answer
1k views

How to instantiate a .NET FirefoxDriver when FF is installed in non-default location?

My Firefox 5 is installed not at the default location. So, I tried with the following to create a FirefoxDriver: private IWebDriver driver; [SetUp] public void SetupTest() { var ffBinary = new ...
2
votes
2answers
411 views

Newbie question: How do I run a JUnit 3 test on Portable Firefox 3.6 in Selenium RC (1.0.3)?

I'm pretty new to selenium, and I'm following the Selenium Simplified book examples. I'm trying to run a simple test that was created in Selenium IDE on Portable Firefox 3.6, and saved as a JUnit 3 ...
2
votes
3answers
705 views

Testing the popup with Selenium IDE [closed]

Getting below error Window does not exist. If this looks like a Selenium bug, make sure to read http://seleniumhq.org/docs/02_selenium_ide.html#alerts-popups-and-multiple-windows for potential ...
2
votes
2answers
118 views

Regarding selenium commands [closed]

I am new to Selenium automation. I have some queries to be clarified. I have recorded and done the play back. Issue is as below: If I use the clickAndWait command in Selenium IDE, it shows an error ...