Skip to content

Commit 25b9251

Browse files
Documentation update (#78)
1 parent 1b7bcde commit 25b9251

File tree

4 files changed

+43
-8
lines changed

4 files changed

+43
-8
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313

1414
The SAP Testing Automation Framework is an open-source orchestration tool designed to validate SAP deployments on Microsoft Azure. It enables you to assess system configurations against SAP on Azure best practices and guidelines. Additionally, the framework facilitates automation for various testing scenarios, including High Availability (HA) functional testing.
1515

16-
> **NOTE**: This repository is currently in private preview and is intended for testing and feedback purposes. As this is an early release, it is not yet production-ready, and breaking changes can be introduced at any time.
16+
> **NOTE**: This repository is currently in public preview and is intended for testing and feedback purposes. As this is an early release, it is not yet production-ready, and breaking changes can be introduced at any time.
1717
1818
![SAP Testing Automation Framework](./docs/images/sap-testing-automation-framework.png)
1919

WORKSPACES/SYSTEM/DEV-WEEU-SAP01-X00/sap-parameters.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@ sap_sid: X00
99
# if the SAP Central Services are deployed using high availability
1010
scs_high_availability: true
1111
scs_cluster_type: AFA
12+
scs_instance_number: "00"
13+
ers_instance_number: "01"
1214

1315
#############################################################################
1416
# Database tier #

docs/HIGH_AVAILABILITY.md

Lines changed: 40 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -262,6 +262,15 @@ NFS_provider: "ANF" # or "AFS"
262262
# If you're using system-assigned managed identity instead:
263263
# - Leave this blank or set to empty string ""
264264
user_assigned_identity_client_id: "000000-00000-00000-00000-000000"
265+
266+
# If you have the SSH key or VM password stored in an Azure Key Vault as a secret:
267+
# - Enter the Azure Key Vault Resource ID in the key_vault_id parameter and the Secret ID in the secret_id parameter.
268+
# - You can find the Resource ID of the Key Vault in Azure Portal → Key Vaults → Your Key Vault → JSON view → Copy the Resource ID
269+
# - You can find the Resource ID of the Secret in Your Key Vault → Secrets → Select Secret → Current Version → Copy the Secret Identifier
270+
# If you're creating SSHKEY or VMPASSWORD file locally:
271+
# - Remove the following two parameters
272+
key_vault_id: /subscriptions/<subscription-id>/resourceGroups/<resource-group>/providers/Microsoft.KeyVault/vaults/<key-vault-name>
273+
secret_id: https://<key-vault-name>.vault.azure.net/secrets/<secret-name>/<id>
265274
```
266275

267276
2.2.3. Credential Files
@@ -272,7 +281,7 @@ The required credential files depend on the authentication method used to connec
272281
1. Username and Password Authentication: If connecting using a username and password, create a password file by running the following command. It takes the username from hosts.yaml file.
273282

274283
```bash
275-
echo "password" > WORKSPACE/SYSTEM/<DIRECTORY>/password
284+
echo "password" > WORKSPACES/SYSTEM/<DIRECTORY>/password
276285
```
277286

278287
### 3. Test Execution
@@ -283,13 +292,37 @@ To execute the script, run following command:
283292
./scripts/sap_automation_qa.sh
284293
```
285294

286-
## Troubleshooting
295+
### 4. Viewing Test Results
287296

288-
Test results and logs can be found in:
297+
After the test execution completes, a detailed HTML report is generated that summarizes the PASS/FAIL status of each test case and includes detailed execution logs for every step of the automation run.
289298

290-
```bash
291-
cd WORKSPACES/SYSTEM/<SYSTEM_CONFIG_NAME>/quality_assurance/
292-
```
299+
**To locate and view your test report:**
300+
301+
1. **Navigate to your SAP system’s workspace directory:**
302+
303+
Replace `<SYSTEM_CONFIG_NAME>` with the name of your SAP system configuration (for example, `DEV-WEEU-SAP01-X00`):
304+
305+
```bash
306+
cd WORKSPACES/SYSTEM/<SYSTEM_CONFIG_NAME>/quality_assurance/
307+
```
308+
2. **Find your report file:**
309+
310+
The report file is named using the following format:
311+
312+
```
313+
HA_{SAP_TIER}_{DATABASE_TYPE}_{OS_DISTRO_NAME}_{INVOCATION_ID}.html
314+
```
315+
316+
- `SAP_TIER`: The SAP tier tested (e.g., DB, SCS)
317+
- `DATABASE_TYPE`: The database type (e.g., HANA)
318+
- `OS_DISTRO_NAME`: The operating system distribution (e.g., SLES15SP4)
319+
- `INVOCATION_ID`: A unique identifier (Group invocation ID) for the test run which is logged at the end of test execution. Find example screenshot below:
320+
321+
![Test Execution Completion Screenshot](./images/execution_screenshot.png)
322+
323+
3. **View the report**
324+
325+
You can open the HTML report in any web browser to review the results and logs.
293326
294327
## Update the framework
295328
@@ -333,7 +366,7 @@ To ensure you have the latest features and fixes, it's important to keep your fo
333366
334367
This process will update your fork with all the latest features, bug fixes, and improvements from the original SAP Testing Automation Framework repository.
335368
336-
> [!NOTE]
369+
> **NOTE**
337370
> If you've made local changes to your fork, you might encounter merge conflicts during step 4. In that case, you'll need to resolve these conflicts before proceeding with the push in step 5.
338371
339372
## Additional Resources
19.1 KB
Loading

0 commit comments

Comments
 (0)