Selenium is an open source framework for testing web applications.

learn more… | top users | synonyms

2
votes
1answer
172 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 ...
3
votes
2answers
277 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 ...
25
votes
4answers
2k views

Are Selenium functional tests reliable enough to be worthwhile?

I'm finding that regardless of how solid my tests scripts are, I still have tests that fail (falsely), even though they worked just fine before. I'm not talking about if markup changes (although that ...
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 ...
0
votes
2answers
5k views

Error upon starting Select server “Could not find agent library JVMHOOK”

I am attempting to run the Selenium server for the first time on my machine and am receiving an error when running the jar, or when attempting to find the java version. Here is the error: ...
2
votes
1answer
515 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 ...
3
votes
1answer
150 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 ...
1
vote
2answers
471 views

Selenium, monitor network, captureNetworkTraffic command not available

I need to know if an application is requesting one beacon via an image or XHR request. Manually I test it via the network tab in FireBug or monitoring the proxied requests in other browsers... ...
1
vote
1answer
360 views

How to create shortcut to run Selenium script?

Is it possible to have some kind of shortcut (probably bookmarklet) to run specific Selenium script? While developing webapp I'd like to have a possibility to quickly run specific Selenium script to ...
0
votes
1answer
396 views

How to assert values on a page opened by a link on another page?

A link on page 1 opens a new page "receipt page". It contains only text values. I need to assert or verify values on the receipt page to ensure that this is the correct receipt. After executing the ...
4
votes
1answer
500 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 ...
0
votes
1answer
823 views

Can Siebel be automated using Selenium? [duplicate]

Possible Duplicate: does selenium support testing siebel application? I am accessing Siebel using IE browser. Will I be able to automate my functionality in Siebel using Selenium? If yes, ...
-3
votes
1answer
1k views

What are the advantages of web driver over selenium RC?

Please provide answers in detail, So that we could clarify that which one is to choose, Web driver or Selenium RC.
0
votes
1answer
242 views

Selenium RC is out dated or still in the market after selenium 2.5 release?

I am writing a training course for Selenium automation testing. I am a bit confused comparing Selenium RC to Selenium2/Webdriver, since the latest release of Selenium2/Webdriver has all of the ...
11
votes
6answers
1k views

How do I keep Selenium test cases DRY?

I'm somewhat new to Selenium and I have a problem. Whenever I write a test case, that test case starts with logging in, and it's the same four steps every time. If I change the password for that ...
3
votes
1answer
324 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 ...
2
votes
3answers
5k 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: ...
1
vote
0answers
242 views

Selenium Webdriver and OpenLayers

I would like to check that the locations asset on map (openLayer) are the same with some asset in a row. What is the best way to do this? I'm using the TestNG framework.
-3
votes
2answers
953 views

Outlook Mail testing

I want to know how to use outlook to test mails (the mail has a link that needs to be clicked to approve or deny the request). How do I write this in Selenium Webdriver in c#. I am quite new to ...
3
votes
3answers
3k 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 ...
2
votes
1answer
187 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 ...
1
vote
1answer
3k views

Click event in Selenium webdriver is not working [closed]

I tried everything: click, send, etc. Below is my code: WebElement element = ((WrapsDriver) selenium) .getWrappedDriver().findElement(By.xpath(LOGOUT_XPATH)); element.sendKeys(Keys.ENTER); try { ...
1
vote
1answer
509 views

How to Spy elements in an in-browser applet

I am trying to automate user interaction on a web application which is having embedded java applet in it. Need a tool that can spy the objects in the java applet in browser . The plan is to use FEST ...
1
vote
1answer
352 views

Selenium not recognizing actions on JavaScript-generated page

O hai SQA, first post here. I just started using Selenium a few days ago. However, I'm a little stumped getting it to work with one of my projects. I have an HTML file containing a collection of ...
4
votes
1answer
332 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 - ...
10
votes
8answers
15k 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
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 ...
2
votes
2answers
440 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?
1
vote
1answer
1k views

Choosing framework type for selenium RC/Webdriver

I had opportunity to work in around 3 different projects, where selenium have been used extensively. Among them 2 were based on Data driven (say test cases driven by testng XML for each scenario with ...
1
vote
1answer
3k views

Runtime exception at selenium.start() - Could not start Selenium session: Failed to start new browser session: Error while launching browser

Followed this post - http://stackoverflow.com/questions/1414934/selenium-could-not-start-selenium-session-failed-to-start-new-browser-session Error comes up at selenium.start(). I am using Selenium ...
2
votes
1answer
905 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 ...
0
votes
1answer
285 views

How to record a thickbox using Selenium IDE?

Is there any way to record a thickbox using selenium IDE? The thickbox which I am trying to record is developed using jQuery.
1
vote
3answers
1k views

Selenium Webdriver - Unable to get focus back to child window

I have scenario where clicking on some link in parent window opens a new window, after performing the actions on the child window, iam unable get back focus on the parent window, I have used the ...
3
votes
3answers
1k 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 = ...
1
vote
2answers
851 views

Is there any way to convert existing QTP script in to selenium?

Is there any way to convert existing QTP script in to selenium? if yes then how ? is there any converter to convert or recreation of script is only possible solution for tha?
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.
4
votes
4answers
407 views

How to test the test scripts?

Once an automation test is created, how do I test it and make sure the test does what its supposed to do? I can easily test the scenarios where test passes, but how to go about the ones that fails due ...
1
vote
2answers
539 views

Do I need the PageObjects design pattern or not?

Right now I have a Selenium WebDriver framework that looks like this (vastly simplified): \app_func.py -- app_func has the web app's "actions", such as "save a new search" \app_data.py -- app_data ...
1
vote
0answers
360 views

Passing session while switching control to a pop-up window

I am trying to choose a date by clicking an image which results in a pop-up window with a date picker in it.But when done through selenium the session expires and the login page appears in the pop-up ...
0
votes
1answer
5k views

Using Selenium scripts with JMeter for load testing

I'm facing an untraceable problem in creating a 50 users load test on a JSF web application. The approach that I'm following is this: Writing a test script in Eclipse using Selenium RC API. ...
0
votes
1answer
320 views

TestNg not executes @BeforeGroup if the method is in another class

My code structure is like this... I have 4 classes having 10 tests and one @BeforeClass method to run before any of the test.In each of 4 classes ,all tests are of one single group. And I have one ...
3
votes
4answers
6k 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" ...
5
votes
5answers
6k 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 ...
1
vote
1answer
663 views

How can I automate in Selenium IDE for email activation link?

In the send invitation process, the user will get a link in his/her inbox. When the user will click on the link, it will ask for a password and confirm the password. How can I automate it with ...
0
votes
3answers
1k views

How to automate the action on a canvas object, when the canvas element has no name or ID in Selenium?

I want to automate the testing for a digital signature, which is a canvas element...Can anyone provide me with sample code, which could be used...I have tried, selenium.clickAt(), ...
6
votes
4answers
2k views

what is the best way to write automated end to end user scenarios?

When automating user scenarios, we typically cover an end-to-end user flow. Unit testing recommends that each test method should be independant and only test one thing. But things are different in ...
0
votes
1answer
375 views

Advance commands of Selenium are not working in IE browser

I am using the SeleniumBackedWebdriver API in my current project, which supports both Selenium RC and WebDriver APIs. The Advanced User Interactions API like mouseUp(), mouseDown(), runScript() are ...
0
votes
1answer
821 views

SSO in Selemium web driver

I am trying to run selenium web driver(Firefox) test cases which will need a single sign on (web). Issue over here is i have to sign in manually with my OTP every time i tear down the test case. So i ...
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
5answers
135 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?