You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/product-integrations/servicenow.md
+34-31Lines changed: 34 additions & 31 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -7,22 +7,26 @@ parent: product-integrations
7
7
permalink: /product-integrations/servicenow/
8
8
anchors:
9
9
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
11
17
config: Configuration
12
18
---
13
-
14
-
# What is ServiceNow?
15
-
19
+
What is ServiceNow?
20
+
------------------
16
21
**ServiceNow** is a cloud-based platform used by many organizations across different industries to manage workflows and services.
17
22
BELLATRIX ServiceNow module offers ready for testing serviceNow based applications.
18
23
The page presents the examples of what this module offers.
19
24
20
-
# Usage
25
+
Usage - Login to ServiceNow instance
26
+
------------------
21
27
22
28
The following section presents comprehensive test scenarios for common ServiceNow application use cases.
23
29
24
-
## Login to ServiceNow instance
25
-
26
30
### Example
27
31
28
32
#### Login with Credentials Input
@@ -65,8 +69,9 @@ Using configuration-based credentials is recommended for:
65
69
- Easier credential management across different environments
66
70
- Better security practices in version control systems
67
71
68
-
## User Impersonation in ServiceNow
69
72
73
+
Usage - User Impersonation in ServiceNow
74
+
------------------
70
75
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.
71
76
72
77
### Example
@@ -127,10 +132,10 @@ Validates that the impersonation was successful by:
127
132
128
133
The test validates both the technical functionality of impersonation and serves as a foundation for more complex user permission and role-based testing scenarios.
129
134
135
+
Usage - ServiceNow Record Form
136
+
------------------
130
137
131
-
## ServiceNow Record Form Operations
132
-
133
-
### Example
138
+
### Examples Open Record form
134
139
135
140
#### Open Record from Table
136
141
@@ -177,7 +182,7 @@ public void newRecordFormOpen_when_clickNewButton () {
177
182
}
178
183
```
179
184
180
-
### Explanations
185
+
### Explanations Open Record form
181
186
182
187
***Open Record from Table***
183
188
@@ -197,9 +202,7 @@ Using these record form operations enables:
197
202
- New record creation testing
198
203
- Proper form state validation for both existing and new records
199
204
200
-
## ServiceNow Record Form Sub-tabs Operations
201
-
202
-
### Example
205
+
### Examples Record Form Sub-tabs Operations
203
206
204
207
#### Verify Sub-tabs Presence
205
208
@@ -265,7 +268,7 @@ public void newRecordFormOpen_when_clickNewButtonForTheSelectedBottomTableTab()
265
268
}
266
269
```
267
270
268
-
### Explanations
271
+
### Explanations Record Form Sub-tabs Operations
269
272
270
273
#### Verify Sub-tabs Presence
271
274
@@ -297,7 +300,8 @@ This test verifies the ability to create new records directly from sub-tabs. It
297
300
- Confirms new record forms open with correct headers
298
301
- Tests critical functionality for incident management processes
299
302
300
-
## Working with ServiceNow Table View
303
+
Usage - Working with ServiceNow Table View
304
+
------------------
301
305
302
306
### Example
303
307
@@ -386,7 +390,8 @@ The tests demonstrate how to search for specific records within the ServiceNow t
386
390
387
391
This functionality is essential for quickly locating specific incidents in large datasets.
388
392
389
-
## Left Navigation in ServiceNow
393
+
Usage - Left Navigation in ServiceNow
394
+
------------------
390
395
391
396
### Example
392
397
@@ -452,7 +457,8 @@ Using left navigation tests is recommended for:
452
457
- Verifying that menu items lead to the correct pages and functionality
453
458
- Testing user experience consistency in ServiceNow applications
454
459
455
-
## ServiceNow Data Creation Tests
460
+
Usage - ServiceNow Data Creation
461
+
------------------
456
462
457
463
### Example
458
464
@@ -577,9 +583,10 @@ Using the BELLATRIX ServiceNow data creation module is recommended for:
577
583
- Entity lifecycle management in test scenarios
578
584
- Integration testing with ServiceNow instances
579
585
580
-
## UIB Dashboard Navigation Examples
586
+
Usage - UIB Dashboard, Record View, Table View
587
+
------------------
581
588
582
-
### Example
589
+
### Examples UIB Dashboard
583
590
584
591
#### Open Workspace Dashboard Test
585
592
@@ -622,7 +629,7 @@ public void dashboardComponentCardTest() {
622
629
}
623
630
```
624
631
625
-
### Explanations
632
+
### Explanations UIB Dashboard
626
633
627
634
***Open Workspace Dashboard Test***
628
635
@@ -653,9 +660,7 @@ Using component card navigation is recommended for:
653
660
654
661
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.
655
662
656
-
## UIB Record View Examples
657
-
658
-
### Example
663
+
### Examples UIB Record View
659
664
660
665
#### Open and Verify Record Form
661
666
@@ -717,7 +722,7 @@ public void fillRecordForm() {
717
722
}
718
723
```
719
724
720
-
### Explanations
725
+
### Explanations UIB Record View
721
726
722
727
***Open and Verify Record Form***
723
728
@@ -745,9 +750,7 @@ Using the TemplateModel builder pattern provides:
745
750
- Clear separation between test logic and test data
746
751
- Improved maintainability when form structures change---
747
752
748
-
## UIB Table View Examples
749
-
750
-
### Example
753
+
### Examples UIB Table View
751
754
752
755
#### Table Refresh Test
753
756
```java
@@ -853,7 +856,7 @@ public void openRecordByColumnValue() {
853
856
}
854
857
```
855
858
856
-
### Explanations
859
+
### Explanations UIB Table View
857
860
858
861
#### Table Refresh Test Explanation
859
862
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:
883
886
- Verification of data filtering and navigation functionality
884
887
- Ensuring proper popup behavior and state management
885
888
886
-
# Config
889
+
# Configuration
887
890
888
891
Before proceeding with Bellatrix ServiceNow module, verify that the following prerequisites are satisfied.
0 commit comments