In my test the last step is closing browser, for this action I use core merthod
Code: Select all
Host.Current.CloseApplication(repo.CmdHtml.Self, 1000);
How in this case close browser correct?
Code: Select all
Host.Current.CloseApplication(repo.CmdHtml.Self, 1000);
Code: Select all
Host.Current.KillApplication(repo.MyAUT.Self);
Code: Select all
Host.Current.CloseApplication(repo.MyAUT.Self, new Duration(0));
repo.ChromeForm.Leave.Click();
Code: Select all
/form[@processname='chrome']//button[@accessiblename='Leave']