i was wondering what’s the best practice to create reusable UI Automation (non-ui) components (workflows) for an application.
a) Create a Library with an .xaml for each of the reusable components (e.g. Login, Logout, Search xxxx, Close Window xxxx etc.) and then be used from within each project you create as Activity by injecting the Nuget package?
b) Create ‘Workflows’ and inject them every time in each project from a centralize repository?
What’s your experience so far and what do you think it’s the pros/cons for each option?