Exemple #1
0
 public void GivenUserINavigatedToApplicationUsing(string BaseURL)
 {
     try
     {
         DriverClass.StartTest(TestConfig.clientUrl);
     }
     catch (Exception E)
     {
         Console.WriteLine("Test Failed: could not load the application : {0}", E.Message);
         DriverClass.CloseTest();
         throw;
     }
 }
Exemple #2
0
 public void GivenUserNavigatesToApplicationLoginPage(String site)
 {
     try
     {
         DriverClass.StartTest(TestConfig.externalUrl);
         LoginPage loginPage = new LoginPage(CustomBaseClass.MyDriver);
         //Comment for Applications where default page is Login
         //loginPage.linkLogin.Click();
     }
     catch (Exception E)
     {
         Console.WriteLine("Test Failed: could not load the application : {0}", E.Message);
         DriverClass.CloseTest();
         throw;
     }
 }