public void ThenNewPostDisplayInGrid()
        {
            var element = PageObjects.PostObjects.PostTitleText.Replace("<Get Title>", title);

            //  var element = ".//*[text()='" + title + "']";
            Assert.IsTrue(SeleniumHelper.CheckElementDisplay(element), "not found element");
        }
 public void ThenEditPostPageAppear()
 {
     Assert.IsTrue(SeleniumHelper.CheckElementDisplay(PageObjects.AddNewObjects.EditPostPage), "not found element");
     Assert.AreEqual(SeleniumHelper.GetAttributeInput(PageObjects.AddNewObjects.Title).ToString(), title);
 }
 public void ThenTheAddNewPostPageAppears()
 {
     Assert.IsTrue(SeleniumHelper.CheckElementDisplay(PageObjects.AddNewObjects.AddNewPostPage), "Not found");
 }