Exporting your bugs out of YouTrack

If you need to export your bug reports from your YouTrack instance, this is how to get it done using C#. Its a small example that will print all the issues,comments and attachments for each project in your instance. Don’t forget to enable the REST API in your YourTrack settings page. Create a new project […]

Read more
PowerShell for monitoring proces memory usage

Here is a small bit of PowerShell that monitors the memory usage of a process and outputs the results in a CSV format in the locale of your choosing. I needed this because the sysadmins disabled perfmon and I really wanted to import the raw data into Excel to produce some graphs. You can use […]

Read more
Combining SpecFlow and Selenium

One of the cool things I like to do when testing webapps, is to define the testcases using SpecFlow (also known as Cucumber) and then use Selenium to actually execute the testcases against the web-application. Here is an example testcase: And here you can see Selenium using Firefox to perform all the actions and checks:

Read more
Automatic conversion of Tables to your C# classes using Specflow.Assist.Dynamic

Using tables in .feature files is good practice for creating readable and maintainable testcases. When you create the step definitions, you’ll frequently find yourself creating code to convert the fields in the Table class to something more useful for your code. Using Specflow.Assist.Dynamic we can have automatic conversion between the Table class and a collection […]

Read more
Sometimes reality rocks

Today one of my testers logged a bug that made me smile: “When I hit the ‘Save As’ button, my desktop is rotated left by 90 degrees” … … It was reproducible. … … This is why I love my job.

Read more
Setting the language for your .feature files

The syntax of the .feature files is meant to be readable by your users, so of course its logical that we should be able to create .feature files in many different languages. How to set the language to use Setting the language for all .feature files If you want to set the language for all […]

Read more
Basic integration of automated testcases with TestRail

In a previous post I talked about TestRail and using it for testcase management. In this post we dive into getting this up-and-running using a combination of SpecFlow and TestRail. SpecFlow is the tool that will run our testcases. TestRail is where we maintain lists of testsuites, testcases and testresults. Setup a project on your […]

Read more
Testcase management – my favorite tools

What’s the state of the product? Which areas need more work? Is it good enough for go-live? These are some of the most important questions every tester and testmanager needs to be able answer right now! If you’re working on a small project then a few worksheets in Excel with functions such as COUNTIF(), DSELECT() […]

Read more
Techdays 2014 – Automated crossbrowser testing with CodedUI tests
Logo of Techdays 2014

Presented by Marcel de Vries. Was an interesting presentation with a overview of CodedUI tests and the UIMap. There’s loads of information available on-line, so I wont repeat that here. Some bits that did stick in my mind. CodedUI webtests use Selenium as driver for Internet Explorer. You’ll need at least Visual Studio 2012 with […]

Read more
Installing SpecFlow in Visual Studio 2013 Premium and up

In this post we go through the steps needed to get SpecFlow up-and-running in Visual Studio 2013. I’ve done this using the Premium edition and it should work on most editions except for Express. Install SpecFlow Click on Tools -> Extensions and updates: Click on ‘Online’ and type in SpecFlow in the searchbox: Click on […]

Read more