Objectivity.Test.Automation.Tests.PageObjects.PageObjects.Kendo.KendoGridPage.SearchRowWithText C# (CSharp) Method

SearchRowWithText() public method

public SearchRowWithText ( string text ) : string
text string
return string
        public string SearchRowWithText(string text)
        {
            var rowText = this.Grid.SearchRowWithText(text, BaseConfiguration.ShortTimeout).Text;
            return rowText;
        }

Usage Example

 public void KendoGridSearchRowWithTextTest()
 {
     var text = "Maurizio Moroni";
     var rowText = "Maurizio Moroni Sales Associate Reggiani Caseifici Italy";
     var homePage = new KendoGridPage(this.DriverContext);
     homePage.Open();
     Assert.AreEqual(rowText, homePage.SearchRowWithText(text));
 }