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
Is any limitation to xml checkpoints?
QTP 10.0 is not identifying web objects for IE 8.it is identifying like winObject.I installed HP patch QTPWEB_00037.Still getting issue
How software automation specialist enter steps in the Expert View?
Can we run multiple QTP scripts one after the other without manual intervention? How?
What is difference between design time and run time data table?
Dis advantages of XML checkpoint ?
What is the expert view?
How does quicktest professional (qtp) identifies the object in the application?
Hello everyone! I am just writing a small test for a windows application. I have a problem with a text output value. The value i am trying to catch is presented in a scrollable textbox. When the text is too long, only a portion of it gets captured. Do you have any experience with this?
how can we compare descriptive programing with a regular expression
any body can you help me what is the script to automate an comand promt
How to get Traceability matrix from TD?
whenever U using QTP,Test Director, Why we using separate Bug tracking tool?
What is keyword view?
HI Everybody, I am using QTP 9.2, I have a problem and hope everybody help me solve it. Now I need to use mouse wheel event to zoom in or zoom out in web client, but QTP can't catch this event. I look forward helping of everybody. Thank you very much.