已答复 Metro Testing

  • Monday, August 13, 2012 1:30 AM
     
     

    Is there any tool can do UI Automation Testing on Metro app?

    thx

All Replies

  • Monday, August 13, 2012 5:03 AM
     
     

    Hi Gogoqaz,

    Coded UI in Visual Studio 2012 is supported only for classic apps. It's not supported for Windows 8 Apps in VS 2012.


    Regards,
    Vikram Agrawal,
    Developer, VSTLM, Microsoft Corporation

  • Monday, August 13, 2012 6:30 AM
     
     

    hi Vikram,

    Thank for reply,

    Do you know about inspect.exe or VisualUIAVerifyNative.exe? I know this tool can used on windows8 app.

    But I only can do 1 step at one time, for example ,

    if I start with a random sample app , and this app has three button in same page,

    I want to test each the button , so I only can do is run the test with 3 time.

    I means that I wonder if there has a way that I can do it with one step?

    Thx

     

  • Friday, August 17, 2012 10:23 AM
    Moderator
     
     Answered

    Hi qoqoqaz,

    Sorry for the late response. And I did a test on my machine, I found that the inspect.exe tool can recognize all controls on the Windows 8 app window. For example, I have 3 buttons in a page, and I can get all of them in that tool. See:

    Thanks,


    Vicky Song [MSFT]
    MSDN Community Support | Feedback to us