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
am not having intrest in coding lang like c c++ java etc can i choose Testing tools as my carrier and please suggest me which tool is good (suitable for me)
What are the different recording modes?
What is the diff between image and bitmap check point?
I need to pull the data from the page which in row, column vice into excel sheet, how can it be done using QTP? eg: Name Dept xyz gdty i need the same data to be exported in excel sheet.
Where we use data driver in qtp?
desribe a situation where u faced a stressful situation and how did u cope with it
What are the advantages of Object Repository?
What Folder Structure following in Keyword Driven Frame work?
What are the types of environment variables in qtp?
www.icici.com ,after this.. home page wll came, in this page what r the items we r going to test for manual and what are items we r going to test for QTP... explian clearly with example
What is difference between design time and run time data table?
What is the difference between run time object and test object?
I want two test two agents login for the flight website. Here is the scenario: I want to go through 1-3 rows for one user login and other user login I want to go though 3-5 rows. How would you set this up in qtp. Thank You
How many add-ins comes by default with qtp?
For example you are checking bit map check point before coming to the results. How can you say it is passed? Or failed? Anyways?