02-11-2009, 09:51 PM
So I have also noticed that the length of the label from the menu and the lentgh of the text I copied from the label are exactly the same, as expected. However the StrComp() is still returning -1. A simple menuLabel = "Save Ctrl+S" does not work. Would there be some way to convert the label to just string values? My assumption is that the short cut has some code behind it that does not allow the comparision to occur correctly.
PLEASE HELP! This is really an issue since QTP's checkpoints dont work with the menu labels directly.
Thanks again,
Jen
PLEASE HELP! This is really an issue since QTP's checkpoints dont work with the menu labels directly.
Thanks again,
Jen