Skip to content

Commit 0f58bf8

Browse files
committed
Add ServiceNow module documentation with Usage anchors
1 parent 799847e commit 0f58bf8

File tree

1 file changed

+34
-31
lines changed

1 file changed

+34
-31
lines changed

docs/product-integrations/servicenow.md

Lines changed: 34 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -7,22 +7,26 @@ parent: product-integrations
77
permalink: /product-integrations/servicenow/
88
anchors:
99
what-is-servicenow: What Is ServiceNow?
10-
usage: Usage
10+
usage-login-to-servicenow-instance: Usage - Login to ServiceNow instance
11+
usage-user-impersonation-in-servicenow: Usage - User Impersonation in ServiceNow
12+
usage-serviceNow-record-form: Usage - ServiceNow Record Form
13+
usage-working-with-serviceNow-table-view: Usage - Working with ServiceNow Table View
14+
usage-left-navigation-in-servicenow: Usage - Left Navigation in ServiceNow
15+
usage-servicenow-data-creation: Usage - ServiceNow Data Creation
16+
usage-uib-dashboard-record-view-table-view: Usage - UIB Dashboard, Record View, Table View
1117
config: Configuration
1218
---
13-
14-
# What is ServiceNow?
15-
19+
What is ServiceNow?
20+
------------------
1621
**ServiceNow** is a cloud-based platform used by many organizations across different industries to manage workflows and services.
1722
BELLATRIX ServiceNow module offers ready for testing serviceNow based applications.
1823
The page presents the examples of what this module offers.
1924

20-
# Usage
25+
Usage - Login to ServiceNow instance
26+
------------------
2127

2228
The following section presents comprehensive test scenarios for common ServiceNow application use cases.
2329

24-
## Login to ServiceNow instance
25-
2630
### Example
2731

2832
#### Login with Credentials Input
@@ -65,8 +69,9 @@ Using configuration-based credentials is recommended for:
6569
- Easier credential management across different environments
6670
- Better security practices in version control systems
6771

68-
## User Impersonation in ServiceNow
6972

73+
Usage - User Impersonation in ServiceNow
74+
------------------
7075
This guide demonstrates how to implement automated user impersonation functionality for ServiceNow instances using the BELLATRIX framework. User impersonation allows administrators and authorized users to temporarily assume the identity of another user for testing, troubleshooting, or administrative purposes.
7176

7277
### Example
@@ -127,10 +132,10 @@ Validates that the impersonation was successful by:
127132

128133
The test validates both the technical functionality of impersonation and serves as a foundation for more complex user permission and role-based testing scenarios.
129134

135+
Usage - ServiceNow Record Form
136+
------------------
130137

131-
## ServiceNow Record Form Operations
132-
133-
### Example
138+
### Examples Open Record form
134139

135140
#### Open Record from Table
136141

@@ -177,7 +182,7 @@ public void newRecordFormOpen_when_clickNewButton () {
177182
}
178183
```
179184

180-
### Explanations
185+
### Explanations Open Record form
181186

182187
***Open Record from Table***
183188

@@ -197,9 +202,7 @@ Using these record form operations enables:
197202
- New record creation testing
198203
- Proper form state validation for both existing and new records
199204

200-
## ServiceNow Record Form Sub-tabs Operations
201-
202-
### Example
205+
### Examples Record Form Sub-tabs Operations
203206

204207
#### Verify Sub-tabs Presence
205208

@@ -265,7 +268,7 @@ public void newRecordFormOpen_when_clickNewButtonForTheSelectedBottomTableTab()
265268
}
266269
```
267270

268-
### Explanations
271+
### Explanations Record Form Sub-tabs Operations
269272

270273
#### Verify Sub-tabs Presence
271274

@@ -297,7 +300,8 @@ This test verifies the ability to create new records directly from sub-tabs. It
297300
- Confirms new record forms open with correct headers
298301
- Tests critical functionality for incident management processes
299302

300-
## Working with ServiceNow Table View
303+
Usage - Working with ServiceNow Table View
304+
------------------
301305

302306
### Example
303307

@@ -386,7 +390,8 @@ The tests demonstrate how to search for specific records within the ServiceNow t
386390

387391
This functionality is essential for quickly locating specific incidents in large datasets.
388392

389-
## Left Navigation in ServiceNow
393+
Usage - Left Navigation in ServiceNow
394+
------------------
390395

391396
### Example
392397

@@ -452,7 +457,8 @@ Using left navigation tests is recommended for:
452457
- Verifying that menu items lead to the correct pages and functionality
453458
- Testing user experience consistency in ServiceNow applications
454459

455-
## ServiceNow Data Creation Tests
460+
Usage - ServiceNow Data Creation
461+
------------------
456462

457463
### Example
458464

@@ -577,9 +583,10 @@ Using the BELLATRIX ServiceNow data creation module is recommended for:
577583
- Entity lifecycle management in test scenarios
578584
- Integration testing with ServiceNow instances
579585

580-
## UIB Dashboard Navigation Examples
586+
Usage - UIB Dashboard, Record View, Table View
587+
------------------
581588

582-
### Example
589+
### Examples UIB Dashboard
583590

584591
#### Open Workspace Dashboard Test
585592

@@ -622,7 +629,7 @@ public void dashboardComponentCardTest() {
622629
}
623630
```
624631

625-
### Explanations
632+
### Explanations UIB Dashboard
626633

627634
***Open Workspace Dashboard Test***
628635

@@ -653,9 +660,7 @@ Using component card navigation is recommended for:
653660

654661
These tests provide comprehensive coverage of the Manager Workspace navigation patterns, ensuring reliable access to work order management functionality within ServiceNow's UIB interface. The tests validate both the workspace initialization and the multi-step navigation flows that users commonly perform when managing work orders.
655662

656-
## UIB Record View Examples
657-
658-
### Example
663+
### Examples UIB Record View
659664

660665
#### Open and Verify Record Form
661666

@@ -717,7 +722,7 @@ public void fillRecordForm() {
717722
}
718723
```
719724

720-
### Explanations
725+
### Explanations UIB Record View
721726

722727
***Open and Verify Record Form***
723728

@@ -745,9 +750,7 @@ Using the TemplateModel builder pattern provides:
745750
- Clear separation between test logic and test data
746751
- Improved maintainability when form structures change---
747752

748-
## UIB Table View Examples
749-
750-
### Example
753+
### Examples UIB Table View
751754

752755
#### Table Refresh Test
753756
```java
@@ -853,7 +856,7 @@ public void openRecordByColumnValue() {
853856
}
854857
```
855858

856-
### Explanations
859+
### Explanations UIB Table View
857860

858861
#### Table Refresh Test Explanation
859862
This test verifies that the table refresh functionality works correctly within the ServiceNow workspace manager. This is essential for validating that data updates are properly reflected in the UI.
@@ -883,7 +886,7 @@ Using these UIB table view testing patterns provides:
883886
- Verification of data filtering and navigation functionality
884887
- Ensuring proper popup behavior and state management
885888

886-
# Config
889+
# Configuration
887890

888891
Before proceeding with Bellatrix ServiceNow module, verify that the following prerequisites are satisfied.
889892

0 commit comments

Comments
 (0)