I am creating an automation that handles IT tickets, I have to check it’s state but I have a issue either I have a drop down list with several states or I have an unchangeable value when I run my automation when the value is the unchangeable value it works how it is supposed but if it finds a ticket which has the drop down list it stops and gives an error, how can I make it so that the automation considers both options as valid inputs?
The attributes shown in UiExplorer for each object.
The selector you are using.
the idea is to find a common selector between the two objects or to check which object exists in the current ticket and use the adequate selector based on that.
Don’t use the selector editor. Use Ui Explorer. It will show you all the properties that exist for these Ui elements. You will find that you can build a selector that recognizes the element whether it’s disabled or not.
1.use the uiexplore
2.get the property of the application which says enabled for dropdown and disabled for for the text area or property saying text Box and combo box.
3.based on the attribute value you can move forward reading the value
It’s the same element. What they need to do is build a selector that recognizes it regardless of it being enabled or disabled. They don’t need to know if it’s enabled or disabled.