Have you considered writting a function that procceses what you get from the object spy? I would use the UCase fuction with some substring to remove the non caharacter numbers and the concatenate it together again.
I don't want to do your option because it will defeat the purpose of the testing. Right now I am using ucase but that is not what I want. if I use Ucase i only can validate data. I want to validate exact match not just the data.
I dont think it defeats the purpose of testing if the application behaves the same way always. You know that the stylesheet will always uppercase it and has a fixed set of rules it will always have the same result. Im not suggesting you uppercase the whole srting just create a function that emulates what the stylesheet does. In this case just uppercase the first letter.
Anyway have how about a text checkpoint or similar do you get the same lowercase values?
Im assuming you are using the web add in, but in some cases I have used the java add in in order to get more properties than I would normally get with the normal web add in, you might want to give that a shot.