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" ...
10
votes
3answers
5k views
Is there a captureNetworkTraffic implementation in Selenium 2 via webdriver?
If yes, how is it called, or where can I find more info about it? (I'm not talking about using WebDriverBackend.)
If not, what alternatives are there?
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 ...
9
votes
5answers
14k views
How do I download a file using Selenium's WebDriver?
Basically I want to at least check that a download-able file exists / download link works, and preferably get stuff like the file size too.
Here's an example:
link = ...
4
votes
2answers
4k views
How do I handle the login modal dialog created by onLoad in a WebDriver & Java based test automation
I am working on the test automation that uses WebDriver (Selenium 2) and Java. The AUT is web-based application. A modal dialog pops up that requires user authentication before the user can access ...
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 ...
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 ...
3
votes
3answers
349 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 ...
2
votes
1answer
649 views
Inconsistent results when capturing javascript errors with WebDriver
I'm using a technique I found here, to capture javascript errors for testing purposes. It's a technique that is frequently recommended on Stack Overflow for those who need to catch JavaScript errors ...
3
votes
1answer
1k views
Quicker way to assert that an element does not exist
The goal of my test is to assert that a popup does not appear after certain actions.
Previously to test if the popup exist, i have used exception handling.
try:
...
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 {
...
0
votes
1answer
588 views
moveToElement function not working on IE when browser is minimized or not active using Selenium Webdriver
I'm trying to automate an application using Selenium Webdriver. The moveToElement function fails when the browser is minimized or not active (keep other app active). It works when I keep AUT browser ...
-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 ...