Module 8: Package Enhancements for Testing Flashcards
What does ServiceNow use as their scripting language?
JavaScript
Where does JavaScript execute?
- Client side (web browser)
- Server side (ServiceNow database)
UI Policies…
Are not about security, they are about managing the user experience and data integrity
UI Policies execute on the Client side, or Server side?
Client side
What is a UI Policy?
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
What are 3 things that determine what happens on the form? (UI Policy Actions)
- Mandatory
- Hidden
- Read-only
Where does a Data Policy execute?
It executes on the Server side, but it can also run as a UI Policy on the client side
What is a Data Policy?
It enforces data consistency by setting fields as mandatory and/ or read-only
Where are Data Policies applied?
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
UI Actions do what?
They add buttons, links and context menu items on forms and lists.
It makes the UI more interactive, customisable and specific to user activities
Where do Client scripts run?
On the Client side
What do Client Scripts do?
They make ‘real-time’ changes to the appearance of the user interface, especially forms
What types of Client Scripts are supported?
- onCellEdit
- onChange
- onLoad
- onSubmit
Where do Business Rules execute?
On the Server Side
When is a Business Rule configured to run?
When a record is:
-displayed
-inserted
-updated
-deleted
-when a table is queried
The ‘WHEN’ Setting determines when the Business Rule executes and has what choices?
- Before
- After
- Async
- Display
Catalog UI Policies…
Control the behaviour of catalog item forms when presented to your users
What are the 2 functions of Application Scopes?
- Specify what parts of an application are accessible to other applications
- Protects applications by identifying and restricting access to available artefacts and data
What is an Update Set?
A groups of configuration changes that can be moved from one instance to another.
E.g. Development - Test - Production
Under what circumstances would you use the default update set?
You should not use one. It should only be Named update sets
What is not captured in an update set?
Data Records
(E.g. new incident)
What does a Batch update set do?
Enables you to group update sets together so you can preview & commit in bulk
Are roles captured in an update set?
Yes
What must you do once you have used an Update Set?
Mark it as complete
How to create an Update set?
All > System Update Sets > Local Update Sets
What are the 3 steps for applying an Update Set to an Instance?
- Retrieve
- Preview
- Commit
What do you need to do in order to ensure a successful retrieval from a Remote Instance?
Test Connection
What does the Automated Test Framework do?
It automates user acceptance testing
Which ServiceNow tool is used by developers to create customer applications?
- App Engine Studio
- Studio (a lot more robust)
What is the name of non-administrator users and groups which are assigned one or more permissions to develop applications?
Delegated Developers
What types of scripts run on the browser?
Client-side scripts: UI Policies & Client Scripts
Which script runs when a record is displayed, inserted, updated, deleted, or when a table is queried?
Business Rule
Does a business rule run on the client side or the server side?
Server
What attributes of a field can a UI Policy Action change on a form?
- Mandatory
- Visible/ Hidden
- Read-only
What is used frequently to move customisations from one instance to another?
Update Sets
What protects applications by identifying and restricting access to available files and data?
Application Scoping