コード例 #1
0
 public void tc1VerifyLoginProcedurePositiveTest()
 {
     try {
         test = extent.CreateTest("tc1VerifyLoginProcedurePositeTest").Info("tc1VerifyLoginProcedurePositeTest Started");
         LoginPageObject   loginObject = new LoginPageObject();
         UpdatePageObjects pageObj     = loginObject.Login(DataLib.ReadData(1, "Email"), DataLib.ReadData(1, "Password"));
         test.Log(Status.Info, "Successfully Logged In with DS Data");
         test.Log(Status.Pass, "tc1VerifyLoginProcedurePositeTest Passed");
     }
     catch (Exception e)
     {
         test.Log(Status.Fail, e.ToString());
         throw;
     }
 }