Install and configure RSAT
You can download the Windows Installer (MSI) package file for RSAT from Regression Suite Automation Tool (RSAT for finance and operations apps). Double-click the MSI file to run it. After you install RSAT, it will prompt for Selenium and web browser driver libraries. If the needed libraries are missing, RSAT will automatically install them for you.
The following procedure describes the configuration that is required to run the Store Commerce test cases to configure RSAT.
Open RSAT from your desktop.
Select the Settings button in the upper right to configure RSAT.
In the Settings dialog box, select the Optional tab and select the Configure Retail POS option to enable the Retail Store Commerce automation.
In the Settings dialog box, on the Retail POS tab of the Playback environment tab, set the following fields:
- Cloud POS URL – Enter the URL of the Store Commerce for web environment where you want to run the test.
- Commerce Scale Unit URL – Enter the Commerce Scale Unit URL that should be used for device activation if the device hasn't already been activated.
- Microsoft Entra ID user email – Enter the email address of the Microsoft Entra ID user that should be used for device activation. The Microsoft Entra ID user must have permission to activate the device.
- Microsoft Entra ID password – Enter the password of the Microsoft Entra ID user that should be used for device activation.
- Register number – Enter the ID of the register number (channel) where the test should be run.
- Device – Enter the ID of the device where the test should be run.
- Default wait time – Enter the wait time, in seconds, before the test case fails if any element isn't found. During test implementation, the playback engine keeps trying to find the find element until this default wait time has passed. It will then fail the test case and notify you that the element that was recorded wasn't found or loaded for playback. The following screenshot shows an example of how to populate settings for RSAT.
Select the POS login credentials tab. During a recording session, the test recorder captures only the username from the Store Commerce. It doesn't store any passwords. However, to run the test, you must have the username and the password that are used to sign into Store Commerce. This tab captures the Store Commerce username and password so that the password information is stored outside the recording file. During test implementation, the user ID is then mapped to the same user ID that is entered in RSAT, and the password is retrieved. Therefore, on the POS login credentials tab, you must enter all the username and password information that was used during the recording session so that the password can be retrieved during the test run. Otherwise, test implementation will fail, and you will be notified that sign-in details were not found. The following screenshot shows how to select the login credentials for RSAT.
Select New.
In the Username field, enter the username for sign-in to Store Commerce.
In the Password field, enter the password for sign-in to Store Commerce.
Repeat steps 6 through 8 to enter other usernames and passwords.
To edit a set of Store Commerce sign-in credentials, select Edit.
To delete a set of Store Commerce sign-in credentials, select Delete.