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
hi guys, pls tell me for testing institution training hub, hitech city is best or not?
Hi, Can anyone please tell me how to connect the QC with QTP using QTP script? Thanks in advance
what is clean sweep?
Explain the types of properties that quick test learns while recording?
how to evalute defects in QTP script?
I want to test my vb.net solution file using qtp. Does Qtp test only .exe file?
Hi all Can u give me the link where we can download full version of qtp my mail id is karthic.venkitapathi@gmail.com
Why do we use breakpoints in QTP?
Where to use function or action?
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.
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..
if our qtp vb Script may be Currepted then What we want do?
Can we record an application running on a remote machine using qtp?
How to create scenario selector
Hi. please provide license key for QTP 9.2, I have windows XP on my machine Thanks in Advance, moreshwar