This project has moved and is read-only. For the latest updates, please go here.

Refer to library of tooling and guidance solutions ( for details.

Project Description

This project delivers practical and scenario based sample code and guidance for the Visual Studio Coded UI Microsoft Word Add-in, which extends the Coded UI feature support to Microsoft Word documents.

Without this Add-in, the Coded UI feature has the following shortcomings:

  • Can only reference Word menu and ribbon controls
  • Can only reference the screen location of mouse and keyboard actions within a document
  • Does not support assertions within a document

The add-in also provides the following functionalities for Coded UI:

  • Document location referencing of mouse and keyboard actions
  • Assertions on contiguous document selection

Bookmark the  Visual Studio ALM Rangers blog, using tag VSCUG, for the latest information on this project.

Visual Studio ALM Rangers

This guidance is created by the Visual Studio ALM Rangers, who have the mission to provide out of band solutions for missing features and/or guidance. This content was created with support from Microsoft Product Group, members of Microsoft Services, Microsoft Most Valued Professionals (MVPs) and technical specialists from technology communities around the globe, giving you a real-world view from the field, where the technology has been tested and used.
For more information on the Rangers please visit and for a list of other Rangers initiatives please see

What is included in the downloads?

The solution is divided in separate packages to give you the choice of selective downloads. The default download is the first of the listed packages:

  • Release Notes
  • Hands-on Lab contains the HOL that provides a walkthrough of the add-in

External References



Andrew Whitechapel , Bijan Javidi, Bob Hardister, Mathew Aniyan, Mike Fourie, Vladimir Gusarov, Willy-Peter Schaub

How to submit new ideas?

The recommended method is to post ideas to the Discussions Page or to contact the Rangers at


Post comments on the Discussions Page.


Last edited Feb 20, 2017 at 8:34 PM by wschaub, version 24