Launch "Coded Test Builder" without creating a new Coded UI Test

The Coded UI Test Builder application in Visual Studio is very useful when writing coded user interfaces. It has an inspector tool that displays the properties for the selected control, which makes it easier to find the control.

Currently, the only way to run this tool is to use the Add New Coded UI Test wizard. This runs fine, however

  • creates a new blank coded user interface.
  • closes when I run a test or start debugging in Visual Studio

Are there any tips on running the tool without adding new UI Test code? Any other suggestions for checking controls using a hand-coded user interface test? I work in WPF if that matters.

+6
source share
5 answers

With a class like this, right-clicking inside the test method will give you "Generate Code for Coded UI Test" → "Use Coded UI Test Builder". It minimizes Visual Studio anyway, but should not create a new testing method. There is also a keyboard shortcut: CTRL+ \, CTRL+C

[CodedUITest]
public class MyUITests
{
    public MyUITests()
    {
    }

    [TestMethod]
    public void StartMyTest()
    {
        //right click in here to get the context menu option
    }
}
+12
source
  • You can open the command line of Visual Studio
  • "codedUITestBuilder.exe/"
+8

UIMap.uitest " Coded Test Builder". .

+5

[TestMethod], ui test builder. , . [TestMethod], " ui test builder"

0

, " ".

0

All Articles