Thursday, 12 February 2015

Installation and Configuration of Test Controller and Test Agent without TFS


Prerequisities

Test controllers and Test agents have the following software requirement:
Operating System
To install a test controller or a test agent, the computer must run one of the following operating systems:
Controller:
  • Windows 8, Windows 8.1
  • Windows 7 Service Pack 1
  • Windows Server 2012, Windows Server 2012 R2
  • Windows Server 2008 Release 2, Service Pack 1
Agent:
  1. Windows 8, Windows 8.1
  2. Windows 7 Service Pack 1
  3. Windows XP Service Pack 3
  4. Windows Server 2012, Windows Server 2012 R2
  5. Windows Server 2008 Release 2, Service Pack 1
  6. Windows Server 2003 Service Pack 1
.NET Framework
      To install a test controller or test agent, the computer must run the .NET Framework 4.5.

UAC

      Change the UAC settings in both the systems to "Never Notify"

New Local User as Administrator
      On each computer where you will install a test controller or a test agent, create a local user account that is a member of the Administrators group. Login with the local user and use the same account and password on each machine.
  1. Note:- If you are not Creating the Local User and using the same default administrator you might face issue while configuring
  2. Use this user account for your test controllers when you install and configure them.
     Team is the Local user which has been added into the machines where Test Controller and Test Agent are installed. On filling the above details by clicking on "Apply Settings" you see a pop up with validations happening. There will be an Configuration warning as we are not using the lab manager. It can be ignored
  3. Right click on the computer and Select Manage. In the Computer Management window, navigate to System Tools -> Local Users and Groups -> Groups. Add this account(i.e. Team) to the TeamTestAgentService group on the test controller machine.
  4. Install and configure your test agents using this same account(i.e Here Team).


    Configure the Test Agent with the following details. To register the Test Controller with this Test Agent give the IP Address and Click Apply Settings.
  5. Once the Setting are applied you can see a "Test Agent Status" Window appearing as below

    If the Test Agent Status is "Online" Then you are ready with the Set up for remote executions