🛠️Testing action guide
Testing is an important step that helps you control the flow of your script, allowing you to run each step or block of commands to ensure everything operates as intended before the actual run.
🎥 Watch the tutorial video: Here.
🎯 Why is it necessary to Test action?
Error control: Detect and address issues as actions are performed, rather than having to run the entire script from the beginning.
Flexible tuning: You can isolate a single action or a block to test, helping to shorten debugging time.
Process as you go, test as you go: GPM Automate supports direct testing mechanisms on GPM Login profiles, allowing you to observe results immediately in the browser.
Note: The Test feature currently only supports profiles in GPM Login.
⚙️ Testing Procedure
To start the testing process, follow these steps:
1️⃣ Step 1: Configure profile in GPM Login
Open GPM Login.
Locate the profile you want to use for testing.
Click on the three dots next to the profile name.
Select Run with remote port to get the control port information.


2️⃣ Step 2: Set up in GPM Automate
In the GPM Automate interface, select the action or block that you want to test.
On the toolbar above, click the Test button.
A Test configuration dialog will appear.
Enter the Port obtained from GPM Login in Step 1 into the corresponding field.
Click Start to begin.

3️⃣ Step 3: Observe the results
After clicking Start, the system will execute the command on the selected profile.
You can monitor the results displayed in the browser window and the log of GPM Automate to adjust the script if necessary.
Last updated
Was this helpful?