Lync Addin – Send SMS

Thursday, May 21, 2015

Many companies I work for are using Lync for communication inside and outside the company, unlike most IM tools Lync doesn’t allow offline messaging. Which means that when you try to send a message to a contact that is offline you’ll receive the following message: We couldn't send this message because User is unavailable or offline. So I decided to provide a workaround (no I’m not adding offline messaging to Lync) that allows me to send an SMS message to anyone directly from Lync (also pulling user name Mobile Number). * Sending SMS requires a server that supports that...

Automation Runner – Running Tests Without Visual Studio

Wednesday, April 8, 2015

I’m often asked to provide a solution for testers who wants to run automation but don’t want to work with Visual Studio (Or don’t have a license). You can run automation using MSTest or using VSTEST.Console command line tools, working with command line isn’t simple and friendly for testers:     1. Test Methods – How do I know which tests available in each Test Assembly?     2. Running list of tests – I what to control which tests to run and manage my own test plans.     3. Reporting – I want to get real time status on...

TFS Cleaner Tool

Thursday, December 11, 2014

I few weeks ago I wrote a post about Control\Reduce TFS DB Size after received a “There is not enough space on the disk” message. That post shows how to identify what Test Attachments types are taking so much space and using the MS Test Attachment Cleaner to remove them from TFS repository. Two things, first I don’t like using Command Line tool – I prefer UI, so using MS Test Attachment Cleaner isn’t my favorite. Second, there are other things beside Test Attachment what consume a lot of space in TFS. So I decide to create a...

WPF Global Exception Handler

Tuesday, December 9, 2014

I decide to write this post because I’m facing too many applications that crash, yes just crash – no massage or recovery just crash!!! For some application it feels like 50% chance to get an exception, for me when an application crashes frequently I stop using it when I can find a proper replacement, but not always I can find suitable a replacement. In case you don’t know what I’m talking about here is a small application I’ve created to demonstrate what I’m talking about. Now, it doesn’t required a lot of work to handle those unhandled...

How To: Enable Coded UI Html Logger

Monday, November 24, 2014

Many of my customers has already build large amount of Tests based on Coded UI, those tests running every build and every day, for a second everything looks just perfect, until a test failed with unexpected exception…. Then we need to understand why? the test failed because the new build broke the test? maybe something wrong with the test? So the obvious choice is adding logs to Coded UI, Coded UI has some basic logs capabilities, you can use either console, trace and TestContext to write logs inside your Coded UI Tests. Console.WriteLine("Console Writeline"); Trace.WriteLine("Trace Writeline"); TestContext.WriteLine("TestContext Writeline"); Now, if you...

VS 2013 CA0053 : Error Running Code Analysis

Friday, July 4, 2014

I have a lecture next week on performance and developers tools and I went to an old project (TicTacToe – Created in VS 2010 ) I’m using to demonstrate code analysis. I’ve open the project and ran Code Analysis, and I received the following error: CA0053    Error Running Code Analysis    CA0053 : Unable to load rule assembly 'c:\program files (x86)\microsoft visual studio 10.0\team tools\static analysis tools\fxcop\rules\globalizationrules.dll': Unable to load one or more of the requested types. Retrieve the LoaderExceptions property for more information.        (Global)      Right any I tested new project created in VS...