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

learn more… | top users | synonyms

0
votes
2answers
77 views

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

Running firefox portable (which 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
1answer
45 views

Verify grid data in selenium webdriver using c#

I am new to selenium. I want to verify data shown in grid on my web application page with database value. I have gone through blogs, and what I have found is: Using Selenium Webdriver in C#: i. ...
0
votes
1answer
35 views

How to wait for element to be clickable in WebDriver with C#

How can i wait for element to be clickable in Selenium WebDriver? When i execute my tests in Firefox or Internet Explorer i have no problems, but when i try to run it on Chrome i get an element is ...
0
votes
1answer
37 views

Handle drop down on web page dialog selenium C#

I am working on automation of a website using Selenium and C#, but I am stuck in a situation where on a button click a new webpage dialog opens and on that web page dialog we have to select some value ...
0
votes
1answer
38 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
169 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() ...
1
vote
0answers
561 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
460 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
23 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
33 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
60 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
31 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
93 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
327 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 ...