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

Answer Posted / 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       View All Answers


Please Help Members By Posting Answers For Below Questions

What does it mean when a check point is in red color? What do you do?

570


Explain quicktest professional (qtp) testing process?

539


There is an built in window application in qtp9.1,i.e.Flight4.0.i want to implement the recovery maneger on it.How can i do this?

1628


How can we use the "CreateObject("Shell.Application")" in QTP and what is the definition and purpose of it?

3058


Get the count of files of similar types from a folder.

975






Differentiate the type of test cases which can be automated and which cannot be automated?

567


How to capture all the data of a webtable, weblist and combolist using QTP?

2857


How is a Step generator used in UFT?

663


Can we record using all the modes in a single script? Explanation with example is appreciated

1392


suppose in the middle of the project QTP will not work properly, then what do u do? and ur team?

1328


requirement is for combo box your expected value is str= "Denver.Frankfurt.London.Los Angeles.Paris.Portland.San Francisco.Seattle.Sydney.Zurich" you must get the text in combo box and need to compare them how

1480


What if recovery scenarios is also failed for identify the alert ? (We are handling unexpected popup through recovery scenarios but if still recovery scenarios also failed than what should be the approach)

1017


Please Don't mind .i want in detail the real time process i.e in each document what it contains.

1441


How to make qtp understand the difference amongst the same type of objects .suppose there are 5 check boxes in a page and I have to choose the 2nd one, how to do that through script?

568


How many types of parameters are available in quicktest professional (qtp)?

585