locked
Running Coded UI Tests (Silverlight plugin for VS 2015) as a Run Functional Test task (2017). RRS feed

  • Question

  • Hi! =)

    Is it possible to run Coded UI Tests created in VS 2015 (Silverlight plugin for VS 2015) by using Run Functional Test task of VNext build 2017?

    Thursday, September 21, 2017 7:22 AM

Answers

  • Hi _Naya_,

    According to the document for Run Functional Tests, it mentioned that "Run Coded UI tests, Selenium tests, and functional tests on a set of machines using the test agent. Use this task when you want to run tests on remote machines, and you cannot run tests on the build machine".

    You need to install Visual Studio Test Agent on your remote machine first. And as far as I know, when we use Test Agent on remote machine, it uses MSTest.exe or VSTest to execute the Coded UI Test.

    And the Silverlight plugin for VS2015 just add Microsoft.VisualStudio.TestTools.UITest.Extension.SilverlightUIAutomationHelper  assembly in Silverlight application and Microsoft.VisualStudio.TestTools.UITest.Extension.Silverlight assembly in Coded UI Test. Both of them will build in project.dll to support the Coded UI Test.

    So the Run Functional Test task of VNext build 2017 with treat Silverlight Coded UI Test as a common Coded UI Test. You could run it through Run Functional Test task of VNext build 2017.

    Best Regards,
    Weiwei


    MSDN Community Support
    Please remember to click "Mark as Answer" the responses that resolved your issue, and to click "Unmark as Answer" if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to MSDN Support, feel free to contact MSDNFSF@microsoft.com.

    • Marked as answer by _Naya_ Friday, October 20, 2017 7:33 AM
    Friday, September 22, 2017 6:31 AM
    Moderator

All replies

  • Hi _Naya_,

    According to the document for Run Functional Tests, it mentioned that "Run Coded UI tests, Selenium tests, and functional tests on a set of machines using the test agent. Use this task when you want to run tests on remote machines, and you cannot run tests on the build machine".

    You need to install Visual Studio Test Agent on your remote machine first. And as far as I know, when we use Test Agent on remote machine, it uses MSTest.exe or VSTest to execute the Coded UI Test.

    And the Silverlight plugin for VS2015 just add Microsoft.VisualStudio.TestTools.UITest.Extension.SilverlightUIAutomationHelper  assembly in Silverlight application and Microsoft.VisualStudio.TestTools.UITest.Extension.Silverlight assembly in Coded UI Test. Both of them will build in project.dll to support the Coded UI Test.

    So the Run Functional Test task of VNext build 2017 with treat Silverlight Coded UI Test as a common Coded UI Test. You could run it through Run Functional Test task of VNext build 2017.

    Best Regards,
    Weiwei


    MSDN Community Support
    Please remember to click "Mark as Answer" the responses that resolved your issue, and to click "Unmark as Answer" if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to MSDN Support, feel free to contact MSDNFSF@microsoft.com.

    • Marked as answer by _Naya_ Friday, October 20, 2017 7:33 AM
    Friday, September 22, 2017 6:31 AM
    Moderator
  • HOW TO DO IT
    Thursday, October 26, 2017 4:53 AM