Skip to main content
Search type Search syntax
Tags [tag]
Exact "words here"
Author user:1234
user:me (yours)
Score score:3 (3+)
score:0 (none)
Answers answers:3 (3+)
answers:0 (none)
isaccepted:yes
hasaccepted:no
inquestion:1234
Views views:250
Code code:"if (foo != bar)"
Sections title:apples
body:"apples oranges"
URL url:"*.example.com"
Saves in:saves
Status closed:yes
duplicate:no
migrated:no
wiki:no
Types is:question
is:answer
Exclude -[tag]
-apples
For more details on advanced search visit our help page
Results tagged with
Search options not deleted user 18919

Use for questions about testing using C#. This can include unit tests, integration tests, UI tests. If a programmed test uses C#, and the question relates to testing rather than to code, the C# tag should be used.

3 votes

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

I have been using this line of code when I first create my browser instance [Given(@"I have opened an IE browser")] public void GivenIHaveOpenedAnIEBrowser() { Ie = new InternetExplorerDriver(); …
Bence Kaulics's user avatar
0 votes

Selenium Driver Service Not Found Exception

A better solution is to use a Dynamic Path like this new ChromeDriver(Path.GetDirectoryName(Assembly.GetExecutingAssembly().Location)); you will have to use the following: using System.IO; using S …
Malachi's user avatar
  • 587
0 votes
1 answer
5k views

Unable to click on checkbox using Selenium WebDriver

I am passing in the checkbox ID, grabbing the element and then if the checkbox is not checked I want to check it. It wouldn't check the box though, so I was debugging and then it worked when I added a …
3 votes

Automation Testing approach for Web Based Application

From the question you posed I assume that you didn't start with a testing framework and are trying to build your own, you have the built in Unit Test Framework but not the all the classes for Clicking …
Malachi's user avatar
  • 587
1 vote

unable to enter the value second time in same text field in C# selenium

driver.findelement(By.Id("Text"+Keys.enter)); This piece of code is finding the element on the page with an ID of "text" + Keys.enter (whatever Keys.enter translates to in the compiler). This …
Community's user avatar
  • 1
1 vote

Setting up IE driver and FireFox driver

I am using Nuget to install Selenium into my Visual Studio project, and with this I would just install Selenium.WebDriver.IEDriver or Selenium.Mozilla.Firefox.Webdriver. I haven't used the FireFox dr …
Malachi's user avatar
  • 587
2 votes

Selenium 2 Webdriver: Persistent cookie browser restart

What you could do, is try to use an existing profile in the browser, so that way it would actually save the cookies somewhere. Otherwise the webdriver starts up an anonymous profile every time that d …
Community's user avatar
  • 1