locked
Targeting Specific Test Agent from the test settings RRS feed

  • Question

  • Hi,

    I'm trying to setup up 3 test agents with one test controller.

    But I would like to run different test on different agents. How do I setup test settings? Is there any blog or tutorial walk through the process.

    Regards,

    Bandu

    Thursday, June 30, 2011 1:15 PM

Answers

All replies

  • Hi Bandu,

    In Solution Explorer, right-click Solution Items-> Add->New Item. The Add New Item dialog box appears.  With the Installed Templates pane, you could add many roles. Each role uses a test agent that is managed by the test controller. So you could run different tests on different agent. For detailed steps, see Create Test Settings to Run Automated Tests from Visual Studio. Hope it could help you.

    Thanks,


    Vicky Song [MSFT]
    MSDN Community Support | Feedback to us
    Get or Request Code Sample from Microsoft
    Please remember to mark the replies as answers if they help and unmark them if they provide no help.

    Friday, July 1, 2011 7:19 AM
    Moderator
  • Hi Vicky,

    I understand up to that point and I can add it. But what the the valid attribute names? in that link you gave me, its said "RAM > 16". How about if I want to use PC name what attribute value should I put? where are the list of valid attribute name can I find?

    thanks.

    Bandu

    Friday, July 1, 2011 10:57 AM
  • Hi Bandu,

    It was said in the link provide by Vicky, to limit the agents that can be used for a role, select the role and then click Add in the toolbar above the attributes list. The Agent Selection Rule dialog box is displayed.

    Type the name in Attribute Name and the value in Attribute Value, and then click OK. Add as many attributes as you require. For example, you could add an attribute named "RAM > 16GB" with a value of "True" or "False" to filter on test agent machines with more than 16GB of memory.

     

    I think the Attribute Name and the value in Attribute Value are not pre-requisite, they are just help you with your require. It could help you to differentiate roles and roles’ speciality.

     

    To apply the same attribute to one or more test agents, you use the Manage Test Controller dialog box. For more information, see Managing Test Controllers and Test Agents.

     

    Thanks,


    Jack Zhai[MSFT]
    MSDN Community Support | Feedback to us
    Get or Request Code Sample from Microsoft
    Please remember to mark the replies as answers if they help and unmark them if they provide no help.

    Monday, July 4, 2011 6:23 AM
    Moderator