Micro Focus QTP (UFT) Forums
Localization problem. - Printable Version

+- Micro Focus QTP (UFT) Forums (https://www.learnqtp.com/forums)
+-- Forum: Micro Focus UFT (earlier known as QTP) (https://www.learnqtp.com/forums/Forum-Micro-Focus-UFT-earlier-known-as-QTP)
+--- Forum: UFT / QTP Beginners (https://www.learnqtp.com/forums/Forum-UFT-QTP-Beginners)
+--- Thread: Localization problem. (/Thread-Localization-problem)



Localization problem. - sidpro_54 - 12-31-2008

Application under test has two different dialogs. The dialogs are derived from two different classes. So not any any way are similar in their outlook.
The problem starts u start to identify them in any other language OS(say japanese). As texts cannot be used. And rest of the properties are same even window id, has border etc...
And other properties which are different are not unique any way so that I can use them. Please help by answering a few questions
1>How can descriptive programming can help ?
2>Can we incorporate our own properties in QTP ?
3>Is there any around ?


RE: Localization problem. - nageshpv - 01-02-2009

Try to get the properties like Name, Innertext, outertext etc.. if that doens't work try using index property, it works for sure.


RE: Localization problem. - sidpro_54 - 01-05-2009

The problem is I can't use text as it is for localization. And checked with index, it does not identify the dialogs uniquely.


RE: Localization problem. - sidpro_54 - 01-08-2009

I had problem identifying my dialogs in localization. As no texts(no index etc) meaning that the dialogs can be called by something which is unique.
Like i changed the names of the dialogs using "SetToProperty" at the beginning of the script. thus there is no problem in identifying the dialogs. The names of the dialog will be in a Excel sheet. The button and etc are covered by index.
I think in future this might be of someone's help.


RE: Localization problem. - nageshpv - 01-08-2009

Hey, that is a good solution. Thanks for sharing. Smile


RE: Localization problem. - rajsunder_r - 04-12-2012

I did not understand can you please elaborate on this.