Posts: 4
Threads: 1
Joined: Sep 2008
Reputation:
0
09-08-2008, 06:30 PM
Hi All,
Do anybody has any idea about designing the automation framework for automating the testing of a multilingual website using QTP.
Any prior experience/ suggestions.
Posts: 71
Threads: 1
Joined: Jul 2008
Reputation:
0
09-10-2008, 03:26 AM
hi
How Different is a multilingual website from an ordinary website.the object must be still the same.could you please help me in explaining it.
Regards
Kishore
Posts: 4
Threads: 1
Joined: Sep 2008
Reputation:
0
09-10-2008, 10:25 AM
Hi Kishore,
Thanks for your interests in the subject. The problem is that the site operates in more than 35 countries with approx 18 languages. The idea revolves around whether to consider each country's website as a distinct one, or do some generalization in order to achieve a better %age of usability.
I hope you got the point. Please revert in case you are having any confusion yet.
Anil K.
Posts: 1,105
Threads: 18
Joined: Jan 2008
Reputation:
8
09-10-2008, 05:38 PM
I second kishoreinchennai ...
anilverma.070: Are the objects(their unique properties etc) different for different languages?
Acc to my understanding, only the UI(language) will make a difference not the coding inside it. The diff made by the UI would anyhow be compared by the external data that you pass.
Posts: 4
Threads: 1
Joined: Sep 2008
Reputation:
0
09-10-2008, 06:01 PM
Hi Ankur:
Most of the time, it is different. e.g. Login page of the site remains same for all the language (part from the translation), but post login, page is totally customized according to the country. More so, contents of the page are dynamic and are displayed based on the country.
Objects like edit box have got an internal ID which makes them unique, but then there are things like labels, images, links that totally depends on country and language.
Posts: 1,105
Threads: 18
Joined: Jan 2008
Reputation:
8
09-10-2008, 11:26 PM
ok to make things more clear...can you show us say properties of labels, link , images etc(When I say property, I mean the UNIQUE recorded properties that are used to identify the object at run time) for two languages?
Posts: 4
Threads: 1
Joined: Sep 2008
Reputation:
0
09-11-2008, 10:34 AM
OK Ankur,
Lets take the example of a text field (User Name for login):
For US/ English one:
Name: ctl00$workarea$loginPageView$ctl00$login$ctl00$tbxHandle
html id: ctl00_workarea_loginPageView_ctl00_login_ctl00_tbxHandle
For Germany one:
Name: CPLandingPageView$loginControl$ctl00$txtHandle
html id: CPLandingPageView_loginControl_ctl00_txtHandle
Posts: 71
Threads: 1
Joined: Jul 2008
Reputation:
0
09-12-2008, 09:18 PM
Anil
is there a common key word in any property which will identify
the object uniquely.For example the keyword login is in the name for english and german and this keyword must not be in any other object In Simple words if i say *Login* it must return
the username in all the languages.
IF the objects have such naming convention it is possible to derive a common frame work for all the login screens using regular expression.
i assume that the functionaly of the web page is same in all the languages.if yes this approach might work
if there is no way to group the objects on some common identifying facter in all these websites then you got to go for 33 different scenarios.
regards