Mobile testing with Xamarin Test Cloud

One of every two companies nowadays ask for a mobile application to integrate in their ecosystem of services and products. Most of the times is just for increasing the marketing or presence on the media, or to offer a better customer experience, or just to help their own employees to be more mobile. Whatever it is, one thing is clear, Mobile Apps are here to stay.

Microsoft Visual Studio offers its own Mobile Testing Platform, using frameworks such as Coded UI, MS Unit Test and few more included with the Visual Studio Suite. But most of the mobile test targets are Windows Phone apps. What about Android and iOS?

Xamarin is a multiplatform framework that allows you to write Mobile Apps for iOS, Android and Windows Phone using C# and Visual Studio or Xamarin Studio.

Recently they started offering a testing service called Xamarin Test Cloud. I’m not going to enter on licensing matters but in what you can do with it.

Xamarin Test Cloud automatically test your app on 1,000 devices in the cloud. Write your own tests, or have our engineers create and maintain a test suite for you.

Automated UI tests can be written using one of two frameworks:

  • Xamarin.UITest – This is a framework that allows test to be written in C# using NUnit testing library. This is mainly for developers that write their own automated tests. Xamarin.UITest is available as a NuGet package and relies on NUnit.
  • Calabash: This is a framework that allows you to write test in Ruby using Cucumber. This gives you an indication that this will be driven by Behaviour Driven Development.

With Xamarin.UITest, an interface shell called REPL is exposed to explore the views on a screen and automate interactions with the application. The best thing of this framework is it worksin any mobile app regardless of the platform it’s written in.

Each test is a method that follows the Arrange-Act-Assert pattern, as the one used in CodedUI with Visual Studio.

 

The process will follow the next steps:

  1. Automate your app using one of the testing frameworks
  2. Upload the test suite and run it on hundreds of real devices in the cloud
  3. Receive a detailed report with the results, screenshots and performance metrics.

In terms of the capabilities of the Frameworks, here some details:

  • Interaction:

    • Most of the gestures are allowed on the testing: tap, double-tap.
    • Build your own gestures.
    • Query UI elements and use CSS selectors to query these elements in hybrid apps.
  • Device features:

    • Change GPS location, press physical buttons, activate camera and rotate the device.
    • Simulate 2G, 3G, 4G networks.
  • Tools:

    • Write test in C# or Ruby with Cucumber.
    • Use Xamarin Studio and Visual Studio for C# tests.
    • Integrate with standard NUnit test runners
  • Analyse app performance

    • Screenshots and video playback for every step of every test.
    • Receive p.erformance data and compare reports against previous runs to find regressions.
  • Test continuously:

    • Collect test results in your CI system to include UI failures in your nightly reports
    • Integrates with TFS, Jenkins, TeamCity and post-build commands CI systems.

I didn’t have the luck to start playing around with it yet as it requires a license that I’m trying to get, so once is with me I will give you more details about how to perform and will do a comparison between Xamarin Test Cloud, SeeTest and Perfecto Mobile.

If you want to know more about how to write test with C# and Xamarin or Ruby, follow the links on the resources, there is a whole page plenty of guides, samples and API references here.

Happy testing!

Eduardo Ortega

Resources:

Xamarin Test Cloud: http://xamarin.com/test-cloud

Introduction to Xamarin Test Cloud: http://developer.xamarin.com/guides/testcloud/introduction-to-test-cloud/

Submitting Test to Xamarin Test Cloud: http://developer.xamarin.com/guides/testcloud/submitting/

Automate Xamarin.Forms testing with Xamarin.UITest and Test Cloud: http://developer.xamarin.com/guides/cross-platform/xamarin-forms/uitest-and-test-cloud/

[Video]Using C# and UITest to Create your first mobile test: http://blog.xamarin.com/test-cloud-video-series-using-c-and-uitest-to-create-your-first-mobile-test/

[Video]Uploading Test Scripts and View Mobile Test Results: http://blog.xamarin.com/xamarin-test-cloud-video-series-uploading-test-scripts-and-viewing-mobile-test-results/

[Video]A Quick Overview of Xamarin Test Cloud: http://blog.xamarin.com/video-a-quick-overview-of-xamarin-test-cloud/

How to uninstall IE11 form your computer

Looks funny but people can think that having IE11 will be fully backwards compatible and even have tons of new features. Well, the thing is that for some specific scenarios IE11 is not supporting some plugins, activeX or old scripts and we have to revert it back to IE10 in order to do our work properly.

One example was explain to me from my colleague Abid; he told me in some scenarios the Microsoft CodeUI Testing tools​ don’t work properly with IE11, and this is an impediment for our teams.

Here is the solution to fix the problem:

1. On your Windows 7 computer, go to Control Panel –> Uninstall a program

2. On the top-left corner of your screen you will see View installed updates

3. On the list of installed updates you will be able to find Internet Explorer 11.

4. Right click on Internet Explorer 11 and uninstall it.

5. Restart your computer and voila!

If you want to make sure IE11 is not installed further with your Windows Updates, open the Windows Updates tool and on the optional updates you will find IE11, just hide it from there.

Cheers!

Ed/​

[Windows Phone] Tip #1. Camera Lenses

​Few people know about the camera lenses on Windows Phone, something really cool that every Windows Phone has and that can delight from the most very professional photograper to the most junior selfie-maniac.

Photolenses will enhance the camera experience on your phone allowing you to create 360 experiences, capture notes from a whiteboard directly into word or OneNote just with a photo click, listen the latest Justin Bieber single just pointing at the CD barcode or translating with your camera to another language whatever you have in front of you.

Just let’s take a quick look:

First thing you have to do is open your camera on Windows Phone:

– For those devices that don’t have camera physical button, just go to the apps list (swipe your finger from right to left on the screen) and look for camera app. Better to pin it into the start screen for next time use (just hold your finger for 2 seconds on the app).

– For those devices with the camera button, just click on it once (it works even when the phone is locked or turned off!).

wp_ss_20150211_0001.jpg

​The camera lenses are located on the camera view on the “bubble”icon.

1- Click on the lenses button before you take the photo

2- Select your desired lenses

3- Use the lenses special features to capture and save the photo.

4- Always remember that whatever picture you take will be saved in your phone and in your One Drive Cloud service automatically, in case you want to access to your pictures from any other device or computer. 

Here a list of the most useful lenses on Windows Phone:

Office Lenses: Office Lens trims, enhances and makes pictures of whiteboards and docs readable, and saves them to OneNote. You can use Office Lens to convert images to PDF, Word and PowerPoint files too. Office Lens is like having a scanner in your pocket. Like magic, it will digitalize notes on whiteboards or blackboards. Always find important documents or business cards. Sketch your ideas and snap a picture for later. Don’t lose receipts or stray sticky notes again!

Translator: Translator is your companion when you need to overcome the language barrier. Use your camera, voice or keyboard to enter text you want to translate. Use Translator on-the-go, even when you don’t have an Internet connection.

Handyscan: Handyscan is a portable document scanner and document keeper.

With this app you can scan anything into your phone and carry it with you, send it by email or save it to the cloud.

From receipts to contracts; from comics to class lessons, magazines & newspaper articles, old photos, notes, souvenirs, balance statements, contact cards, brochures, signatures, invoices, etc, etc, etc.

 

And much more! http://www.windowsphone.com/en-gb/store/collections/apps-with-photo-lenses/e0cfe0f7-f08a-4f9d-b5f9-ba0699d29b7f

That’s all for now

Have fun!
Ed/

More information about how to use the lenses: https://msdn.microsoft.com/en-us/library/windows/apps/jj206990(v=vs.105).aspx

Installing Team Foundation Server 2013 in Windows 8.1

Yes! It is possible, let me show you how:

  1. Download Team Foundation Server 2013 Update 3, you can do it from your MSDN Subscription, from the Microsoft Downloads site or even you can download the Express 2013 version here.
  2. Once you have it with you, just start the installation as usual and unless you have an error about your computer not following the minimum requirements, everything will be done in few minutes and 1 restart.
  3. Once the installation is done, it’s time to configure the server. Just a quick reminder, when you install TFS 2013 on a client machine, is only intended for a few concurrent users, you will use SQL Server Express and we are trying the have the most compact TFS installation possible. The main purpose of installing it in our Windows 8.1 is to have Source Control, Work Item tracking and Build Services, but you will see that you can do much more. So let’s select the Basic configuration

  4. So, welcome to the Basic Configuration Wizard! Let’s begin with the Installation of SQL Server Express:
  5. The information to review is giving us some hints about what’s going to happen after the configuration:

  • The authentication will be Windows Authentication.
  • IIS will be configured.*
  • A main site for TFS collections will be created.
  • The port 8080 will be opened for this purpose (check firewall after set up).
  • SMTP will be disabled by default as a client we usually don’t have a SMTP mail server set up on our machine.

    Note: IIS should be installed previously enabling also compatibility with IIS 6 and URL forwarding.

  1. Click on VERIFY before continue and if you have the 4 green checks, you can go for the next step.
  2. And the configuration it’s starting!

    And finishing after few minutes:

  3. Last step, check the connection to the Team Foundation Server Web Access:

Done! Now you can set up extra services like the Team Foundation Build Service but this is a different topic that we will cover in another blog post.

For now, just before we finish this post, check that the Team Foundation Server Administration Console has been installed on your computer and open it. From there you will be able to create new Team Project Collections, modify the Application Tier Set Up and access to the main administrative tools of TFS.

Enjoy!

 

Interesting references:

TFS Overview: http://www.visualstudio.com/en-us/products/tfs-overview-vs.aspx

 

The best Team Foundation Server 2013 MUST HAVE downloads

Here is my personal list of MUST HAVE downloads for Team Foundation Server 2013, sharing it with my beloved community.

Visual Studio Downloads: http://www.visualstudio.com/en-us/downloads/download-visual-studio-vs
including trials of:

  • Visual Studio Ultimate 2013 with Update 3
  • Visual Studio Premium 2013 with Update 3
  • Visual Studio Professional 2013 with Update 3
  • Visual Studio Test Professional 2013
  • Team Foundation Server 2013 with Update 3

Microsoft Visual Studio Team Foundation Server Express 2013 with Update 3

Microsoft Visual Studio Team Foundation Server 2013 with Update 3

Microsoft Visual Studio Team Foundation Server 2013 Power Tools

Microsoft Visual Studio Team Foundation Server 2013 MSSCCI Provider 32 bit

Team Explorer for Microsoft Visual Studio 2013

Microsoft Team Explorer Everywhere 2013

Feedback Client for Microsoft Visual Studio Team Foundation Sever 2013

Featured downloads:

From the Visual Studio Gallery:

Guides:

TFS Install and Administration Guides

 

  • Happy downloading time! –

 

Enterprise agile – Integrating Project Management and Software Development Teams

Management vs Development, they look like 2 worlds apart right? J Yes they are indeed, but this doesn’t mean that they can’t exists together on the same world and be interconnected. If you want to know more about how to bridge the collaboration gap between their project management offices and their software development teams continue reading…


I still remember those days, years back, where the Projects Manager used to spend an uncountable number of hours with the Team Lead catching up on the status of the projects, delivery dates, impediments and other matters related. It was such a show to see the TL trying to explain the Management what an iteration and user stories were. My manager used to leave these meetings with a terrible headache and long face, so the next action were to come to desks and ask us all the details about when, how and why of the releases we had on the pipeline.

This rings a bell for you right? This continuous reporting is good and bad at the same time, this makes the transparency to increase but the amount of time lost in reporting is huge. What if Project Managers and Software Development Teams can use the tools that they prefer, work at the level of precision that supports their needs and share information organized, transparently and immediately?

To enable this flow of data you can have two options:

Option A – TFS and Project Server Integration: On the management side (usually the PMO) install the Team Foundation Server Extensions for Project Server on the application-tier or web-tier servers that run Project Server that will participate in data synchronization.

With this, Project Managers would be able to use Microsoft Project Server to access up-to-date project status and resource availability across software teams using Team Foundation.

This integration enables data to flow from work items in Team Foundation Server (TFS) to tasks in enterprise project plans in Project Server.

Option B – Team foundation plug-in to Microsoft Project: This scenario doesn’t require a Project Server, just Microsoft Project but it is a very limited scenario. For example:

  • Supports mapping a task field in Project to a field in Team Foundation but Tasks are not bound to work items
  • Project plans are bound to Team Foundation server
  • For resource tracking, hours are rolled up in Project but not in Team Foundation, so resources are not rolled up either
  • View across multiple enterprise project plans and reporting, portfolio optimization and demand management are excluded in this operational model

 

Oh yes! Now we are talking J

Let’s take a look at the internals and how this works.

 

As you can see you can use MS Project to open a project plan, manage and track the work across all your backlogs and teams and even control the timesheets and the resources usage. This will be fully connected through a series of mappings to TFS so the development team will see the changes reflected on their dashboards when they will access through the team web portal or Visual Studio Team Explorer.

As well every time the development team make a change on the user stories or the work items, this will be reporting directly to the project server (if changes applies).

The process flow for Top-Down Planning on a regular project is represented on the next figure:

  1. The Project Manager define the deliverables, features and requirements in the project plan (Project or Project Web App – PWA)
  2. Save and publish the project plan to Project Server
  3. Each time something is published from Project Server, the sync engine performs the right mappings between the item types of Project Server and the work items in Team Foundation Server, binding them both.
  4. The team lead opens the Team Explorer or the Web Portal to review the deliverables with the Team
  5. The team lead break down into tasks the user stories and features that the Project Manager established in the Project Plan
  6. And assigns a resource to each task
  7. Saving it on the Team Foundation server and publishing it back to the Project Server for the Project manager review
  8. The Project Manager reviews the progress of each deliverable and adjust the schedule based on the updated information and
  9. A baseline is established, so it will be able to track progress against the baseline.

/scenarios/

 

Usually you will find scenarios where to integrate TFS with Project Server 2010 or Project Server 2013.

There is no a big difference between using 2010 or 2013 but small differences on the authentication and security:

For example:

  • On Project Server 2010, during the set up you must install all the cumulative updates on all Web Tiers and on all App Tiers in the server farm.
  • On PS2010, the Classic Mode Authentication is the only allowed authentication mode.
  • Security: On PS2010 you manage your PS security through customizable security groups where in PS2013 you can use SharePoint Permission Modes to control user access to sites and projects.

So this will be the typical architecture:

/benefits of integrating TFS with Project Server/

  • Go deep into portfolio execution, alignment with strategic objectives, and resource usage of software development projects.
  • Automate the sharing of project information across teams whatever methodologies are using (waterfall, agile, cmmi,…)
  • Enable development and project-management teams to collaborate through project timelines and progress using tools such as Visual Studio, Microsoft Project, SharePoint and Excel.

 

/How the Project Manager will see this in MS Project/

Basically like this:

To mark a new deliverable as an item to synchronize with Team Foundation Server, we will have to set the Publish to Team Project property to Yes and set the Work Item Type to the right value (p.e. Requirement, task,etc).

All we need now is to save and publish the project plan to the Project Server and the synchronization will be triggered.

/How the Team Lead will see this in the Team Explorer/

If the team lead opens the Team Explorer and goes down to the Work Breakdown to check the work items.
There the new requirements and tasks will be visible and we will be able to edit them and add extra information like for example the effort estimation, the priority, change the assignation, etc.

Also, any change made from here will be synchronized with the Project Server as well, as for example, imagine that we are working on an specific work item and once we finish it we want to report that the Remaining work time for this Work Item now is 0. Just saving the Work Item from Visual Studio the Project Manager will see the submission request on the PWA portal as this:

Where the task update to get approved will have the next details:

And therefore will be updated also in the Project Plan.

/Wrapping up/

 

It can be a bit messy if you don’t look at the picture from a general view, as you have to know a bit how the project management usually work and how the development team operates. What this integration is offering is a way to communicate both teams, save time, be transparent and improve the internal process of control.

I recommend you to follow these Hands On Labs to know more about the integration of PS with TFS and if you want to go deeper on it, you know where to find me J

 

– May the plan be with you –

Eduardo Ortega Bermejo

 

Resources:

Team Foundation Server and Project Server Integration Virtual Machine: http://blogs.msdn.com/b/briankel/archive/2013/04/12/team-foundation-server-2012-and-project-server-2013-integration-virtual-machine-and-hands-on-labs-demo-scripts.aspx

Demonstration videos:

Accessing TFS. Why Team Explorer and troubleshooting

Here is the big question, how to enable the “Team tab” in Excel without installing the Visual Studio in manager’s computer J, the answer is obvious, installing Team Explorer on his/her computer, but not always is so straightforward, sometimes we have restrictions from IT and we have to look for workarounds.

The list of options is not so big but we have a bunch of clients that can give us access to Team Foundation Server, with more or less capabilities depending what we want to do and the client.

Primary Clients:

Task-specific clients:

Office-Integration clients:

Let’s stop at Office-integration clients for a minute. These add-ins (COM Objects that have to be installed and registered in our OS prior use in Office) supports Office 2007, Office 2010 or Office 2013.
The way to install them is through the Team Explorer standalone installation or with any edition of Visual Studio.

Non-straightforward and dangerous workaround

You can try to do a workaround that is extract the TFSOfficeAdd-in.dll from the Team Explorer ISO and register it manually in the target OS as follows:
regsvr32 TFSOfficeAdd-in.dll

Uninstalling any previous clients (if exists) using the next script:

regsvr32 /u TFSOfficeAdd-in.dll

Also you would need to install the right .NET Framework version required, 2.0, 3.5 or 4.0, depending on the version that you are using.

Note: Make sure that the DLL is available in C:\Windows\System32\

Note: You have to run it as an Administrator, and in some cases depending on the OS, shut down Windows Defender and Windows Firewall.

After this process is finished go to excel and enable the plug-in:

  1. Open Excel
  2. Click File à Options àAdd-ins
  3. Select COM Add-ins

  1. Check the Team Foundation Add-In

This implies to register it as an Excel COM Add-In in the OS, it will require administrative rights and also the installation of .NET Framework as well. Also if they want to uninstall this from the computer further it will be a dirty job. Extra configuration on MS Project and MS Excel will be required as well.

Note: Verify or configure the .NET Programability Support option in the Install or remove individual Office programs and components:

Last step should be to check the registry of Windows we have to make sure that the Entries for Microsoft Office Add-ins are created properly.
For example, for Excel you would find them here:

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Office\Excel\Addins\

You can find extra information about the needed keys here: http://msdn.microsoft.com/en-us/library/vstudio/bb386106(v=vs.90).aspx

Note: This steps can be used as well for troubleshooting in case the Team Explorer repair option doesn’t work.

My recommended choice for a non-invasive installation is to install Team Explorer as a standalone installation.

Why Team Explorer?

Team Explorer is the client software that you use to access the Team Foundation Server functionality. And we can think that it is only to extend Visual Studio in order to connect to Team Foundation Server but it is not the case.

Team Explorer has side-by-side compatibility of Team Foundation clients. You can run Team Explorer with:

  • Microsoft Test Manager
  • Microsoft Project
  • Microsoft Excel
  • PowerPoint Storyboarding.

Even exists a MS Word non official Add-in provided by the Visual Studio ALM Rangers and published in Codeplex here.

How it works?

In MS Project the process is the same:

What can you do with this Team options?

For example, using Excel you can add or modify work items with Excel as well update reports. More info here.

Using MS Project, you can create your backlog and tasks, publishing and refreshing your work items, timelines, resources usage, etc. More info here.

Using PowerPoint, you can turn your ideas and goals for your PBIs in something more visual. Storyboarding is part of the PBI in TFS2012 and TFS2013. More info here.

So here is the main ask for you, how far do you want to go?

As depending on the client that you are using the possibilities will be extended or reduced. It’s not part of this blog post to cover one by one all the features accessible through the TWA, Team Explorer and Office, for that just access to this link and check the Tasks and client support tables, but summarizing what you can do with these clients here a short list:

  • Manage source code and builds
  • Plan a project, track progress
  • Bulk add and modify work items
  • Add and modify work item links
  • Collaborate with team members and stakeholders
  • Happy planning! –

Eduardo Ortega

Links of interest:

Compatibility between Team Foundation clients and Team Foundation Server: http://msdn.microsoft.com/en-us/library/dd997788.aspx
Choose the Team Foundation client to support your tasks: http://msdn.microsoft.com/en-us/library/ms181304.aspx
Connect Microsoft Excel or Microsoft Project to a team project: http://msdn.microsoft.com/en-us/library/ms181675.aspx
Microsoft Project and Microsoft Excel Integration Architecture: http://msdn.microsoft.com/en-us/library/ms181661%28VS.90%29.aspx
Working with Team Foundation Clients: http://msdn.microsoft.com/en-us/library/ms181304(v=vs.100).aspx
Managing Work Using Team Web Access: http://msdn.microsoft.com/en-us/library/ee523998(v=vs.100).aspx
Bulk add or modify work items with Excel: http://msdn.microsoft.com/en-us/library/dd286627.aspx
Work in Limited access view or Work Item Only View: http://msdn.microsoft.com/en-us/library/cc668124.aspx
Work in Team Explorer: http://msdn.microsoft.com/en-us/library/hh500420.aspx

Downloads:

Microsoft Visual Studio Team Explorer Everywhere 2010 with SP1: http://www.microsoft.com/en-us/download/details.aspx?id=25125

Microsoft Team Explorer Everywhere 2013: http://www.microsoft.com/en-us/download/details.aspx?id=40785
Visual Studio Team System 2005 Team Explorer: http://www.microsoft.com/en-us/download/details.aspx?id=7203

Microsoft Visual Studio Team Explorer 2010 – ISO: http://www.microsoft.com/en-us/download/details.aspx?id=329

Team Explorer for Microsoft Visual Studio 2012: http://www.microsoft.com/en-us/download/details.aspx?id=30656
Team Explorer for Microsoft Visual Studio 2013: http://www.microsoft.com/en-us/download/details.aspx?id=40776

Installing and Configuring TFS 2010 with PS2010, SP2010 and SQL 2008

Today I was configuring a Virtual Machine with TFS 2010, as some of my clients want to integrate it with the PMO and using it together with Project Server 2010, SharePoint 2010 and Visual Studio 2010.

This is a very common combo as in many companies they have a PMO (Project Management Office) where they are tracking all the projects committed in the company using MS Project and Project Server as EPM. SharePoint in these scenarios is a critical tool as it will show all the reports related not only with the project management but also with the development progress, thanks to the integration with TFS 2010.

The trick is how to combine PS and TFS together to link the management with the development and how to leverage SharePoint to gather all the reports we need about both. But not only that, from the Project Server Web Access, you also will be able to approve changes on the product backglog, control the timesheets and how these changes that come from Visual Studio can affect to your project planning and reflect them automatically on MS Project.

But step by step, let’s start by the TFS 2010 installation and for now let’s take a look to the different topologies that we can find when we are facing these scenarios:

Simplest Topology

 

Here all server components are deployed on a single physical server (this is the case of the smallest VM I have set up for testing.
This is usually designed for small product development team with less than 50 users.

Team Foundation Build and the team’s test components can be installed in the same server as well.For reporting services, you can install SQL Server 2008 with SSRS and SSAS on the same machine and either use Sharepoint Services v3 that comes with the Windows Server or Install Sharepoint 2010 on the TFS Machine.

If you just use the SQL Server Express you have to realize that the integration with Sharepoint will not exist.If you install WSS 3.0 instead Sharepoint some dashboards won’t be available either (http://msdn.microsoft.com/library/dd380719%28VS.100%29.aspx)

So the final configuration would be something like this:

Using SQL Server 2008 and WSS 3.0 in the same single server.

If we want to have all the reports available on SharePoint we have to install SharePoint 2010 and not WSS 3.0.

The installation process for TFS is so straight forward. Just let me share two guides with you before I go through the process:

Team Foundation Installation Guide for Visual Studio 2010

Administration Guide for Microsoft Visual Studio 2010 Team Foundation Server

  1. Supported Operating Systems: Windows Server 2003, Windows Server 2008, Windows Server 2008 R2 (important to install Service Pack 2 for WS2003 or WS2008). So choose any of these 3 for your server. (you can install it on a Windows Vista/7 but SharePoint and any reporting tools won’t work on them)

  2. Enroll the machine in your AD in case you are working on an Active Directory environment. Just create a user called TFSAdmin with admin rights on the local machine. Verify that the account you will use to install Team Foundation Server is a member of the Administrators security group on the server where you will install Team Foundation Server.Note: Other service accounts should be set up depending on the TFS components that are going to be active. For more information: http://msdn.microsoft.com/en-us/library/ms253149(v=vs.100).aspx

  3. Install IIS Web Server with the ASP.NET Extensions with the Required Role Services and also the HTTP Redirection Role Service. As TFS makes heavy use of Windows Authentication, the Windows Authentication role service is also required. And finally the role service for IIS6 Management Compatibility too.

  4. Install SQL Server 2008 with Reporting Services in Native Mode (not SharePoint Integrated mode) and don’t configure the RS yet. Just set up Database Engine Services, Full Text Search, Reporting Services and Analysis Services. Add Client Tools and Management tools and we a ready for the next step.

  5. Install WSS 3.0 in the server or either install SharePoint Server 2010. Make sure that SharePoint user can access to the SQL Server. Just open SQL Server, and add a new Login. Type the fully qualified name for your SharePoint service user in the Login name box. The format of the username is domain_name\username. So, if your domain is MyDomain and the user is WSSSERVICE, you’ll enter MyDomain\WSSSERVICE.

  6. Check that SharePoint is working properly just checking the http://localhost website.

  7. Open the SQL Server Reporting Services Configuration Management Tool and configure the Reporting Services. Don’t forget to use the same user TFSAdmin during the set up process.

  8. Now it is time to Run the TFS Set-up installation.
  • Select Team Foundation Server. At this point we don’t want to install the Team Foundation Build Service (also is recommended to install it in a separate server).
  • After the installation finish, select the checkbox “Launch Team Foundation Server Configuration Tool” and click on Configure.
  • Now is when we have to decide the topology of our TFS. As we mentioned before, Basic or Advance configuration can work as we are installing our TFS in a single server that can have/not have SQL Server and SharePoint installed on it. If we check both configurations we can see de difference:
    BASIC
    ADVANCED

  • In my case I will go for the Advanced
    topology as I already have installed SharePoint Server 2010 and SQL Server 2008. Just make sure you are filling up correctly the wizard blanks like the SQL Server Instance (use the Instance name that you have created and click on Test)Account name for running the TFS Services:
    The IIS Web Site Default Name, port and Virtual Directory:
    And finally the default Project Collection
  • It’s very important that we kkep attention to the Readiness Checks to validate all the data input before and to check if something is wrong with our services or accounts.
  • Finally once is done, you will be ready to go, just install the Team Explorer 2010 or Visual Studio 2010 to Start Creating and Managing Team Projects!
    If you are using Eclipse or other development tools you can also download Microsoft Visual Studio Team Explorer Everywhere 2010 with SP1.

 I highly recommend to install the respective Service Packs:

  • SharePoint 2010 SP1
  • SQL Server 2008 SP1
  • Windows Server 2008 SP2
  • Team Foundation Server 2010 SP1

Wrapping up,

There are a lot of tools and software to install, of course my first recommendation would be to acquire Team Foundation Server 2013 for several reasons (main one are integration, capabilities, templates, reports,…), but still there are many customers out there with TFS2010 and a lot of CALs, and it is a very good product, despite is 4 years old. The greatness of TFS is the integration, doesn’t work alone, it integrates completely with Project Server, with SharePoint, with SQL Server, with Visual Studio, MS Project, MS Excel and not only with Microsoft Technologies but also with Eclipse, XCode, GIT…

I recommend to take a look to this video from Channel 9 where you can see all the power of TFS 2010 in action, called Microsoft Project Server 2010 and Microsoft TFS 2010, better together: http://channel9.msdn.com/Events/TechEd/NorthAmerica/2011/OSP203 (video).

That’s all for now, just let me drop you below some recommended installs for the scenario.

See you next time!

– May the plan be with you –

Eduardo Ortega Bermejo

Appendix:

In the Application tier we would need:

Team Foundation Server 2010 RTM with the following updates installed in the correct order:

In the Database tier, SQL Server 2008 Service Pack 1 (or TFS installation will block you).

Clients (Visual Studio & Microsoft Test Manager):

The MSSCCI Provider allows non-Microsoft tools to connect to TFS:

Team Explorer Everywhere (TEE) is an Eclipse IDE/Java implementation of the TFS client:

If you work in a cross-platform environment, you may also want to install the build extensions that allow you to execute Ant or Maven 2 builds and publish any JUnit test results back to TFS.

If the scenario also includes Project Server, is highly recommended to install the Feature Pack for Visual Studio Team Foundation Server and Project Server Integration, only available through MSDN Suscriptions..

References:

Team Foundation Installation Guide for Visual Studio 2010: http://www.microsoft.com/en-us/download/details.aspx?displaylang=en&id=24337

Microsoft Visual Studio Team Explorer 2010 – ISO: http://www.microsoft.com/en-us/download/details.aspx?id=329

Microsoft Visual Studio Team Foundation server 2010 SP1: http://www.microsoft.com/en-gb/download/details.aspx?id=20506

Dashboards (Agile): http://msdn.microsoft.com/library/dd380719%28VS.100%29.aspx

TFS 2010 Power Tools – December 2011:  http://visualstudiogallery.msdn.microsoft.com/c255a1e4-04ba-4f68-8f4e-cd473d6b971f

Reporting Services Configuration Tool: http://msdn.microsoft.com/en-us/library/ms156305(v=sql.100).aspx

http://blogs.msdn.com/b/granth/archive/2012/01/03/tfs-2010-what-service-packs-and-hotfixes-should-i-install.aspx


Testing for Continuous Delivery Free eBook!

For those that are still on vacations and want to enjoy some free time reading, here is another one of my favorite summer books and again brought to you from Microsoft folks.



Testing for Continuous Delivery with Visual Studio 2012 
PDF

 

Inside you can find the meaning of ALM Tools for testing, the importance of testing and you will go throughout a journey plenty of tests.

Do you want to know how to use Unit Testing? How to create Manual or Automatic Tests? What about to set up your lab environment?

Don’t waste your time in summer in come back to work in September being more productive!

  • Happy Testing! –

Hands On Labs and free book for TFS 2012. How to build a release pipeline?

For those that are into SDLC and ALM, here you have a fantastic guide. No matter what size business you have, customers now expect features such as real-time customer service and frequent releases.

The goal of this guide and HOLs is to provide you an excellent guide to the principles and practices of continuous delivery.

By continuous delivery, we mean that through techniques such as versioning, continuous integration, automation, and environment management, you will be able to decrease the time between when you first have an idea and when that idea is realized as software that’s in production. 

You will find this book an indispensable resource:

PDF and epub: Building a Release Pipeline with Team Foundation Server 2012
Kindle (Mobi): Building a Release Pipeline with Team Foundation Server 2012

Paperback versión (Amazon): Building a Release Pipeline with Team Foundation Server 2012

– Happy planning!

References:

Community: https://tig.codeplex.com/