Objectivity.Test.Automation.Tests.PageObjects.PageObjects.Kendo.KendoGridPage.SearchRowWithText C# (CSharp) Méthode

SearchRowWithText() public méthode

public SearchRowWithText ( string text ) : string
text string
Résultat 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));
 }