Implementing Tests Guide
Create ServiceNow Automated Test Framework (ATF) test cases using Fluent APIs across 11 ATF categories: server, form, REST, catalog, email, app navigator, reporting, responsive dashboard, and Service Portal variants (formSP, catalogSP). This guide covers test strategy, category selection, step configuration, and the full API surface for each ATF namespace.
Service Portal
Guide for building ServiceNow Service Portal experiences using the Fluent API. Service Portal is a portal framework for building user-facing self-service experiences using AngularJS and Bootstrap 3. This guide covers core portal concepts: portals, pages, widgets, and themes.
ServicePortal
Creates a Service Portal — a self-service web experience for end users built with AngularJS and Bootstrap 3 (sp_portal). Portals aggregate pages, widgets, themes, knowledge bases, and service catalogs into a branded, responsive interface.
SPAngularProvider
Creates an AngularJS provider for Service Portal — a directive, factory, or service that extends widget functionality (spangularprovider). Providers are shared across widgets and enable reusable client-side logic.
SPHeaderFooter
API used to create a Service Portal header or footer (spheaderfooter).
SPMenu
Configures a Service Portal menu with hierarchical navigation items (spinstancemenu). Menus define the navigation structure within a portal, supporting page links, knowledge base links, catalog items, filtered lists, and scripted menu items.
SPPage
Creates a Service Portal page — a layout of widget instances organized into containers, rows, and columns (sp_page). Pages are the top-level navigation targets in a portal and define the visual structure users interact with.
SPPageRouteMap
Creates a Service Portal page route map — a redirect rule that automatically routes users from one page to another within a portal (sppageroute_map). Route maps can be scoped to specific portals and roles, and support priority ordering when multiple rules match the same source page.
SPTheme
API used to create a Service Portal theme (sp_theme).
SPWidget
Creates a Service Portal widget — a self-contained AngularJS component with its own server script, client controller, HTML template, and CSS (sp_widget). Widgets are the building blocks of Service Portal pages, handling data fetching, user interaction, and rendering.
SPWidgetDependency
Creates a widget dependency — a bundle of CSS and JavaScript includes that widgets and themes can reference (sp_dependency). Dependencies ensure that shared libraries and stylesheets are loaded when needed.