•   over 2 years ago

Automated End to End Testing

Hello,

Is there a recommended way ( packages, frameworks, etc) to setup automated end to end testing for add-ins. All my searches for testing resulted in side loading the app and manual testing.

Since the app needs to be loaded within an office product, current methods I use for testing web applications also don't work.

Any recommendations?

  • 4 comments

  • Moderator   •   over 2 years ago

    Hey Rob,

    These are good questions. I'm reaching out for some more info and will get back to you as soon as I can.

    Thanks!
    Stefanie

  •   •   over 2 years ago

    Hi Stefanie,

    Just wanted to check in and see if there was an update on this.

    Thanks.
    -Rob

  • Moderator   •   over 2 years ago

    Hi Rob,

    We apologize for the delay getting your technical questions answered. We've circled back with the client and have now been told the best way to get answers is on the stack overflow forums: https://stackoverflow.com/questions/tagged/ms-office Please mention in your question that you're participating in the Hack Productivity competition.

    All the best,
    Stefanie

  •   •   over 2 years ago

    A few points I can share.
    1) Ensure that the functionality of your app that doesn't require the office can be tested without running inside the office iframe. What I usually do is that I have mode where my app detects if it running outside of the office iframe, and if so it disables functionality that requires office (this makes it easier to develop).
    2) If you want to do end-to-end tests, you can use selenium, might be a bit overkill for this competition, but it is doable if it is a high profile addin you are building.
    3) Actually if you submit your addin to the Office Addin Store, Microsoft will do a pretty good job at testing your application, be aware that you only have (I think it is 7 attempts), so you should do some testing beforehand.

Comments are closed.