Selenium is an open source framework for testing web applications.
3
votes
4answers
2k 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
5answers
5k views
Load Testing, Selenium Vs Jmeter Vs other tools
I have been using Selenium/Webdriver for functional testing in a grid setup.
We are in the process of transitioning to a Solr based search service. I already have Solrmeter for load testing the ...
3
votes
3answers
6k views
What is Selenium's default timeout for page loading?
I am using Selenium 2. I have loaded the page using Get command in WebDriver class which is in the package org.openqa.selenium. My question is that what is Selenium's default timeout for page loading?
...
3
votes
2answers
3k views
Solving “SeleneseTestCase is deprecated” issue
I'm working through the "Selenium Simplified" book just to really gain a solid understanding of Selenium and Java. I know the basics of Java, but this one is frustrating me. I must be missing some ...
3
votes
2answers
459 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
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
3answers
6k 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 ...
3
votes
3answers
712 views
Webdriver Check if Checkbox is Set and Set it if Not
I am learning Webdriver with JUnit by going through Alan Richardson's Selenium Simplified book and taking translating the exercises/tests from Selenium RC to Webdriver. So far, this has proven to be ...
3
votes
1answer
111 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
172 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
3answers
3k 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
4answers
458 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
2k 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
2answers
166 views
What is the best way to have a SpecFlow project run across multiple browsers?
I'm working on setting up a SpecFlow project to test a portal. Thus far I've haven't had issues writing some "hello world" features and steps. My question is as the testing project grows, what is the ...
3
votes
2answers
961 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
4answers
1k 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 ...
3
votes
2answers
1k 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
568 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
512 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, ...
3
votes
1answer
310 views
Performing administrative test cases in Selenium IDE
For a Drupal site, I have written a test script in Selenium IDE that logs in as the administrator, adds a new user and peforms a series of tests on the registration page.
Once this user has been ...
3
votes
2answers
238 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 ...
3
votes
3answers
560 views
Handling popup with many buttons using Selenium webdriver
I'm using Selenium web driver with Java language. When there are two buttons in a popup i.e. ok and cancel , it can be easily handled with web driver using the following code:
Alert alert = ...
3
votes
2answers
536 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
1k 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 ...
3
votes
1answer
381 views
PageObjects: Aggregation/Composition vs Inheritance for nested components
I need to refactor my Selenium tests, and was wondering what the best design solution would be for a portal with a hierarchical page organization. We are using tiles, and we have defined a baselayout ...
3
votes
1answer
705 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
3answers
4k views
A way to match on text using CSS locators
So I use xpath locators and slowly converting to CSS.
I haven't found a way to do an exact match based on text.
For example converting //a[text()='Log Out'].
I know you can do css=a:contains('Log ...
3
votes
2answers
1k 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
2answers
215 views
Running tests in parallel using Jenkins Grid plugin
I have Jenkins 1.499 running Watir-Webdriver tests on a Windows 2008 (64bit) server alongside the Grid 2 standalone server (and Jenkins Selenium Grid plugin).
I can run my tests through the ...
3
votes
4answers
2k 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 ...
3
votes
3answers
2k 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.
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
0answers
409 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
1answer
165 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
7answers
3k 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 ?
2
votes
5answers
127 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
4answers
674 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
752 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
93 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
125 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
1answer
3k 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
1answer
601 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
...
2
votes
4answers
1k 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
3answers
282 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
4answers
2k 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
572 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
1answer
6k 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 = ...
2
votes
2answers
740 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
288 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
1answer
34 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 ...
