Tagged Questions
2
votes
1answer
48 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
38 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, ...
1
vote
0answers
205 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
...
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 ...
2
votes
1answer
140 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 ...
3
votes
2answers
214 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
397 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
328 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 ...
0
votes
2answers
1k 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
711 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
95 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 ...
16
votes
3answers
518 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
1answer
692 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
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 ...
0
votes
1answer
164 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
249 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
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 ...
1
vote
3answers
777 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.
-3
votes
2answers
322 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
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 ...
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 ...
1
vote
1answer
491 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
3answers
438 views
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 ...
0
votes
0answers
270 views
Chrome driver not working in linux
i have followed following steps in the following link
[http://selftechy.com/2011/08/17/running-selenium-tests-with-chromedriver-on-linux][1]
unable to run tests on chrome browser in linux
getting ...
1
vote
0answers
234 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 ...
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 ...
0
votes
3answers
405 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(), ...
0
votes
1answer
404 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 ...
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 ...
4
votes
4answers
1k views
Testing Page Layout with webdriver
Has anyone tried to test the page layout of a website using webdriver? To be specific, using webelement.getPosition() and webelement.getDimension().
Shouldn't these two methods be enough for testing ...
0
votes
1answer
496 views
How to access sitemap tree child node navigation link using selenium webdriver [closed]
The website I am trying to automate can be navigated by using sitemap tree.Now in order to access the child nodes from selenium I wrote the following code:
IWebElement menu = ...
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 ...
1
vote
1answer
301 views
What is the max number of threads allowed for running TestNG tests in parallel?
I’m trying to run TestNG tests in parallel, right now I’ve set “parallel=tests” & ‘thread-count=25’ but I see that only 10 threads are running at a time. Is this testNG’s thread limit? Is there ...
1
vote
2answers
1k views
Selenium 2.0 WebDriver: Clearing Session Data
Is there a way to clear out session data for a driver instance in WebDriver? My code is written in C# (and NUnit), but I'm not picky on the language for the answer.
0
votes
2answers
2k views
Running WebDriver tests in parallel using testng.xml
I'm trying to run WebDriver tests in parallel using testng.xml. I'm able to run testng tests in parallel by using parameter parallel="tests" but running with following paramters, "methods", "classes" ...
1
vote
2answers
2k views
How to specify a Firefox profile name when using webdriver + python
I'm using python 2.7.1 and selenium 2.20.0.
I have a seperate firefox profile called "selenium" which I want to use when running the webdriver.
I managed to do it by specifying the complete path to ...
0
votes
2answers
639 views
FlexWebDriver does not work with YouTube under FireFox?
I want to make a script that plays all videos of YouTube channel and perform player settings and return status.
Execution of the following command does not create any error on java stacktrace but, ...
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: ...
4
votes
2answers
425 views
What's the best approach to asserting values with automation testing test cases from complex business logic?
Suppose you have automation tests (my example uses Selenium) to assert complex business logic for a web site. What is the best way to assert that thousands of different test cases are outputting the ...
4
votes
1answer
878 views
Send keys to no element in particular
The way I know of sending keys using the WebDriver Python bindings is as follows:
element.send_keys(value)
How can I send a key (specifically the Escape key) to no element in particular, just to ...
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 ...
2
votes
1answer
395 views
Is there a way to disable a JavaScript function of the tested application from Selenium WebDriver automation project?
I need to disable a particular JavaScript function of the main application for which I am creating automated tests using Selenium WebDriver.
Is there a way to do this?
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 ...
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 ...
1
vote
1answer
1k views
Can't open webpage using Firefox WebDriver using Selenium [duplicate]
Possible Duplicate:
I face a problem while opening Firefox with Selenium script
import org.openqa.selenium.WebDriver;
import org.openqa.selenium.firefox.FirefoxDriver;
public class ok {
...
2
votes
3answers
1k views
Unable to get Selenium Web Driver running with Java
I tried running the following code to start running Selenium WebDriver on Java, using the following code
import org.openqa.selenium.WebDriver;
import org.openqa.selenium.WebElement;
import ...
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 ...