Edit

Share via


Take a Test JavaScript API

Take a Test is a browser-based UWP app that renders locked-down online assessments for high-stakes testing, allowing educators to focus on the assessment content rather than how to provide a secure testing environment. To achieve this, it uses a JavaScript API that any web application can utilize. The Take-a-test API supports the SBAC browser API standard for high stakes common core testing.

See the Take a Test app technical reference for more information about the app itself. For troubleshooting help, see Troubleshoot Microsoft Take a Test with the event viewer.

Reference documentation

The Take a Test APIs exist in the following namespaces. Note that all of the APIs depend on a global SecureBrowser object.

Namespace Description
security namespace Contains APIs that enable you to lock down the device for testing and enforce a testing environment.

Security namespace

The security namespace allows you to lock down the device, check the list of user and system processes, obtain MAC and IP addresses, and clear cached web resources.

Method Description
lockDown Locks down the device for testing.
isEnvironmentSecure Determines whether the lockdown context is still applied to the device.
getDeviceInfo Gets details about the platform on which the testing application is running.
examineProcessList Gets the list of running user and system processes.
close Closes the browser and unlocks the device.
getPermissiveMode Checks if permissive mode is on or off.
setPermissiveMode Toggles permissive mode on or off.