Understanding how Coded UI testing works in Visual Studio