コード例 #1
0
 public void PartnerNavigationTest()
 {
     try
     {
         PartnerAdmin.PartnerNavigation();
         Assert.AreEqual(TestEnvironment.LoadJson().Partners.LandingHeader, WebDriverUtils.TextChecker(PartnerPageObjects.PartnerLandPageHeader()));
         log.Info(System.Reflection.MethodBase.GetCurrentMethod());
         log.Info(LoginPageObjects.SuccessMessage());
     }
     catch (Exception ex)
     {
         log.Error(System.Reflection.MethodBase.GetCurrentMethod());
         log.Error(LoginPageObjects.FailedMessage() + ex.Message);
         Assert.Fail(ex.Message);
     }
 }
コード例 #2
0
 static Dictionary<string, object> getValue(PartnerAdmin pa)
 {
     Dictionary<string, object> data = new Dictionary<string, object>();
     return data;
 }