New answers tagged c#
I think Selenium WebDriver is perfect.
What's wrong with Visual Studio Community? It's free, perfect for C# and has the Microsoft UnitTest framework integrated. And if you don't like that one, use NUnit (also free).
I also use Selenium C# for several years and I don't have any problem with Explicit Wait. This issue may be this is not a good + reliable method for explicit wait or maybe this comes from your site We need more info to isolate the issue, I think you need to capture the screenshot and print out HTML when the test failed. Sorry, I don't have ...
In your case the flash allow button is the hardest part, because its not in the DOM, it is something outside of the browser. Something you cannot interact with with Selenium. What I have done in the past is programmaticly take a screenshot of the desktop, look for a partial image (which is the button), return the coordinates of the button and then click on ...
It's hard to check if the button is clickable (working) or not without clicking on it. For your case, so you can use IsDisplayed and IsEnabled to compare status before and after the changes happen.
Resolved. Quite a newbie error. I should use only firebug to find xPath. Like below [FindsBy(How = How.XPath, Using = ...
For testing Xpaths and CssSelectors, please open Chrome and its Developer Tools (by pressing F12). In the console screen, you can enter the following: $x("your xpath here") or $$("your Css selector here") After pressing Enter, the console will list all elements matching your query. This is the easiest method to test and fix any mistakes in your ...
I haven't tried it but there's a Chrome Extension called Selenium Page Object Generator that looks like it automates PO creation, and it supports C#. SWD Page Recorder also automates PO creation, and supports C#.
Top 50 recent answers are included