public void Test002_EditVocabulary() { Trace.WriteLine(BasePage.RunningTestKeyWord + "'Edit the Vocabulary'"); AdminTaxonomyPage adminTaxonomyPage = new AdminTaxonomyPage(_driver); adminTaxonomyPage.OpenUsingButtons(_baseUrl); adminTaxonomyPage.AddDescription(_vocabularyName, _vocabularyDescription); Trace.WriteLine(BasePage.TraceLevelPage + "ASSERT the Vocabulary Description is updated in the list"); Assert.That(adminTaxonomyPage.WaitForElement(By.XPath("//tr[td[text() = '" + _vocabularyName + "']]/td[3]")).Text, Is.EqualTo(_vocabularyDescription), "The Vocabulary description is not updated correctly"); }