Skip to main content
Skip table of contents

Slack for Windows

Disclaimer

This workload is provided as-is and might need further configuration and customization to work successfully in each unique environment. For further Professional Services-based customization, please consult with the Login VSI Support and Services team. Please refer to the Application Script Recording for further self-help information regarding workload crafting and implementation.

For more information, refer to the top of the .cs file under Additional Resources.

Overview

  • Please read each of the commented-out portions of this script to see what it does and if there are lines that should be commented out or changed (variables, for example)

  • Environment: Win 10 Pro x64 winver 1909 18363.720 | Slack for Windows version 4.4.0 | Login Enterprise ScriptingToolset version 4.0.11

  • Google Chrome browser is optional to be installed -- if Slack needs to be logged into/authenticated via a web browser, then Chrome will be needed (or another web browser, but the script will need to be customized to support it)

This workload will perform the following interactions:

  1. Start Slack for Windows; ensure it's started.

  2. Look for the Sign In button, but move on if it's not found.

    1. If the sign-in button is present, it will process the defined sign-in process, with the defined user credentials, into the defined workspace.

    2. If the Sign In button is not present, then the script will assume the workspace is already logged in and just continue with the defined workload actions thereafter.

  3. Interact with the logged-in version of Slack desktop, verifying it has opened successfully to the landing page.

  4. Open the defined Slack channel name by clicking on it.

  5. Click on the new message field after the defined Slack channel has been opened.

  6. Send test messages, with the defined loop amount, into the Slack channel via the message field.

  7. Close out of Slack for Windows.

Additional Resources

slackDesktop_v1.0.app

slackDesktop_v1.0.cs

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.