-
- All Implemented Interfaces:
-
com.kaspersky.kaspresso.device.languages.Language
public final class LanguageImpl implements Language
The implementation of Language
-
-
Constructor Summary
Constructors Constructor Description LanguageImpl(UiTestLogger logger, Context context)
-
Method Summary
Modifier and Type Method Description UnitswitchInApp(Locale locale)Switches language only in the current Application (not in OS!). -
-
Constructor Detail
-
LanguageImpl
LanguageImpl(UiTestLogger logger, Context context)
-
-
Method Detail
-
switchInApp
Unit switchInApp(Locale locale)
Switches language only in the current Application (not in OS!). Please, keep in mind the following fact: If you have switched languages then you need to refresh current screen to get the screen with new language! Also, don't forget to restore the previous language if you don't clean the state of the Application after each test.
-
-
-
-