The Future of Testing: Quality Center vs. Team Foundation Server

Thursday, January 5, 2012

Tweet Quality Center vs. TFS is a question I hear a lot, each customer that works with Quality Center has faced this question when the development team has decided to work with TFS or the Testers want features to help them improve their testing quality. Instead of talking about that subject only with my customers I decided to write something on that subject to help you understand the power of TFS for Testers, and how this platform will improve your Testing abilities with more advance features and align the Testers as part of the development Team. ...

TFS API Part 42 – Getting Started With Lab Management API

Thursday, December 22, 2011

Tweet I did some cool things lately with TFS Lab Management API, from connecting it to TFS Web Access and allow REST access to the lab (if you want to ask why – The customer is always right ). So this part of TFS API will deal with Lab Management API, although Lab Management API is not public I’ll show some cool things you can do but this will be under your own risk. Again, this is just the beginning of the Lab Management API, so let’s get started Download Demo Project Step 1:...

How To: Detect Mobile Device Users In Your Web Site – JavaScript

Friday, December 9, 2011

Tweet Today everything is about Mobile Devices, users are using their tablets and phones to view web sites. Some web sites has a mobile application or just what to inform the user about a related mobile application. So the question is how to inform the user about a mobile application related to a specific site? You can put some links in your site and maybe the user will click on those links and will be redirect to your mobile application, but I want more – I want my site to detect if the user comes from a mobile...

TFS API Part 41–Manage Groups and Members

Wednesday, December 7, 2011

Tweet In the past I’ve showed some examples on how to work with TFS IGroupSecurityService for getting users list, but you can do much more, Create new Group, Add or Remove users from group etc… TFS API Part 25: Get TFS User List (Mail Sid, Account, Domain) – TFS 2010 TFS API Part 4: Get TFS User List (Mail, Sid, Account, Domain) Download Demo Project Step 1: Connect To TFS and Get All Users and Projects As always we need to start with connecting to...

Email Confirmation – ASP.NET MVC Web Application

Tuesday, December 6, 2011

Tweet In my previous post on ASP MVC I showed How To Add Captcha to ASP MVC Web Application, but even if you use captcha you still want to make sure the user email is real and not just a fake one. In order to make sure the user has gave you his real email you need to use Email Confirmation mechanism to your site. ASP MVC is doing some of the work for us, when a user is register to your site is assign with a unique ID (Guid) property called -  ProviderUserKey I’ll use this...

My Lecture at Munich ALM Days 2011

Monday, November 28, 2011

Tweet The conference was Amazing!!! I had great time in the conference with partners, customers and friends, I didn’t went to most of the lectures (Ich weiß nicht Deutsch spricht) but from the people who presented the presentation and the title there were plenty of interesting lectures. In my lecture I’ve talked about Applied Software Testing with Visual Studio 2010, I showed demos on Test Manager, Web Performance Test, Load Testing and of course Coded UI Testing. I’ve also talked about Migration from Quality Center to TFS 2010 using Scrat that includes everything from Requirements, Defects, Test...

Add reCAPTCHA To ASP.NET MVC Web Application

Monday, November 14, 2011

Tweet Captcha is a type of challenge-response test used in computing as an attempt to ensure that the response is generated by a person. When building public web sites captcha is very important to avoid script and bots running on your web site. First go to reCAPTCHA site and register for unique Key, then Download reCAPTCHA .NET Library. Save you Public and Private keys safely. Now, Let’s start new ASP.NET MVC 3 Web Application Project in Visual Studio 2010 Download Demo Project Choose to create from “Internet Application”...

TFS API Part 40–Build Service Host

Tweet First, what is the Build Service Host or IBuildServiceHost? The BuildServiceHost object represent the physical location of the Controller and/or Agent objects. The name property is usually the machine name that the Controller or Agent lives on. In earlier versions, this was simply the Machine Name property on the Agent. Now, I’m working with a customer works with Lab Manager and after upgrading the SCVVM and perform some port changes we faced an issue – The Build Service Host stuck in your server with no way to remove it. (there is no UI for Build Hosts) ...

JavaScript YouTube Downloader–The Compact Edition

Sunday, October 30, 2011

Tweet Couple of days ago I wrote about how to download YouTube movies to your machine using JavaScript, The solution I showed didn’t worked for all browsers because Cross Scripting blocks in some browsers. But don’t worry, there is always a way! I’ve toke the same script I’ve used in the YouTube download tool and add a “JavaScript :” before the script so it can be used directly from the YouTube page. All you need to do is enter the desire YouTube video and click the bookmark or just paste the entire script in the address bar. (Don’t forget the JavaScript : before...

SharePoint API – Download \ Upload Documents (Tool)

Thursday, October 27, 2011

Tweet A long time ago I wrote about SharePoint 2007 Files Restore Tool, tool that allows you to connect to SharePoint content database (not need to have SharePoint installation) and extract documents. The reason I wrote this tool was a customer that upgrade TFS and perform a new installation of SharePoint so he lost all his documents, this tool helped me to extract all documents and added them to the new SharePoint site. SharePoint upgrade/migration can be unpleasant and sometimes I prefer to do a clean installation when upgrading or moving TFS and then just import the documents...