01-30-2009, 12:15 AM
Hi All,
I am working on scripting for a .Net based application. There are WinMenu options that I am trying to verify their labels. Two of the labels include Ctrl+S type shortcuts on the end of the labels. I can get the label and record it in my results. I then took that and set it to a variable and tried a compare as a "checkpoint", but it fails everytime saying the values are not equal. I do not understand this as I took the value it outputted before from a
lbl= menuObjfm.GetItemProperty(itemPathfm, "Label") type code.
Does anyone have any idea why the two values are not matching, but when printed side by side they look exactly alike?
Please any help would be greatly appreciated.
Thank you
Jen
I am working on scripting for a .Net based application. There are WinMenu options that I am trying to verify their labels. Two of the labels include Ctrl+S type shortcuts on the end of the labels. I can get the label and record it in my results. I then took that and set it to a variable and tried a compare as a "checkpoint", but it fails everytime saying the values are not equal. I do not understand this as I took the value it outputted before from a
lbl= menuObjfm.GetItemProperty(itemPathfm, "Label") type code.
Does anyone have any idea why the two values are not matching, but when printed side by side they look exactly alike?
Please any help would be greatly appreciated.
Thank you
Jen