1. How can we use same object repository and Testscript
which is in English flavor to check the application in
different languages thru QTP?(Chinese,Dutch,French)

- I generated script in english and want to use the same
script with different languages?
- for windows i used regular expressions
- I need for edit box,button and combobox,
(English,French,Dutch,Chinese) These are the properties of
a button in different languages
Properties English Dutuch Chinese French
x 400 758 631 601
y 673 603 592 676
windowstyle 1342242816 1342242816 1342242816 1.34E+09
windowid 2 2 2 2
windowextended style 4 4 4 4
width 120 120 120 120
visible TRUE TRUE TRUE TRUE
righttoleft reading FALSE FALSE FALSE FALSE
righttoleftlayout FALSE FALSE FALSE FALSE
rightaligned FALSE FALSE FALSE FALSE
regexpwndtitle cancel Loschen Chinese language Annuler
regexpwndclass button button button button
objectclass button button button button
hwnd 132872 657228 656932 656782
height 33 33 33 33
focused FALSE FALSE FALSE FALSE
enabled TRUE TRUE TRUE TRUE
attached text
abs_y 669 599 627 597
abs_x 396 754 588 672
text cancel Loschen Chinese language Annuler
nativeclass button Button
ordinal Identifier
type,Value none none none none
smartidentification FALSE FALSE FALSE FALSE
comment



1. How can we use same object repository and Testscript which is in English flavor to check the ap..

Answer / nanda

Hi,

see it is very difficult to use Regular expression
always..use the index or location property..let me know if u
didn't get this answer..

Regards
nanda

mail to :
nanda.dreddy@gmail.com

Is This Answer Correct ?    1 Yes 2 No

Post New Answer

More QTP Interview Questions

hi gavasker i want how to merg OR's in QTP 8.2 by QTP Plus

1 Answers  


Where should we turn Smart Identification ON in QTP?

5 Answers  


In Test Director , You can store Test cases or vb Script . Why we need VSS?

2 Answers  


What is QTP?

3 Answers   Crea,


Hey friends i m facing a problem when i m running my script in qtp it waits for about 5-10 secs before starting execution why it is so can any one solve my problem .Previously it was running fine

1 Answers  


What is the main differece between QTP 9.0 and 9.2

1 Answers   VeriSign,


How to add a standard checkpoint in your test ?

1 Answers  


when you press a link it displays "the page cannot be displayed" then as a tester how you will find the problem,what type of problem must be it?

3 Answers  


How to check and display a particular word from a paragraph?

1 Answers  


images are dynamically changes how to compare two images

2 Answers   Hexaware,


Can we record an application running on a remote machine using qtp?

0 Answers  


How to call a function in QTP?

4 Answers  


Categories