Answered Waiting for Test Controller

  • Thursday, August 16, 2012 4:12 AM
     
     

    I recently started working on getting Test Manager setup to run our automated Coded UI test scripts.

    I followed the Essential Guide for running automated Tests from a Test Plan.

    http://msdn.microsoft.com/en-us/library/ff472576.aspx

    but after trying to run the test, it never starts running the test.  I stays in “Waiting for Test Controller”.

    Here is some background.

    We first setup a controller and a few agent machines. This was setup while we were developing the coded UI framework. We know that controller and agents’ setup worked since we were able to run our script from visual studio.

    I then registered the controller to TFS.

    I setup a lab environment and a couple of test settings

    The Code UI tests were already version controlled.

    We defined a build process and queued up a build.

    I then continued to create a test plan and created a couple test cases and associated them to a couple of our code ui tests via Visual studio.

    I assigned the build and test environment to our test plan.

    At this point everything should be setup.

    In Lab Center:

    The Environment status = “Ready”

    The environment has one desktop client machine with status = “Ready”

    Testing Capabilities = “Ready”

    In the Testing Center Properties section

                    Builds:

    Filter for builds: has the current build definition

    Build in use: has the latest build selected.

                    Automated runs:

                                    Test Settings: has a test setting selected.

                                    Test Environment: has the only environment I have setup selected.

    So everything seems to be ready to run, so I go and run a test and the summary shows “Waiting for test controller” and it stays that way.

    I check the the test run log by clicking “View” and it has nothing.

    I read through http://blogs.msdn.com/b/aseemb/archive/2010/02/25/test-run-remains-in-waiting-for-test-controller-state-for-ever.aspx

    And check rights and permissions with my TFS admin so everything seems to be good in the respect. All the machines (controller and agents) are online.

    I even went and installed the Test Manager patch since it was also mentioned in comments section

    http://support.microsoft.com/kb/2387011

     I read post http://social.msdn.microsoft.com/Forums/en/vsmantest/thread/3d2ee644-c8bb-4bc8-bc72-5a32622774cf

    But the solution did resolve my issues.

    I read post http://social.msdn.microsoft.com/Forums/en/vsmantest/thread/91298b51-eab4-493d-bafe-dfd1074f2cdb

    But this issue is slightly different based on setup.


    • Edited by ACortez Thursday, August 16, 2012 4:15 AM
    •  

All Replies