Selenium is an open source framework for testing web applications.

learn more… | top users | synonyms

8
votes
2answers
1k 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
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> ...
1
vote
2answers
780 views

Robot Framework and Browser support

Has the robot framework support for IExplorer or only for Firefox and Chrome? (If yes, how to configure it?) Thanks!
2
votes
1answer
567 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 ...
1
vote
2answers
1k views

FileUpload using selenium RC and java

I am using Selenium RC and Java and I need to automate the file upload feature.I tried a lot, Clicking on Browse button is not executing and rather getting stuck. I tried in FireFox but to no avail. ...
6
votes
3answers
1k 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 ...
0
votes
1answer
167 views

How to make Selenium IDE prefer name attribute over id attribute while recording?

How to make Selenium IDE prefer name attribute over id attribute while recording? This feature is needed when ids are auto generated by web framework.
0
votes
2answers
2k views

How to Automate Expand tree in Testlink since “XPath” is changing dynamically depending on the testcase

I'm trying to expand a tree of nodes with folder structure using XPath locators selenium.click("//*[@id='ext-gen15']/li/div/img[1]"); but as the folder structure is not fixed and changes, so XPath ...
-7
votes
1answer
249 views

Pre-requisites & Procedure to install selenium tool on Windows 7 Operating system? [closed]

I would like to Install Selenium open source tool in my pc ( windows 7 OS) hence would like to know the procedure as well as pre-requisities . Thank you regards venkat
0
votes
1answer
3k views

How do I get Selenium Server to launch Chrome on 64bit Windows under Jenkins with Selenium Grid?

I am migrating a Selenium server environment from Windows 2008 server 32bit to Windows 2008 server 64bit. Whenever I try to run a job with Google Chrome, I get the following error message: Error ...
0
votes
0answers
1k views

Why can't my Selenium Grid VM node get parameters from/register to the hub?

I'm trying to set up a Selenium Grid node on a virtual machine. I am using VirtualBox for the VM and Jenkins (with VirtualBox plugin) to set up the grid. When I try to register the node, I get the ...
0
votes
2answers
2k views

Selenium WebDriver and Highchart testing

I know this question has been asked before on S.O. and other websites but I haven't found a definite answer -- most of them say its not easily done but I wanted to make sure that was the final ...
5
votes
2answers
828 views

Using Selenium Opera Driver doesn't start my test execution

I am able to open the Opera browser using Selenium Opera driver. But I am unable to navigate to any URL using: driver.get("www.google.com"); Opera driver starts and doesn't load the given link. -- ...
-3
votes
1answer
1k views

Considering automation parameters, which is better: relative Xpath or absolute xpath? [closed]

I want to perform automation (selenium) using Xpath. Which one gives better results?
0
votes
2answers
8k views

How to open multiple browsers using webdriver?

I want to perform multiple browser testing: While working on a project i needed to open multiple browsers simultaneously using Webdriver script. Does anyone have experience in implementing this ?
5
votes
4answers
14k 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 ...
2
votes
1answer
184 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
319 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
3k 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 ...
5
votes
3answers
5k 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
6k 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
584 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
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 ...
1
vote
2answers
606 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
429 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
457 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
557 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
969 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
276 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
375 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
6k 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
284 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
1k 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
4k 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
195 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
699 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
381 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
362 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 - ...
11
votes
8answers
17k 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
8k 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
534 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
4k 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
957 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
291 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
2k 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 = ...