Module 8: Package Enhancements for Testing Flashcards

1
Q

What does ServiceNow use as their scripting language?

A

JavaScript

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Where does JavaScript execute?

A
  • Client side (web browser)
  • Server side (ServiceNow database)
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

UI Policies…

A

Are not about security, they are about managing the user experience and data integrity

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

UI Policies execute on the Client side, or Server side?

A

Client side

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What is a UI Policy?

A

A rule that is applied to a form to dynamically change information or the form itself.

You can use UI Policies to immediately implement updates and changes to forms and lists

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

What are 3 things that determine what happens on the form? (UI Policy Actions)

A
  1. Mandatory
  2. Hidden
  3. Read-only
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

Where does a Data Policy execute?

A

It executes on the Server side, but it can also run as a UI Policy on the client side

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

What is a Data Policy?

A

It enforces data consistency by setting fields as mandatory and/ or read-only

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

Where are Data Policies applied?

A

Data Policies are applied to all data entered into the platform.

UI Policies only apply to data entered on a form through a standard broswer

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

UI Actions do what?

A

They add buttons, links and context menu items on forms and lists.

It makes the UI more interactive, customisable and specific to user activities

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

Where do Client scripts run?

A

On the Client side

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

What do Client Scripts do?

A

They make ‘real-time’ changes to the appearance of the user interface, especially forms

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

What types of Client Scripts are supported?

A
  • onCellEdit
  • onChange
  • onLoad
  • onSubmit
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

Where do Business Rules execute?

A

On the Server Side

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

When is a Business Rule configured to run?

A

When a record is:
-displayed
-inserted
-updated
-deleted
-when a table is queried

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

The ‘WHEN’ Setting determines when the Business Rule executes and has what choices?

A
  • Before
  • After
  • Async
  • Display
17
Q

Catalog UI Policies…

A

Control the behaviour of catalog item forms when presented to your users

18
Q

What are the 2 functions of Application Scopes?

A
  1. Specify what parts of an application are accessible to other applications
  2. Protects applications by identifying and restricting access to available artefacts and data
19
Q

What is an Update Set?

A

A groups of configuration changes that can be moved from one instance to another.

E.g. Development - Test - Production

20
Q

Under what circumstances would you use the default update set?

A

You should not use one. It should only be Named update sets

21
Q

What is not captured in an update set?

A

Data Records
(E.g. new incident)

22
Q

What does a Batch update set do?

A

Enables you to group update sets together so you can preview & commit in bulk

23
Q

Are roles captured in an update set?

A

Yes

24
Q

What must you do once you have used an Update Set?

A

Mark it as complete

25
Q

How to create an Update set?

A

All > System Update Sets > Local Update Sets

26
Q

What are the 3 steps for applying an Update Set to an Instance?

A
  1. Retrieve
  2. Preview
  3. Commit
27
Q

What do you need to do in order to ensure a successful retrieval from a Remote Instance?

A

Test Connection

28
Q

What does the Automated Test Framework do?

A

It automates user acceptance testing

29
Q

Which ServiceNow tool is used by developers to create customer applications?

A
  • App Engine Studio
  • Studio (a lot more robust)
30
Q

What is the name of non-administrator users and groups which are assigned one or more permissions to develop applications?

A

Delegated Developers

31
Q

What types of scripts run on the browser?

A

Client-side scripts: UI Policies & Client Scripts

32
Q

Which script runs when a record is displayed, inserted, updated, deleted, or when a table is queried?

A

Business Rule

33
Q

Does a business rule run on the client side or the server side?

A

Server

34
Q

What attributes of a field can a UI Policy Action change on a form?

A
  1. Mandatory
  2. Visible/ Hidden
  3. Read-only
35
Q

What is used frequently to move customisations from one instance to another?

A

Update Sets

36
Q

What protects applications by identifying and restricting access to available files and data?

A

Application Scoping