| || |
Extracting Text Value from a Java Label
User Ghafoor, Rozeena (firstname.lastname@example.org) posted:
My application uses Java Label to store the results of a calculation. The
problem is that Robot defaults the label Text property as the Name in the
recognition method i.e
Result = LabelVP (CompareProperties,
"JavaCaption=SwingSet;\;Type=Label;Name=153556 6", "VP=LabelTest")
I can't use SQAGetProperty because this uses the recognition method which
contains the text value.
The only thing I came up with was to replace the "Name=1535566" with the
Index value but I have now been told by the developers that Index property
is not something they set.
Can anyone help?