Unified Functional Testing Practitioners Forum

Encoding of object repository

Occasional Advisor

Encoding of object repository



Whenever UFT saves an object repository to an xml it encodes the xml in UCS-2 Little Endian. Is there a way to change this? We would like UFT to encode OR.xml files in UTF-8. The way it currently is we have to re-encode the file every time we edit the OR.

HPE Expert

Re: Encoding of object repository

Hello Eric,


    UFT don't have options or settings that allow you to select the encoding type.




If you find this useful, mark Kudos.

Also remember if you have a valid contract with HP feel free to visit our FT/QTP Support Customer Forums: http://h30499.www3.hp.com/t5/Functional-Testing-QTP/ct-p/sws-Fun_Test
You can create an account with your HP credentials


Note: The Opinions expressed in my post are mine alone, and do not reflect the opinions of my employer. No warranties express or implied for any answered posted.

//Add this to "OnDomLoad" event