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
QTP script is not working on other's machine..
What is qtpro? What is a quick test professional?
How to replay a script in qtp?
can u explain relative path architecture framework in qtp?
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
How do know the number of browsers opened?
Key word driven framework
What is parameter in qtp?
How to run an integrated test scenario using Multiple Actions? How to use the QTP Step Generator?
how do we know whether all objects are stored in the object repository or not? how can we know if a particular object is not stored in the repository?
What are the types of object repositories? Which one is you using?
In a flight window we have to enter the name and meal request for every passenger.In that window if we give Total passengers=1 then the Psngr1 name field and psngr1 meal request field will reflects.if we give Total passengers=2 then Psngr1 name field and psngr1 meal request field,Psngr2 name field and psngr2 meal request field will reflects and so on.if total psngrs=100 then will we capture all the fields for the psngrs to Automate the app how we can handle this scenerio thru Descriptive programming?
What are the key elements available in test result window?
what is the difference betn QTP 8.0 AND PREVIOUS VERSION
how can we do the frame work in qtp