I just upgraded Ranorex Studio to 9.0 , and I meet a following problem :
'System.Collections.Generic.IEnumerable<Ranorex.Cell>' does not contain a definition for 'IsEmpty' and no extension method 'IsEmpty' accepting a first argument of type 'System.Collections.Generic.IEnumerable<Ranorex.Cell>' could be found (are you missing a using directive or an assembly reference?) (CS1061)'
My code looks as follows:
Code: Select all
int resultsPresentCount = repo.formFind.tableSearchResults.Rows.Where
(
rowSearchResults => !rowSearchResults.Cells.Where
(
cellSearchResults => Regex.IsMatch(cellSearchResults.GetAttributeValue<string>("text"),varSearchQuery,RegexOptions.IgnoreCase)
)[color=#FF0000].IsEmpty()[/color]
).Count();
Best regards