We have an application where I need to be able to select an item from a menu; however, the menu items can vary.
The text is always the same but the number that follows the menu item is variable.
For example, if I want to click on the referrals item in the screenshot, the selector code generated is
java role=‘page tab list’ /
java name=‘Clinical’ role=‘page tab’ /
java cls=‘td’ role=‘tree’ /
java name=‘Referrals (5)’ role=‘label’ /
Looking for a way to select an item notwithstanding the number of items
Thanks