Test Office Add-ins
This article contains guidance about testing, debugging, and troubleshooting issues with Office Add-ins.
Test cross-platform and for multiple versions of Office
Office Add-ins run across major platforms, so you need to test an add-in in all the platforms where your users might be running Office. This usually includes Office on the web, Office on Windows (both perpetual and Microsoft 365 subscription), Office on Mac, Office on iOS, and (for Outlook add-ins) Office on Android. However, there may be some situations in which you can be sure that none of your users will be working on some platforms. For example, if you're making an add-in for a company that requires its users to work with Windows computers and subscription Office, then you don't need to test for Office on Mac or perpetual Office on Windows.
On Windows computers, the version of Windows and Office will determine which browser control is used by add-ins. For more information, see Browsers used by Office Add-ins.
Add-ins tested for Office on the web
Add-ins are tested for Office on the web with all major modern browsers, including Microsoft Edge (Chromium-based WebView2), Chrome, and Safari. Accordingly, you should test on these platforms and browsers before you submit to AppSource. For more information about validation, see Commercial marketplace certification policies, especially section 1120.3, and the Office Add-in application and availability page.
Office on the web no longer opens in Internet Explorer or Microsoft Edge Legacy (EdgeHTML). Consequently, AppSource doesn't test Office on the web on these browsers. Office still supports these browsers for add-in runtimes, so if you think you've encountered a bug in how add-ins run in them, please create an issue for the office-js repository. For more information, see Support older Microsoft browsers and Office versions and Troubleshooting Microsoft Edge issues.
Add-ins tested for Office on Windows
Some Office versions on Windows still use the webview controls that come with Internet Explorer and Microsoft Edge Legacy. AppSource tests whether your add-in supports these browser controls. If your add-in doesn't support these browser controls, AppSource only issues a warning and doesn't reject your add-in. In this instance, we recommend configuring a graceful failure message on your add-in for a smoother user experience. For further guidance, see Support older Microsoft browsers and Office versions.
Sideload an Office Add-in for testing
You can use sideloading to install an Office Add-in for testing without having to first put it in an add-in catalog. The procedure for sideloading an add-in varies by platform, and in some cases, by product as well. The following articles each describe how to sideload Office Add-ins on a specific platform or within a specific product.
For information about how to add unit tests to your add-in project, see Unit testing in Office Add-ins.
Debug an Office Add-in
The procedure for debugging an Office Add-in varies based on your platform and environment. For more information, see Debug Office Add-ins.
Validate an Office Add-in manifest
For information about how to validate the manifest file that describes your Office Add-in and troubleshoot issues with the manifest file, see Validate and troubleshoot issues with your manifest.
Troubleshoot user errors
For information about how to resolve common issues that users may encounter with your Office Add-in, see Troubleshoot user errors with Office Add-ins.
Submit and view feedback for