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

We have 10 rows of records in data table, but we have to run 4th, 5th and 6th rows only. How can we handle this scenario in QTP?

5 Answers   Accenture, Banca Sella, Polaris,


hi i have one issue while automating the script using QTP i want scrool down .i cannot do even using scrool down methqad is not working .the object will take WebElement plz is there any code help me

3 Answers  


What the differences are and best practical application of Object Repository?

0 Answers  


how interviews will be on QTP?

0 Answers   Fidelity,


What are the two types of repositories available, explain them?

0 Answers  






how can we compare descriptive programing with a regular expression

0 Answers  


what is Compile Module in QTP? what exactly it contains Functions or Actions?

2 Answers   GE,


how to click the link in webpage by using QTP Script????????

3 Answers  


unable to get item from the combobox using descriptive programing. can any one give me the peice of code to schedule the booking from one place to another using DESCRIPTIVE PROGRAMING.

1 Answers  


How to check the URL using Automation tool QTP

2 Answers  


How many types of run modes are there in qtp?

0 Answers  


write progamming connecting QTP to database sql? this is question asked by interview? pls any answer this?

4 Answers   IBM,


Categories