I am new to Ranorex and working on free downloaded version on ranorex. While working with Data driven test found that I need to use regular expression in path for automation id.

But adding regular expression is not working at all.

my path is

/form[@controlname='XAForm']//tree[@automationid='ColScrollRegion: 0, RowScrollRegion: 0']/treeitem[@automationid='4']/text[@automationid='1']/text

For [@automationid='4'], I tried to following i.e.


[@automationid~'[0-9]'] etc. but none of them is working.

I would appreciate all your help.