public void MyTestCaseOne() { login.LaunchApplication(); //login.LaunchApplication("https://gmail.com"); login.LoginToApplication(); inbox.Compose(); inbox.Send(); login.LogoutFromApplication(); }
[TestMethod] //Test Case / Test Scenario public void ComposeAndSendAnEmail() { Debug.WriteLine("Test Case : Compose and Send An Email"); login.LaunchApplication(); login.LoginToApplication(); inbox.Compose(); inbox.Send(); login.LogoutFromApplication(); }