Type Text keyword fails with error: ValueError: ContextTree has not been initialized

What am I missing ?

Hi @humy65

Some questions and suggestions…

  • have you enabled the Java Access Bridge on the machine with jabswitch ?
  • have you set environment variable RC_JAVA_ACCESS_BRIDGE_DLL ?
  • you might need to initialize your import with ignore_callbacks
    Library RPA.JavaAccessBridge ignore_callbacks=True
  • you need to call Select Window with the title of application window you are trying to access before using keywords like Type Text

Documentation here

Select Window was missing.