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)



I learned all the objects of my application in object repository thru English Language. now i want..

Answer / 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

More QTP Interview Questions

What is the present version of the VB Script we are using

1 Answers  


How to run scripts 1,29,3,5,7,2 scripts using test batch runner in QTP.... Ie...I wanted to run scripts not in an order 1,2,3,4,5...like that How it is possible using test batch runner... I dont want hardcoded script

0 Answers   IBM,


write progamming connecting QTP to database sql? this is question asked by interview? please give sql, pl/sql related answer?pls any answer this?

3 Answers   IBM,


i am new QTP... please tell me automation frameworks , types & for whiich type of applications frameworks are used & how to generate script in keyword driven framework

0 Answers   IBM, TCS,


hi friends i have 4 yrs exp in testing and 2 yrsexp in QTP.currently aim working in mnc in north as a permanent employer .iam looking for job in south is there any openings plz let me know my mail id is bjr@aol.in its very urjent

5 Answers  






what is mercury.clipboard in qtp.where we can get this in qtp tool i.e tabs

1 Answers  


What will be the test script in QTP to test a ComboBox where a user has to select more than two items????

8 Answers   L&T,


Through array we can execute the testcase how ? give me example

0 Answers   TCS,


How to use regular expression in descriptive programming?

0 Answers  


what is the script for keyword driven framework in real time?plz its urgent

1 Answers   Accenture, CTS,


In how may ways we can use checkpoints to an application using QTP?

3 Answers  


what about f2&f6 function keys

1 Answers  


Categories