automate the testing for tile using UIA
-
Freitag, 3. August 2012 23:27does 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
Alle Antworten
-
Dienstag, 7. August 2012 20:28Moderator
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)
-
Dienstag, 7. August 2012 22:46Moderator
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
- Als Antwort vorgeschlagen Jeff SandersMicrosoft Employee, Moderator Mittwoch, 8. August 2012 15:45
- Als Antwort markiert Dino HeModerator Montag, 24. September 2012 03:27

