This should help you to get started writing a Yats test case. We will create a Visual Studio solution, set up project dependencies and debug a very simple test case. We are assuming that Yats is installed at C:\Program Files\Yats Create a new C# DLL project: Add the following DLL dependencies to the project: attributes.dll,… Read More »
Note to self: getting an error “An error occurred while validating. HRESULT = ‘80004005’” during Visual Studio Setup build. Solution: check all .csproj projects in the solution, all ToolsVersion values should be same, e.g. 3.5
How to get a short assembly name. Use:
A code snippet on how to populate a TableLayoutPanel cells with controls:
This post will give an example on how to add support for a custom test parameter type. The basic idea of test parameter value handling could be summarized as such: A parameter of a certain type is declared in a test case. In this example, the test case parameter could look like:
I have been struggling with a weird Visual Studio C# Express debugger behavior. My application runs OK without the debugger. When started from VS it either throws an AccessViolationException without a meaningful stack trace or returns with code 0xc0000374. I’m running Windows 7 in VirtualBox, the host OS is Linux Mint 14. Finally I have… Read More »
I’m trying to finally get the Yats application to compile and run on both x86 and x64 Windows versions with a single build. The only library giving problems is System.Data.SQLite. I found an almost complete solution in stackoverflow. Here is a quick reminder on how to set up the Visual Studio project.
On a related note to the previous post, here is a patch that enables the SerialPort.DataReceived event. It is not officially supported in the Linux version of Mono. This workaround works in the following way: When a port is opened, a new thread is started. It polls the port for incoming data and generates the… Read More »