Forum Discussion
tristaanogre
6 years agoEsteemed Contributor
TestComplete RegEx is different than standard when being used within the FindAllChildren. So, follow the instructions from the TestComplete documentation and you should be good.
- jmarkman6 years agoOccasional Contributor
Well, after playing around with it for a while, it looks like I'm not good. I tried
var rows = myElement.FindAllChildren("className", "regexp:^trip-details\s*(cancelled)*$", 5).toArray();
and this seems to only return anything containing trip-details instead of that AND trip-details cancelled if it is present.