Skip to content

Commit 95fd4c6

Browse files
committed
Add ServiceNow module documentation
1 parent 5ccf9d5 commit 95fd4c6

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

docs/product-integrations/servicenow.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -97,20 +97,20 @@ var serviceNowPage = new ServiceNowPage();
9797
```
9898
Creates a new instance of the ServiceNowPage object, which provides access to ServiceNow-specific functionality and page elements
9999

100-
```java
100+
```javalines
101101
serviceNowPage.loginSection().login();
102102
```
103103
Performs the initial login to ServiceNow using the configured credentials. This establishes the authenticated session required for impersonation operations
104104

105-
```java
105+
```javalines
106106
serviceNowPage.impersonateUser("User Impersonate");
107107
```
108108
Initiates the impersonation process for the specified user. This method:
109109
- Navigates to the user impersonation interface in ServiceNow
110110
- Searches for the target user "User Impersonate"
111111
- Activates the impersonation session
112112

113-
```java
113+
```javalines
114114
serviceNowPage.assertUserImpersonate("User Impersonate");
115115
```
116116
Validates that the impersonation was successful by:

0 commit comments

Comments
 (0)