0

While reading selenium common exceptions, I came across below two exceptions.

exception selenium.common.exceptions.ImeActivationFailedException
(msg=None, screen=None, stacktrace=None)
Thrown when activating an IME engine has failed.

exception selenium.common.exceptions.ImeNotAvailableException
(msg=None, screen=None, stacktrace=None)
Thrown when IME support is not available. This exception is thrown for every IME-related method call if IME support is not available on the machine.

a. What is the meaning of IME engine?

b. When does below exceptions will occur? What kind of cleanup code do we need to write in Finally block?

parishodak
  • 4,506
  • 4
  • 34
  • 48
Venkatesh Achanta
  • 624
  • 1
  • 14
  • 31

1 Answers1

1

You can refer to my answer about IME in the below link:

What exactly does ime() in selenium do?

When you ImeActivationFailedException and ImeNotAvailableException these exceptions, you are not able to input desired (Chinese/Japanese/etc) characters in your test webpage, and hence it is advised to fail the test with appropriate message.

Community
  • 1
  • 1
parishodak
  • 4,506
  • 4
  • 34
  • 48