I learned all the objects of my application in object
repository thru English Language. now i want to use same
object repository for other languages(French,Dutuch and
Chinese)

Answer Posted / a>s>

First I tried to use a non language specific way of
identifying the object, like the Window ID ( a unique number
, it is also only 1 primary identifier). This means that
each object is usable irrespective of language. This of
cause does not work for a window or a dialog so here I
create a Environment file for each language ( including one
for English, xml but simple) and then map the window O.R.
item to that environment variable ( a little complicated )
and then on execution I find out the current language and
use that as part of the Environment file to load like
EVF_English.xml so if it finds French then it loads the
EVF_French.xml environment file. Since its only windows I
have to worry about since you can not have a window ID for a
window then there are fewer vairables I have to have in the
Environment files. Oh and one more thing the Environment
variable can not have spaces in it so you can use
Environment("MainWindow") but not ("Main Window").

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

hi guys, pls tell me for testing institution training hub, hitech city is best or not?

1307


Hi, Can anyone please tell me how to connect the QC with QTP using QTP script? Thanks in advance

1515


what is clean sweep?

1873


Explain the types of properties that quick test learns while recording?

550


how to evalute defects in QTP script?

1478






I want to test my vb.net solution file using qtp. Does Qtp test only .exe file?

1713


Hi all Can u give me the link where we can download full version of qtp my mail id is karthic.venkitapathi@gmail.com

1338


Why do we use breakpoints in QTP?

569


Where to use function or action?

664


Hi any body pls help me for QTP 11.0 software free demo version. i have to practice. Kindly send the link.or where i have to download.

1610


write a script to validate the content in the web application. (do it by OR method) and (do it by Descriptive method by creating a description object..

1789


if our qtp vb Script may be Currepted then What we want do?

1475


Can we record an application running on a remote machine using qtp?

706


How to create scenario selector

1467


Hi. please provide license key for QTP 9.2, I have windows XP on my machine Thanks in Advance, moreshwar

2789