Welcome to SHOUT, your AI-powered testing companion designed to simplify and enhance GUI test automation. This manual provides step-by-step instructions and best practices for using SHOUT effectively.
Edit settings.properties
to add/change the following settings:
gpt_key
: GPT API keygpt_model
(optional)gpt_assistant_model
(optional)server_port
: The port used by the SHOUT server.browser
: Select Chrome, Firefox, Safari, or Edge.suite_folder
: The folder name of the current suite.Run (double-click) the run.bat
file (no Java JDK needed since using the included JDK) or double-click the Shout.jar
file (requires Java JDK 21 installed). You may need to unblock the run.bat
file if it was downloaded.
Double-click the Shout.jar
file (requires Java JDK 21 installed).
Start the SHOUT web interface in a browser by navigating to localhost:5678
(default). This will open the dashboard where you can manage settings, tests, and suites.
Navigate to the "Settings" page within the SHOUT interface and configure the following:
https://michelnass.com/traveler/index.html
.Before starting, ensure the application under test is accessible at the specified URL. If authentication is required, log in and accept any cookies. Alternatively, you can use a SetUp test to handle cookies or perform other setup actions automatically.
To avoid repeated logins during testing, use the "Save Cookies" button in the SHOUT interface. Saved cookies will be loaded automatically for future sessions.
SHOUT can automatically generate a series of tests based on the defined suite objective. This method leverages AI to understand the primary goals and create comprehensive test cases, saving time and reducing manual effort.
In exploratory testing, SHOUT autonomously navigates and interacts with the system under test (SUT). This mode is ideal for uncovering unexpected behaviors or exploring new functionalities without predefined scripts. The results from the exploratory session are automatically saved in the logs folder for further analysis.
Users can import existing test instructions into SHOUT. These can include high-level objectives or detailed step-by-step test cases. This option streamlines integration with previously defined test plans.
In cocreation, users work interactively with SHOUT to build test cases step-by-step. This collaborative approach combines AI insights with user knowledge, ensuring tailored and precise test scenarios.
A SetUp test is a special type of test that can be used to prepare the environment or system under test before executing other tests in the suite. This ensures a consistent and controlled starting point for all subsequent tests.
To create a SetUp test, use the "Save as SetUp" button in the Cocreate interface. Once saved, the SetUp test will automatically run before all other tests in the suite if it is present.
Best practices for SetUp tests include:
By leveraging SetUp tests, you can reduce the chances of failures caused by inconsistent or incomplete system states.
SHOUT supports commands via GET requests at localhost:5678/command
. With these commands, you can ask the AI questions about the current test suite, request it to create or run tests, perform exploratory sessions, generate reports, receive advice, and perform other helpful tasks. Additionally, the dashboard page includes an input field where you can interact directly with the AI to issue these commands or ask questions in real-time.
request:
Ask the AI agent to answer a question, create a report, or perform an action.>>request:
Similar to request
but returns a raw response (useful for external integrations).run:
Start executing all tests in the suite.stop:
Halt ongoing test execution.kill:
Terminate the SHOUT server.All test-related data is stored in the "suite" folder. This includes:
suite.json
versions.To manage multiple test suites, duplicate the "suite" folder. Update the suite_folder
property in settings.properties
to point to the desired folder.
Ensure SHOUT is restarted after changing the suite_folder
setting to apply the new configuration.