- Please read each of the commented-out portions of this script, to see what it does and if there are lines which 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:
- Start Slack for Windows; ensure it's started
- Look for the Sign In button, but move on if not found
- If the sign in button is present it will process the defined sign in process, with the defined user credentials, into the defined workspace.
- If Sign In button not present then the script will assume the workspace is already logged into, and just continue on with the defined workload actions thereafter
- Interact with the logged in version of Slack desktop, verifying it has opened successfully to the landing page
- Open the defined Slack channel name by clicking on it
Click on the new message field after the defined Slack channel has been opened
- Send test messages, with the defined loop amount, into the Slack channel via the message field
- Close out of Slack for Windows
Please refer to the top of the attached .cs file for more information.
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 section "Application Customization" for further self-help information regarding workload crafting and implementation.