TestProject Forum

Search Xpath with Regex

Is it possible to search a element by xpath using regex?

The app I am testing has elements that have patterns in their text like “[0-9]{1,2}.[0-9]{1,2}[a-zA-Z]+” or “Base[0-9]|BaseN/A”, but unfornatelly they have no id’s, their views are dinamic -.- and I can’t find same elements when searching different items.

I read that Xpath 2.0 has a feature to match with element by a pattern, is it possible here ?

I am thank you in advance any help you can give :wink: