Skip to content

Latest commit

 

History

History
60 lines (38 loc) · 4.02 KB

Make_testing_bot_STU.md

File metadata and controls

60 lines (38 loc) · 4.02 KB

Build a test bot using your new plugin with STU

Congratulations. Now your plugin is registered (uploaded) at the private repository so you can make use of it in the ARGOS Low-code platform. This section shows how to build a test bot using your plugin.

To make a test bot with the plugin which you created you need to install STU and PAM and register (sign up) at Supervisor.

01-login-STU

If your STU is already open, please close it and restart. STU sign-in credentials are the same as your Supervisor account credentials.

02-private-plugin

Please be patient when you have a new plugin - Everytime STU starts he will try to see if there is any change in your toolbox such as addition of a new plugin --- it checks the data from both official repository and private repositories registered at supervisor's private plugin menu. If it's first time to run the STU then it may take more than a few minutes. And afterwards this checking time will be reduced to a few seconds because the toolbox data is cached.

You can find your plugin ASCII Art at the last of Operations, Plugins-private group.

  • Your plugin's display name is ASCII Art but above name is (P)ASCII Art. (P) means private.
  • If you want your plugin is going to publish to official repository then please ask us to publish.
  • Once your plugin is published to official repository the (P) prefix will be dissapeared.
  • If your plugin is exists both at official repository and private repository:
    • Same or grater version exists at official repository then no (P) prefix exists
    • Greater version exists at private repository then (P) prefix exists

03-asciiart-properties

If you drag and drop your (P)ASCII Art plugin at Operations to Timeline then you can see above image at your STU`. There is a Properties pane at the right side. Let's set next things:

  • Message: Any message is OK, above example is Hi ASCII?
  • Return value section: Save the result as {{my.a}} variable
    • Result Type: String
    • VariableName: {{my.a}}

04-run-notepad

We will add two more operations to get the result of (P)ASCII Art plugin. Firstly search run at the right to Operation and the drag and drotp the Run Program operation. And then at Properties pane:

  • File Path: notepad

This means run empty notepad application.

05-text-input

Secondly search input at the right to Operation and the drag and drotp the Text Input operation. And then at Properties pane:

  • Input type: UserVariable
  • Paste Icon: checked
  • At drop down box: select {{my.a}}

06-testrun

Now that is all to make a testing bot. To run this bot, Test run from Run menu or press F5.

07-result

IMPORTANT Preparation of Virtual Environmentcan take some time depending on what Python modules your bot will be referencing. But please do not worry. This is just for the very first time. Second time on, the local Virtual Environment can be used without re-construction.

You can see the result at the Notepad app as above example.