Web scraping using selenium and c# can be done quite easily. By locating html elements with the Find Element or FindElements command you’ll be able to filter down to the relevant part of your webpage inside your browser. Combine this with a litle bit of Xpath and you’ll have the exact information you’ll need from a webpage. I’ve been in …
Finding and controlling xhtml Elements with XPath
XPath is a language on it’s own and it’s very powerfull indeed my young padawan 🙂 . XPath allows you to find specific Elements inside XML (and in our case also XHTML) documents. This in fact, means that before we can actually do things in our Browser, we need to find the elements via XPath so that we can influence …
Adding webdriver to your project.
Webdriver is an application programming interface for Selenium. It gives us the tools to send commands to be executed by Selenium. Thanks to WebDriver we can let Selenium know that we want our browser to navigate to a particular URL or that we want to press a button or find a Element (such as a textbox) on a page. In …
First Steps: Getting Visual Studio up and running
C# is an advanced programming language that allows you to write software for many devices in multiple ways. There are many C# tutorials but this and following articles will focus on C# with Selenium webdriver .The most popular environment to program C# in, is without a doubt Visual Studio. Visual Studio is a comprehensive Development Environment with hundreds if not …
Maximize window with selenium in C#
There is more than one way to maximize your browser window with selenium webdriver in C sharp.. In previous versions of webdriver these methods where not standardized over different browsers. Allthough Firefox and Internet Explorer would behave in the same manner, Google Chrome on the other hand would not work differently (selenium 2). As an alternative you can however use …
From EDMX (database first) to Code First
I’m using ODP.net Oracle as the provider for my database and have an application that was created with a db first approach. The upside of this approach is the ease of use. Just pick the tables you want to use and add them to your project and voila. Unfortunately this doesn’t work always and is a source of a lot of grief. The …
List of Tools That I (and maybe you too) definately need to (re)-install on a clean pc
I love productivity, luckely there are tools out there that can help me ! Here is a short (not definitive) list of tools that I use for my own productivity. – Visual Studio (obviously) -Notepad++ : so many usages for quick text editing or viewing large files. (also a very neat compare plugin (npp-compare)) – Resharper (makes life so much easier for a …
How to use cryptolicensing
Cryptolicensing is a software licensing product that is mainly based on encrypted licences. Cryptolicensing is flexible but has a bit of a counter-inuitive way of working if you are not familiar with it. It also requires quite a lot of configuration and even coding in some cases. First things you need to know: The “Cryptolicensing Generator UI” is used for a few …
WPF MVVM in Telerik JustCode
JustCode is a productivity tool from telerik that helps refactoring your code, delivers code analysis and helps in error checking. On first sight it may seem that for MVVM there isn’t much available out of the box. But if you look a bit closer you will find that JustCode supports code templates and these allow you to create flexible …
removing TFS binding from visual studio 2012 and re-attaching it to another TFS
Not that hard really, but lost some time with this because I tried to do this in the Original folder where the Original TFS was pointing to. So, you can unbind your solution on any location, but once you’ve done this, copy your solution to another location so you can bind it with a different Team foundation system. You can …