WebDriver is a tool for writing automated tests of websites. It aims to mimic the behavior of a real user, and as such interacts with the HTML of the application. Rather than running as a JavaScript application within the browser (with the limitations this brings, such as the "same origin" ...

learn more… | top users | synonyms

2
votes
2answers
316 views

Fitnesse + WebDriver: any working solution?

Could you please tell me if there were any attempts to integrate Fitnesse and Selenium WebDriver? I'm looking for something like Selenesse (https://github.com/marisaseal/selenesse), but for WebDriver, ...
3
votes
2answers
296 views

Is it a good idea to learn Selenium RC alongside Webdriver

I have recently started exploring Selenium. According to the experts future lies in Selenium Webdriver. But my question is being a predecessor should I also learn Selenium RC? Will it be worth ...
2
votes
1answer
1k 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
1answer
1k views

Unable to launch Chrome in remote webdriver

I have tried the following three options . I am using C# DesiredCapabilities capabilities = DesiredCapabilities.Chrome(); capabilities.SetCapability("chrome.binary", ...
7
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 ...
2
votes
1answer
485 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
4answers
3k views

Is it possible to stop page loading on the browser using selenium web-driver?

I searched online, but couldn't find anything about how to stop page loading over a browser using selenium web-driver. Any idea for the same?
1
vote
4answers
312 views

Testing Server/Workstation Hardware specs recommendations?

I wanted to reach out and get some opinions of Testing hardware. Should I use VMs or a stand-alone tower? If I use VMs, what would be some recommended hardware specs for the hosting server? If a ...
6
votes
3answers
909 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
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 ...
1
vote
2answers
3k views

Selenium WebDriver: select value from KendoUI DropDownList

I'm not being able to select a value from a Kendo's dropdown, this is the code (C#): var select = FindElement(By.Id("Type")); select.SelectByValue("HouseHold"); That's not the selenium raw api, I'm ...
5
votes
2answers
604 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. -- ...
0
votes
2answers
6k 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
3answers
8k 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 ...
0
votes
4answers
1k views

How to close pop up window in Selenium webdriver?

Below is my Selenium Webdriver script. When I run this script my website is opened but the popup window is also opened. How do I close this popup window so the script can continue? Take a look on ...
3
votes
2answers
272 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 ...
0
votes
1answer
236 views

check for value if found before adding it to my drop down list?

i have a drop down list that i add items to it,i ask the user to type in brand name and check first if that brand is already found on the drop down list if yes prints a message if no do some actions. ...
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 ...
0
votes
2answers
3k views

What's the relation between Selenium WebDriver and these other tools?

I've used Selenium IDE to test Drupal (PHP) sites but want to create more advanced tests with loops and such. I hear Selenium WebDriver is all the rage, but when I google it, all these terms pop up ...
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 ...
2
votes
1answer
497 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
149 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 ...
0
votes
1answer
487 views

Unable to locate element (Modal Dialogue Box)

I'm new to Webdriver. I need to automate a scenario on Mozilla, System info: os.name: 'Windows 7', os.arch: 'amd64', os.version: '6.1', java.version: '1.6.0_27' I have a scenario to create a user and ...
1
vote
2answers
4k views

WebDriverWait or ImplicitlyWait or ExplictlyWait nothing works

I'm using Selenium 2 tests (written in C#) that choose values from a "select" control. Selection causes a post-back to the server, which updates the state of the page. I am therefore performing a ...
0
votes
1answer
378 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 ...
0
votes
1answer
3k views

How to retrieve INT value from TEXT box using Selenium/Webdriver Python binding?

Hi guys. I have this code tcost = driver.find_element_by_id("MainContent_txtTotalCost").text total = int(tcost) driver.find_element_by_id("MainContent_txtVisa").send_keys(total/2) ...
4
votes
3answers
9k views

How can I switch to new window using webdriver?

I have clicked an image in a slide show and it generates a new window. Once the window opens I need to bring focus on new window and do some stuff. I have attached my code below, but it is not ...
4
votes
1answer
484 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 ...
2
votes
1answer
1k views

How to indicate an ` ` in xpath?

Say we have the following HTML code. What I want is to locate to the label element whose text is 'AgendaShowCapacity (1 remaining)' with XPath. <div id="pageContent"> <fieldset> ...
1
vote
2answers
225 views

Check-box remains checked up after test and impacts another tests

I have created a test case where I shall enter details for a deal to be scheduled for a future date and time. I have a pop up which is listing all existing deals having check boxes for selecting one ...
0
votes
1answer
227 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 ...
5
votes
1answer
943 views

Automated tests pass every time when run individually, but when they are clumped into a test suite it's a toss up if the tests will pass

I have around 200 test classes for my web application at the moment. I use Selenium2/Webdriver and the tests are written in java, with TestNG used as my framework. When I run each test by itself, ...
3
votes
1answer
460 views

Parameterized JUnit tests with HtmlUnitDriver leading to test termination

I came across an unusual issue with my automation tests while using the HtmlUnitDriver. I have been using the junit parameterized class to iterate over a list of urls to run some of my tests. The test ...
2
votes
2answers
972 views

Verify text present in jquery dialog box

I need to verfiy the dialog box displayed on clicking a 'Save' button for below conditions. Whether the dialog box is displayed? Text present in the dialog box? I have tried using all locators ...
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
228 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.
1
vote
1answer
168 views

Is there a way to shorten the time Selenium2/Webdriver takes to look for an element when a failure is expected?

Selenium2/WebDriver is optimized for positive testing paths. My web application hides elements based on user permissions. I am looking for an element and throwing-catching the exception when it does ...
1
vote
1answer
250 views

Error on command: service: “ecmascript”

I have sucessfully run locator commands in Firefox, Chrome and IE but I have an issue with Opera 12.02. This code is the source of the issue: ...
-3
votes
2answers
887 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
2k 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
183 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
2answers
395 views

Conditional statement for fail and error test outcomes in Selenium?

Say I have this function: def tearDown(self): """ clean up by closing the browser window """ self.driver.quit() I want to skip closing the browser if the test failed or errored out (so ...
1
vote
1answer
874 views

JUnit Framework - Selenium Webdriver - Excel Input Output - Apache POI

I would like to know, do we use Apache POI when interacting with Excel Files for Selenium Webdriver (under JUnit framework) or is there any better approach? Let me know if further clarity is ...
3
votes
3answers
1k views

How to fix intermittent typing problems with send_keys?

See attached. Once in awhile (say, one in several hundred test runs), I'll have something like this happen: What it should have typed was AttachmentCount:0. Another example where it is retyping ...
4
votes
3answers
725 views

What is the best way to handle minor intermittent automation failures during cross browser testing?

I run Web Driver (.Net version) with SpecFlow as my test driver on some fairly general Cross - Browser scenarios so I often am rerunning tests as I add new ones, or clean up old automation. On ...
9
votes
8answers
14k 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
2k views

IE always opens with random local host and msg:"This is the initial start page for the WebDriver server

I have my WebDriver tests running parallel in IE, Chrome and firefox. When I run test in IE browser it node gets registered with the hub, and the browser opens and it gets redirected to some random ...
1
vote
0answers
392 views

Dependent methods in the same class run out of order only when included in a “testng suite”; running class independently respects the dependency

I have a class with dependent methods using the TestNG annotation dependsOnMethods The test runs fine 100% of the time if I simply run it as a TestNG Test from the package. When I include the test ...
0
votes
1answer
2k views

Unable to add Safari developer certificate in safari

Enviornment: Maz OSX browser : safari wedriver: 2.24.1 Created safari extension and safari developer certificate from apple developer site. tried adding the certificate in safari keychain login . As ...