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
Can you list some technologies that support qtp?
hi all can anyone explain how to write the code for finding the mandatory columns in table which are having (red*) (red Astrik)
Diff b/w Health care domain and Banking Domain?
How you can find the absolute value of the number in qtp?
What is the difference between Keyword Driven test and Data Driven test?
i can done the project with QTP in that time i can say how many members in my team size?
Describe function procedure in vbscript.
How reliable are the site's Internet connections required to be? And how does that affect backup system or redundant connection requirements and testing?
What are the different types of recording modes in qtp? Which will be used when?
How to attach a file to TD?
i am new QTP... please tell me automation frameworks , types & for whiich type of applications frameworks are used & how to generate script in keyword driven framework
Explain actions in qtp ?
Hi, I got error message as "object does not support this property or method: "Test.Actions" when i execute the following line of script on QTP 9.0 Dim qtApp, qtRep Set qtApp = CreateObject("QuickTest.Application") Set qtRep = qtApp.Test.Actions("Action1").ObjectRepositories Can anyone tell me where i am wrong.
What is the framework your company is following. What is the reason. Explain why key word driven frame work is chosen.
When I click on a link in web page.Link should open in new window.can anyone please let me know the script for this ---Koti