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" ...
2
votes
0answers
38 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)
...
2
votes
1answer
55 views
Selenium WebDriver | Unable to switch to apparent pop-up
I am trying to automate Peoplesoft 9 based Web application on Firefox 20.0.1. On clicking a search icon another form opens which I thought to be a pop-up and tried my code -
...
2
votes
1answer
86 views
Selenium Webdriver | Unable to locate element error
I am trying to run the below code but getting error. Can you please point out the issue?
import java.util.concurrent.TimeUnit;
import org.openqa.selenium.By;
import org.openqa.selenium.Keys;
import ...
4
votes
2answers
143 views
Best practices for developers to increase testability of web apps for QA?
I'm writing a document for a developer at my company who will be working on a web app. Here's the advice I have for him so far (below). Can any of you think of more that I can add? Not sure which tool ...
1
vote
1answer
67 views
Is Selenium 2 WebDriver JavaDoc API available offline?
Can I get a offline copy/archive of Selenium Webdriver Javadoc API which is available here so that I can bind the same to my Eclipse IDE for offline use?
A ready-made HTML archive will be ...
2
votes
1answer
45 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 ...
1
vote
0answers
37 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
100 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 ...
1
vote
0answers
200 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
...
1
vote
1answer
186 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", ...
3
votes
2answers
155 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
136 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
1answer
271 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?
0
votes
2answers
61 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 ...
3
votes
2answers
209 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
394 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
320 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
471 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 ...
4
votes
1answer
204 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
989 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 ?
3
votes
3answers
684 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
2answers
368 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 ...
2
votes
1answer
94 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
146 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.
...
16
votes
3answers
511 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
845 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
1answer
677 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
259 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
110 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
137 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
992 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
162 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
716 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)
...
3
votes
3answers
968 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
244 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
345 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
159 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
128 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 ...
3
votes
1answer
277 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, ...
1
vote
1answer
256 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
427 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 ...
1
vote
3answers
748 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
111 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
118 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
136 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
315 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 ...
1
vote
1answer
1k 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
124 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
209 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
548 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 ...