public override void VerifyContentExists() { NameLabel.Wait(3); NameLabel.Text = Data.Name; Assert.AreEqual(Data.Name, NameLabel.Text.Trim(), "NameLabel does not match."); PublisherLabel.Text = Data.Publisher; Assert.AreEqual(Data.Publisher, PublisherLabel.Text.Trim(), "PublisherLabel does not match."); KeywordsLabel.Text = Data.Keyword; Assert.AreEqual(Data.Keyword, KeywordsLabel.Text.Trim(), "KeywordsLabel does not match."); AdditionalItemIdentifierLabel.Text = Data.AdditionalItemIdentifier; Assert.AreEqual(Data.AdditionalItemIdentifier, AdditionalItemIdentifierLabel.Text.Trim(), "AdditionalItemIdentifierLabel does not match."); BatchLabel.Text = Data.Batch; Assert.AreEqual(Data.Batch, BatchLabel.Text.Trim(), "BatchLabel does not match."); CourseIdLabel.Text = Data.CourseId; Assert.AreEqual(Data.CourseId, CourseIdLabel.Text.Trim(), "CourseIdLabel does not match."); ItemCategoryLabel.Text = Data.ItemCategory; Assert.AreEqual(Data.ItemCategory, ItemCategoryLabel.Text.Trim(), "ItemCategoryLabel does not match."); YearLabel.Text = Data.Year; Assert.AreEqual(Data.Year, YearLabel.Text.Trim(), "YearLabel does not match."); }