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
If I give some thousand tests to execute in two days what do you do?
Explain building blocks of the bpt framework ?
How many types of actions are there in quicktest professional (qtp)?
What test cases can you automate using QTP?
What is the quicktest professional (qtp) testing process?
Does QTP10 supports Windows 7OS +IE 9 combination? Which is the preffered combination ,Plz let me know?
I created 3 actions in test suppose I want to run action 1 in single time, action 2 is 4 time what I do?
What are the benefits of qtp?
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.
Where you are storing your script?
How will you handle java tree in qtp?
How can we import into Excel "Details" ,"Result" ,"Time" parameters from within a Results Report which is generated after a Run error when a script is executed in QTP? Refer E.g below Status Functionality Description RunDate Fail Login User should be able to Login 12/3/2007 StartTime EndTime Details* 1:31:58 PM 1:32:29 PM (this one i want)
How to build scripts that access data from external sources?
How you can write contexts to text file in qtp?
If u r using library files (Instead of Check Points) , How do u do bitmap check ?