Tagged Questions
2
votes
1answer
201 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", ...
4
votes
1answer
146 views
Read requests and responses made by browser on naviagating a web page in C# webdriver
0 down vote favorite
share [g+] share [fb] share [tw]
I wants to read all the requests and responses made and get by the browser on navigating on a page.
For ex: If I navigate to ...
1
vote
0answers
245 views
How can I automate testing of HTTP requests? [duplicate]
Possible Duplicate:
Is there a captureNetworkTraffic implementation in Selenium 2 via webdriver?
I'm using Selenium2/C# to run automated tests of a web app. I need to test the HTTP requests ...
1
vote
1answer
2k views
Problem catching Selenium Webdriver NoSuchElementException
I have many test cases written in C# using Selenium2 Webdriver with NUnit. I have a problem that when a NoSuchElementException is thrown, it is treated as an unhandled exception despite me using a ...
2
votes
1answer
652 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 ...
4
votes
2answers
1k views
How can I send the action “Ctrl” + “Alt” + “Double Click” to the browser
I am writing automated tests for a site at work and we have certain screens that when we send a specific set of keystrokes, a section of the page will become visible and allow` us to see information ...
1
vote
5answers
4k views
How to start a Selenium2 WebDriver window in background?
I have a series of Selenium2 test cases in C#/NUnit that are run sequentially. Each test case runs in a new instance of the WebDriver (and this is necessary) - which means that each time a new test ...
3
votes
2answers
2k views
Alternative for user extensions in Selenium 2 WebDriver w/ jQuery?
I've been switching over our company's automation scripts from Selenium IDE to Selenium 2.0 WebDriver. The problem is that we have a crap load of user extension custom commands because of all the ...
2
votes
1answer
851 views
How to instantiate a .NET FirefoxDriver when FF is installed in non-default location?
My Firefox 5 is installed not at the default location. So, I tried with the following to create a FirefoxDriver:
private IWebDriver driver;
[SetUp]
public void SetupTest()
{
var ffBinary = new ...
2
votes
1answer
7k views
How to fix “Permission denied to access property 'document'”?
I posted it on stackoverflow.com. Someone suggested me to post it here...
While trying to automate testing with selenium rc I ran into this problem. I was just following the steps in the tutorials. ...
2
votes
2answers
2k views
switching windows with Selenium2 and c# where popup window has same title as originating window
I've been attempting to figure this out for the past two days, unfortunately with no luck. I'm currently automating a scenario where a new window for a form is popped up from the main application ...