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", ...
16
votes
3answers
521 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 ...
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 ...
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 ...
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 = ...
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 ...