For posterity: Errata corrige in "Tutorial: Build a Basic Appian Bot"

The variable that is initialized as "mail", later on is used as "email"

But the most important thing is:

the correct way to implement client variable in start method is : 

client = IWindows.getInstance(this);

  Discussion posts and replies are publicly visible

Parents
  • To clarify

    The interface IClient represents an abstraction to make low-level OS API calls. This interface is preferred over IWindows, aiming to make development independent of specific Operating Systems. Along with this interface, there are specific interfaces for other OS: Windows, Linux and Mac.

    The interface IWindows, which inherits from IJidokaRobot, provides a lot of specific Windows functionalities. If our robot is going to run on a Windows operating system and we are going to operate applications which run on Windows, we should use this interface,

    so this is valid as you mention

    IWindows windows = IWindows.getInstance(this);

    But this is also valid

    private IClient client;

    client = IClient.getInstance(this);

Reply
  • To clarify

    The interface IClient represents an abstraction to make low-level OS API calls. This interface is preferred over IWindows, aiming to make development independent of specific Operating Systems. Along with this interface, there are specific interfaces for other OS: Windows, Linux and Mac.

    The interface IWindows, which inherits from IJidokaRobot, provides a lot of specific Windows functionalities. If our robot is going to run on a Windows operating system and we are going to operate applications which run on Windows, we should use this interface,

    so this is valid as you mention

    IWindows windows = IWindows.getInstance(this);

    But this is also valid

    private IClient client;

    client = IClient.getInstance(this);

Children