public void PreviewButtonCheckEditButton() { HomePage homePage = new HomePage(_browser); FaceBookconnectPage faceBookconnectPage = homePage.ClickOnConnectBtn(); HomePage homePageConnected = faceBookconnectPage.Login(_config.ConfigObject.Users.AdminUser); homePageConnected.ValidateUserProfilePic(); EditorPage editorPage = homePageConnected.ClickOnAddArticle(); ArticleBase articleBase = editorPage.ClickOnArticle(); articleBase.ClickOnMagicStick(2); articleBase.WriteTitle("VIDEO:Title Title Title"); PreviewPage previewPage = articleBase.ClickOnPreviewBtn(); ArticleBase articleBaseEdit = previewPage.ClickOnEditButton(); Assert.IsTrue(articleBaseEdit.ValidateEditMode()); }