Now when I use QTP, the checkpoint between two strings is something like:
Browser("Yahoo").Page("Yahoo").Output CheckPoint("My User")
Then in the checkpoint interface which I can define the text before and after whick Help and Logout are static strings.
I'm doing descriptive programming and how can get the string value programmatically, so I can control the text before and after for different locale.
Thanks for the answer, but my question is GetROProperty is working with an object, but how do you get the static string out on the website by using GetROProperty? Don't need to worry about the En to Fr function, I just want to show that my string will be different depend on the lanaguage so the checkpoint in QTP doesn't work for me.