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 risks of testing a project?

5 Answers   AppLabs,


Java add-in is need to work on java oriented project ?

3 Answers  


I have recorded a test over web application(with IE6.0) in analog mode. But, while running it my test gets failed. Why? (Note: my systray has 3 open web applications)

7 Answers   Xansa,


Hi Friends, Im planning to do certifcation in mercury Automation Tool QTP.But I Didnt get any clear details regarding course syllabus, fees, where to approach, and which certification would be useful for the experienced testers? can any one send me the details?

0 Answers  


How to compare 2 excel files using QTP? How to compare 2 PDF files using QTP?

1 Answers  


Is qtp supports uni-code?

0 Answers  


In what occasion we can specify global sheet and action sheet?

0 Answers  


why require regression testing?

2 Answers   TCS,


How QTP recognizes Objects in AUT?

1 Answers   Crea,


Explain the difference between smart identification and object identification withn clear example. please it is very urgent

2 Answers   Wipro,


What is the syntax to call one script from another? And what can be the syntax to call one “action” in another?

0 Answers  


Why to use descriptive programming?

0 Answers  


Categories