I have selectors which are dynamic in nature . The difference is one diesnot have idx and other two idx value changes. How can I use regex to make selectors dynamic in nature. for example if the tag contains ‘ONE-RECORD-HOME-FLEXIPAGE2’ search for that particular ui element
no, this is against the nature of selectors / regex selector
We still can produce working Selectors using idx=‘1’ also when not offered at the Attribute list
We recommend to approach and analyze it relaxed carefully within the UiExplorer Are you sure that this webelement is of tag: ONE-RECORD-HOME-FLEXIPAGE2?
Instead of using the idx attribute there is no other attribute which contains the sequence of numbers like idx. Might be, the row attribute has the values like this. Check and find the other attribute.