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


Please Help Members By Posting Answers For Below Questions

Where to use function or action?

669


What are the types of object repository?

576


What is QTP’s model for test creation?

677


We stored into the objects OR and then write the scripting

1542


How can you handle exceptions in qtp?

534






how to write the descriptive programming in QTP for remove the object value and substitute, with a variable then call the validation from excel

1901


What does mean by Scope of Automation?n How we defined it?

1574


In keyward driven framework what will be the step for yahoo login page ,inbox logout,plz explain in detail

1499


How can i test an application like Google Earth.In my application data will be fetched from a oracle database based upon which graphs are generated..so these all are dynamic..how can i use qtp here..alongwith that how can i test the map generated by a satellite just like google earth..

1719


How does qtp identify the object in the application?

537


what type of values given to objects. EX::Set oBrowser=Description.Create oBrowser(“micclass”).Value=”Browser”

1490


what is the hierarchy to use properties in descriptive programming

1498


I want to do QTP Certification what is the pattern of Question paper.

1744


which type of testing process are you following in ur company? how to recognize a qtp page?

1403


Explain how you can find the absolute value of the number in qtp?

645