This kind of UI interaction question comes up so often, I have to wonder what people were thinking when they signed up at this automation job. We need to make app develoeprs responsible for making apps easier to test. I really do feel sorry for you here, this is pretty common as a automation blocker. I really do feel your pain, I used to let this block me in the past.
You could try:
- get the developer to export a UI intent that fires the BH you want to validate.
- get them to give you another way of testing the same functionality
- decide whether your UI has got dissability/acessibility issues and start over
- Dont automate this test case in the way you are , but automate the same check in another way/route entirely.
When we automate the GUI, we are not really checking anything. Try and get your team to change their approach to “testing”.