コード例 #1
0
 public void Setup()
 {
     using (var db = new KcsarContext())
     {
         Guid empty = Guid.Empty;
         this.memberId = db.Members.Where(f => f.TrainingAwards.Count > 1 && f.Id != empty).First().Id;
     }
     try
     {
         this.browser = UIAutomation.GetAdminBrowser();
         this.browser.NavigateToPath("/Members/Detail/" + this.memberId.ToString());
     }
     catch
     {
         UIAutomation.Shutdown();
         throw;
     }
 }
コード例 #2
0
 public void TearDown()
 {
     UIAutomation.Shutdown();
 }