Hydra 2.5.0 is out now. Check out what's new

Type Random Sentence

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. Refer to the Application Script Recording for further self-help information regarding workload crafting and implementation.

Overview

This script will demonstrate how you can type random sentences using the FileCopy(KnownFiles) function from the Scripting Functions Overview and the available .NET Core libraries. This script requires Login Enterprise v4.1 or newer.

This workload will perform the following actions:

  1. Open Notepad

  2. Type random sentences into Notepad by:

    1. Downloading a text file containing random sentences from the VA using the FileCopy(KnownFiles) function.

    2. Read the text file into a list.

    3. The RandomSentence method will return a random sentence from the list.

Additional Resources

typeRandomSentence_v1.0.cs

typeRandomSentence_v1.0.app