ExamGecko
Question list
Search
Search

Question 4 - CAD discussion

Report
Export

Which one of the following is NOT a debugging strategy for client-side scripts?

A.
g_form.addInfoMessage()
Answers
A.
g_form.addInfoMessage()
B.
Field Watcher
Answers
B.
Field Watcher
C.
jslog()
Answers
C.
jslog()
D.
gs.log()
Answers
D.
gs.log()
Suggested answer: D

Explanation:

https://developer.servicenow.com/dev.do#!/learn/learning-plans/rome/new_to_servicenow/app_store_learnv2_scripting_rome_debugging_client_scripts

The following are debugging strategies for client-side scripts, which run in the web browser and manipulate the user interface:

g_form.addInfoMessage(). This is a client-side API that displays an information message at the top of the form.

Field Watcher. This is a debugging tool that displays the current and previous values of one or more fields on a form.

jslog(). This is a client-side API that writes a message to the browser console.

The following is not a debugging strategy for client-side scripts, but for server-side scripts, which run on the ServiceNow platform and manipulate the database:

gs.log(). This is a server-side API that writes a message to the system log.References:Client-Side Scripting APIs, Debugging Client Scripts

asked 23/09/2024
ftere yagoglu
32 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first