Ejemplo n.º 1
0
 public static void DeleteEntity()
 {
     GridHelper.ActiveTab = 1;
     GridHelper.GoToActiveTab();
     GridHelper.GridId = "entitiesGrid";
     GridHelper.RowId  = "test";
     GridHelper.BtnClick("Delete");
     GridHelper.ConfrimButtonClick(true);
     Thread.Sleep(500);
     if (GridHelper.IsRowExists())
     {
         Assert.Fail("DeleteRow Fail");
     }
 }
Ejemplo n.º 2
0
        public static void EntityGridRowClick()
        {
            GridHelper.GridId    = "entitiesMasterGrid";
            GridHelper.RowId     = "test";
            GridHelper.ActiveTab = 2;

            GridHelper.GoToActiveTab();

            var row = GridHelper.FindRow();

            if (row == null)
            {
                Assert.Fail("Entity not exsist in entitiesMasterGrid");
            }
            WaitHelper.Wait.Until(ExpectedConditions.ElementToBeClickable(row));

            row.Click();
        }