Targeting fields with no labels
testgrinder service will be discontinued on January 31, 2025
As you write scenarios you may find yourself trying to target a field without a label. It could be the description field following another field. For example, the description field that follows the asset number on the Assets application screen
In this case, targeting the description field is easy, just use the testgrinder step with … in the description field of the … field… Here’s how it would look for entering the asset’s description:
But sometimes you may come across a field with no label, yet it is not the case above. This happens when a Maximo developer chooses to suppress the field’s label for some reason, most likely to make the screen less clattered or to save space. Here’s, for example, a part of the Assets application screen showing Shift, Priority, and Serial # fields with the labels and then with the labels hidden
with the labels suppressed
What to do in this case? Is there a way to target these fields in testgrinder scripts?
If you are writing testgrinder scripts for Maximo version 7.5, then the answer is yes, there is a way.
It turns out Maximo preserves fields labels and shows them as tooltips when you hover the mouse over the fields:
Shift:
Priority:
Serial #:
The good news is that testgrinder can target the fields not only by their labels but also by their tooltips!
(Unfortunately Maximo 7.6 no longer displays field tooltips, so if you are using Maximo 7.6 this approach will not work.)
Note that if the field has a value, the value is also displayed in the tooltip. Make sure not to include the colon and the field value in the testgrinder step.
Last updated