Testing and automation for Windows applications