How do you deal with different language web application and Selenium IDE? -


the web site testing enables user choose language. , if language switched english else language, label names of drop down menus different.

so work around switching english in beginning of test, way:

open | /&uilanguage=en

but not workaround because don't find sophisticated enough , feels cheating.

i new selenium ide , im sure there better ways.

with xpath use "or" expressions, can use or expressions when not using xpath?

for example

type | id=orderbillingcity | label=ruse <> label=Русе

how can that?

  • you can use "xpath" or "css" or "id" locator perform localization checks. languages or text not make impact on these locators. remains same.

  • but if use "link" or "name" locator change according language. not use "link" or "name" locator perform localization checks.

hope you.


Comments

Popular posts from this blog

php - mySql Join with 4 tables -

css - Text drops down with smaller window -

c# - DetailsView in ASP.Net - How to add another column on the side/add a control in each row? -