locked
Automation of Winjs/html5 based window store apps RRS feed

  • Question

  • hi,

    I want to develop one framework for automation winjs based Window store application.

    Can you please advice microsoft support automation testing of Winjs based window store application?

    If yes then please let me know how to do it.

    Regards,

    Krunal


    • Edited by krunal1 Friday, June 6, 2014 4:53 AM
    Friday, June 6, 2014 4:49 AM

Answers

  • Does this help?
    http://blogs.msdn.com/b/windowsappdev/archive/2012/09/04/automating-the-testing-of-windows-8-apps.aspx

    Matt Small - Microsoft Escalation Engineer - Forum Moderator
    If my reply answers your question, please mark this post as answered.

    NOTE: If I ask for code, please provide something that I can drop directly into a project and run (including XAML), or an actual application project. I'm trying to help a lot of people, so I don't have time to figure out weird snippets with undefined objects and unknown namespaces.

    Friday, June 6, 2014 7:33 PM
    Moderator
  • Hi Krunal,

    There isn't any Xaml in the article Matt linked. It is equally valid for automating an HTML app as a Xaml app. Your app will need to support automation, but you're already supporting that for accessibility reasons, right?

    I don't see any concrete issues mentioned in the article's comments. Only one is about automation, and it didn't include enough details to diagnose. Automation in general works well.

    I don't believe the Visual Studio test tools support HTML apps, but you can check on the Visual Studio forums to confirm. It may be that they support some sorts of testing (such as CodedUI) but not others (such as Unit Testing).

    Other that that your options are to find a 3rd party test suite or to write your own automation code based on the automation API discussed in the article Matt linked.

    --Rob


    Monday, June 9, 2014 5:38 AM
    Moderator
  • We cannot comment on future releases. For questions about Visual Studio test in Visual Studio 2013 please ask on the Visual Studio forums.

    I am not familiar with 3rd party tools for testing.

    --Rob

    Monday, June 9, 2014 4:02 PM
    Moderator

All replies

  • Does this help?
    http://blogs.msdn.com/b/windowsappdev/archive/2012/09/04/automating-the-testing-of-windows-8-apps.aspx

    Matt Small - Microsoft Escalation Engineer - Forum Moderator
    If my reply answers your question, please mark this post as answered.

    NOTE: If I ask for code, please provide something that I can drop directly into a project and run (including XAML), or an actual application project. I'm trying to help a lot of people, so I don't have time to figure out weird snippets with undefined objects and unknown namespaces.

    Friday, June 6, 2014 7:33 PM
    Moderator
  • Thanks Matt,

    I already gone through this article, but this article itself have lots of problem which are mentioned into comments of this article.

    My Application totally developed into Winjs and HTML 5. So, not scope for XAML part.

    Any Other way to do this Automation of winjs based universal apps?

    Because over the internet I am not able to find out solution or any workaround for this.

    Thanks once again Matt , your help will really help me to reach destination.

    Regards,

    - Krunal

    Monday, June 9, 2014 4:46 AM
  • Hi Krunal,

    There isn't any Xaml in the article Matt linked. It is equally valid for automating an HTML app as a Xaml app. Your app will need to support automation, but you're already supporting that for accessibility reasons, right?

    I don't see any concrete issues mentioned in the article's comments. Only one is about automation, and it didn't include enough details to diagnose. Automation in general works well.

    I don't believe the Visual Studio test tools support HTML apps, but you can check on the Visual Studio forums to confirm. It may be that they support some sorts of testing (such as CodedUI) but not others (such as Unit Testing).

    Other that that your options are to find a 3rd party test suite or to write your own automation code based on the automation API discussed in the article Matt linked.

    --Rob


    Monday, June 9, 2014 5:38 AM
    Moderator
  • Thanks Rob for reply.

    Microsoft started support in visual studio 2013 for window store apps automation testing using CodedUI but its only support XAML based application and my application developed into WinJs and HTML 5.

    In the Article mentioned by Matt suggested that to develop Desktop client application with synchronize with Unit testing and UI automation.

    is it microsoft started support for winJS/HTML5 based Window store application automation support or any this type of support come in future release? if you know then please let me know.

    If you know any third party tool which help me to develop this kind of framework then it will be great to me.

    Waiting for your reply.

    Regards,

    Krunal


    Monday, June 9, 2014 9:12 AM
  • We cannot comment on future releases. For questions about Visual Studio test in Visual Studio 2013 please ask on the Visual Studio forums.

    I am not familiar with 3rd party tools for testing.

    --Rob

    Monday, June 9, 2014 4:02 PM
    Moderator
  • Thanks Rob and Matt.

    -Krunal

    Tuesday, June 10, 2014 4:17 AM