Multilingual web testing support with Selenium

453 views
Skip to first unread message

Sagar

unread,
Jun 4, 2012, 9:58:52 AM6/4/12
to Selenium Users
Hi,
I wanted to know whether it is possible to test websites that have
multilingual support with Selenium.
If yes, how many languages are supported for testing by Selenium?

Can Selenium perform content validation in multilingual websites.
Any help or information is highly appreciated.

Thanks,
Sagar

sandeep srivastava

unread,
Jun 4, 2012, 11:06:31 AM6/4/12
to seleniu...@googlegroups.com

if you use java selenium driver. You could use resource bundle

http://docs.oracle.com/javase/6/docs/api/java/util/ResourceBundle.html




--
You received this message because you are subscribed to the Google Groups "Selenium Users" group.
To post to this group, send email to seleniu...@googlegroups.com.
To unsubscribe from this group, send email to selenium-user...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/selenium-users?hl=en.


Tim Barker

unread,
Jun 4, 2012, 5:48:32 PM6/4/12
to Selenium Users
I use hashmaps and properties files in Java for all of my strings, so
I can create language files for locators that use onscreen text and
support multiple languages in the application under test.

sandeep srivastava

unread,
Jun 5, 2012, 1:48:18 AM6/5/12
to seleniu...@googlegroups.com

I think you cannot limit the contents in the properties file for dynamic webpages. Then..


Sagar

unread,
Jun 5, 2012, 7:38:35 AM6/5/12
to Selenium Users
Thanks Sandeep and Tim,
I got a fair idea on how to achieve this.


On Jun 5, 10:48 am, sandeep srivastava <srivastava.sa...@gmail.com>
wrote:
Reply all
Reply to author
Forward
0 new messages