Help system extensibility

Custom actions require complete documentation to ensure correct usage.

The TestArchitect Help system extensibility feature enables you to extend TestArchitect’s Help topics with your own topics and documentation system.

Configuring user-defined help

To make use of Help-system extensibility for custom actions, you must modify the mapping file user_defined_help.ini, along with the corresponding commands.

By default, the file user_defined_help.ini is installed to the following directory when TestArchitect is installed:
  • Windows: C:/Users/Public/LogiGear/TestArchitect
  • Linux:/usr/local/logigear/testarchitect/data
  • macOS: /Applications/TestArchitect/data
Tip: During installation, the location of user_defined_help.ini can be modified in the TestArchitect Installation dialog box. Following installation, the location can also be modified using TestArchitect Preferences.

The mapping file contains pairs of custom actions and their corresponding commands. The command for each custom action varies based on your operating system. The command conventions are as follows:
  • Windows: <custom_action> = start + <absolute _path_to_HTML_page>. For example:
    • check login = start D:\data_folder\check_login.html
  • Linux: <custom_action> = xdg-open + <absolute _path_to_HTML_page>. For example:
    • check login[Linux] = xdg-open /usr/data_folder/check_login.html
  • macOS: <custom_action> = open + <absolute _path_to_HTML_page>. For example:
    • check login[MAC] = open /Users/John.Doe/Desktop/data_folder/check_login.html
  • In user_defined_help.ini, the pound sign (#) is used for commenting-out purposes.
  • To include whitespace characters on Linux or macOS, place a backslash (\) before each whitespace. For example:
    • check login[Linux] = xdg-open /usr/data\ folder/check\ login.html
  • TestArchitect also supports both standard quotation marks and single quotation marks for path locations. For example:
    • check login[MAC] = open "/Users/John.Doe/Desktop/data_folder/check_login.html"
    • check login[MAC] = open '/Users/John.Doe/Desktop/data_folder/check_login.html'

Displaying action descriptions

The primary value of the Help System Extensibility feature is in allowing you to provide reference pages documenting your custom actions. Context-sensitive help functionality allows you to offer testers and automation engineers easy access to the actions' definitions and application notes.

  1. Document descriptions of custom actions (preferable in HTML files). The format and structure of such HTML files should be based on your particular design needs, using one description for each custom action per file.
    Tip: You can save the HTML files in any folder that is easy to remember.
  2. For each documented custom action, add an action entry to user_defined_help.ini along with the corresponding command, and the absolute path to the appropriate HTML page. (Learn more).
  3. Save user_defined_help.ini.
  4. In TestArchitect, hold your cursor over a custom action in the editor, or in the Actions node on the TestArchitect explorer tree, then press F1. The default browser opens the HTML page containing the description of the selected custom action in the HTML format that you have defined for the description file.