C# is a multi-paradigm programming language developed by Microsoft.

learn more… | top users | synonyms

2
votes
2answers
70 views

Selenium WebDriver not properly waiting

I am trying to download a file from a website using a webdriver. But my browser is shutting down before it was able to properly export. I inserted a wait() before I call dispose() but it is not ...
0
votes
1answer
26 views

Options for headless browsers for .net?

I am looking at speeding up my automation using a headless browser. I tried converting my tests to use PhantomJS but test stability took a big hit. Some pop ups don't seem to render correctly, tests ...
0
votes
1answer
66 views

Handling PopUp windows in selenium webdriver by using c#.net

Example of Handling PopUp in selenium webdriver using C#.Net [TextFixture] public class PopUp { IWebDriver driver = null; IWebElement element = null; [SetUp] public void setUP() ...
0
votes
1answer
49 views

C# Selenium Webdriver “The path is not of a legal form.”

Running firefox portable (witch i know used to work). Is now producing an error "The path is not of a legal form." when trying to load profile. var binary = new ...
1
vote
0answers
362 views

Coded UI - How write code to use existing browser (if exists) otherwise launch new browser window

I am stuck badly with this piece of code. I am trying to write a code to use existing Browser if it exists otherwise launch my website in new browser window. Currently, if browser is not open with ...
1
vote
0answers
454 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 ...
0
votes
0answers
6 views

BrowserMob - WebSites not working when using proxy with Selenium Firefox WebDriver

I am using the below .Net wrapper for BrowserMob along with Selenium: https://github.com/AutomatedTester/AutomatedTester.BrowserMob But I'm unable to capture information. Websites won't work when ...
0
votes
0answers
28 views

Skipping iteration for test cases

This is a simulation of the test suite I want to run with selenium webdriver. Running through everything will generate 128 test-cases which are too ambiguous. I plan to reduce it to 32 by only ...
0
votes
0answers
28 views

Selenium C# Why does Telerik Rad date picker clear its date text in the date picker text box when running tests?

using System; using System.Text; using System.Text.RegularExpressions; using System.Threading; using NUnit.Framework; using OpenQA.Selenium; using OpenQA.Selenium.Firefox; using ...
0
votes
0answers
25 views

Access specflow test result in C#?

I am looking to add logging to my spec flow tests. What's the best way to determine if a test passed / failed / was inconclussive? I can do it by looking at ScenarioContext.Current.TestError, which ...
0
votes
0answers
81 views

Hovering over HighCharts - C# Selenium coding

Query w.r.t the answers on this page Selenium WebDriver and Highchart testing I need to hover over highcharts & at a specific point on chart, need to validate tooltip values using C# selenium. ...
0
votes
0answers
276 views

Get Visual Studio (2013 Community) unit test execution messages

Hi, I'm trying to make "nice" test execution report and get next messages: Message StackTrace Elapsed time Test name and Test Outcome are easily taken as TestContext parameters, for output I'm ...
0
votes
0answers
25 views

Log in pop up in Firefox

I am using c# WaTin tool for automation testing. Now during one of the scenario, I get a pop up that asks for log in credentials even after I am already logged in. The pop up does not appear in ...