Optional Configurations in the Word Workload
Configuring the Word Run script
Uploading the Word scripts to an Appliance
BMP File Setup (if not already present)
Linking the Word scripts to a Test
Running a Test with Word scripts
Overview
The Word workload measures realistic document editing performance by combining computational tasks and humanlike interactions. Typing content, inserting a high‑definition BMP image (LoginVSI_BattlingRobots.bmp), natural scroll functionality, copy‑paste operations, and intensive image‑rendering workloads stress CPU, GPU, memory, and rendering subsystems. The new smooth, humanlike scrolling simulates real user behavior while graphically intensive operations, like high‑def BMP insertion, push modern hardware. These workloads are ready to use as provided, except for updating the BMP URL and uploading the high‑def image.
The Word Start script launches Word with a predefined document and manages initial setup dialogs.
The Word Run script automates editing tasks: document open, typing text, inserting the BMP image, copy‑paste loops, natural scrolling, and Save As workflows.
Metrics captured include launch duration, document‑open time, image insertion latency, and save‑as performance.
✅ This workload is ready to use as provided.
⚠️ Note: This workload uses a BMP image file. Before running, make sure you’ve completed the BMP File Setup section. This includes updating the image URL in the workload code.
The download files for the workload are attached at the bottom of this page.
Word Start script
Launches Word with a specified document and dismisses any first‑run dialogs.
Features
- File Download: Ensures the predefined document exists by copying from the appliance.
- Application Launch: Starts Word targeting the window and measures launch time.
- Dialog Handling: Closes first‑run pop‑ups automatically.
- Window Preparation: Maximizes and focuses the main Word window.
Word Run script
Drives Word through end‑to‑end editing workflows, validating file‑open, typing, image insertion, copy‑paste, scrolling, and save operations.
Features
- Blank Document Launch: Opens a new document and closes extras.
- File‑Open Dialog: Automates file open, navigates the dialog, and loads the test document.
- Typing Simulation: Types multiple lines of content at configured speeds.
- Image Insertion: Inserts a high‑def BMP image (LoginVSI_BattlingRobots.bmp)
- Copy‑Paste Operations: Performs configurable repetitions of copy and paste actions and measures duration.
- Scroll Simulation: Scrolls up and down through the document to stress rendering performance.
- Save‑As Workflow: Opens Save As, saves the edited document, and records the save duration.
Optional Configurations in the Word Workload
Each variable is editable at the top of the workload files. To edit the workloads, such as the variables, use the Login Enterprise Script Editor.
Configuring the Word Run script
All configurable variables are defined at the top of each script. You can adjust:
- Timeouts: globalTimeoutInSeconds for window and dialog searches.
- Delays: waitMessageboxInSeconds, globalWaitInSeconds, waitInBetweenKeyboardShortcuts for pacing.
- Typing Speeds: keyboardShortcutsCPM, typingTextCPM.
- Copy‑Paste: copyPasteRepetitions, waitForCopyPasteInSeconds.
- Scroll Parameters: counts and waitTime in Scroll().
Uploading the Word scripts to an Appliance
For details on uploading the workloads to an Appliance, consult Uploading scripts.
For instructions on adding these workloads to a Group, refer to Application Groups.
The Word Start script needs the 'Leave Application Running' and 'Run Once' settings configured, such as:
For more information, see Application configurations: Run Once and Leave Application Running.
BMP File Setup (if not already present)
Upload LoginVSI_BattlingRobots.bmp to the appliance if it hasn't been done:
- Connect via SFTP (e.g., WinSCP) to your Login Enterprise appliance.
- Navigate to /loginvsi/content/scriptcontent.
- Place the BMP file so that its full path is /loginvsi/content/scriptcontent/LoginVSI_BattlingRobots.bmp.
⚠️ Note: This is a one-time setup per appliance.
Linking the Word scripts to a Test
To add application workloads or application workload groups to a Load Test, see Adding Applications to a Load Test.
Running a Test with Word scripts
To run the Test with workloads linked to it, see Starting a Load Test.