locked
automate the testing for tile using UIA RRS feed

  • Question

  • does tile has it's own special control pattern to use to automate the testing on it like reading the current text on tile?

    Great Wall

    Friday, August 3, 2012 11:27 PM

Answers

  • If you are asking about UI Automation properties for the Start Screen then it is using standard patterns. You can look at what is there with Inspect.exe from the SDK.

    If your question is about writing your own automation app using UI Automation please see the Windows Desktop Development for Accessibility and Automation forum. You likely will be better off using the native UIA objects rather than the managed ones, even if you are calling them from C#. This post in that forum discusses how to do so and points to some samples demonstrating it. That said, I'd expect the C# automation app to be able to see the Metro style app: double check that both the C++ and C# apps properly signed, manifested, and located for UI Access.

    For questions on Coded UI and Visual Studio Test tools please see the Test Tools in Visual Studio vNext forum.

    --Rob

    Tuesday, August 7, 2012 10:46 PM
    Moderator

All replies

  • Hi Great.  How would you propose automating testing on the Tile since it is on the start screen?  Are you looking for something in like a window handle?

    -Jeff


    Jeff Sanders (MSFT)

    Tuesday, August 7, 2012 8:28 PM
    Moderator
  • If you are asking about UI Automation properties for the Start Screen then it is using standard patterns. You can look at what is there with Inspect.exe from the SDK.

    If your question is about writing your own automation app using UI Automation please see the Windows Desktop Development for Accessibility and Automation forum. You likely will be better off using the native UIA objects rather than the managed ones, even if you are calling them from C#. This post in that forum discusses how to do so and points to some samples demonstrating it. That said, I'd expect the C# automation app to be able to see the Metro style app: double check that both the C++ and C# apps properly signed, manifested, and located for UI Access.

    For questions on Coded UI and Visual Studio Test tools please see the Test Tools in Visual Studio vNext forum.

    --Rob

    Tuesday, August 7, 2012 10:46 PM
    Moderator