nerdexam
ServiceNow

CAD · Question #189

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

The correct answer is D. gs.log(). 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…

Submitted by sofia.br· Apr 18, 2026Application User Interface

Question

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

Options

  • Ag_form.addInfoMessage()
  • BField Watcher
  • Cjslog()
  • Dgs.log()

How the community answered

(56 responses)
  • A
    5% (3)
  • B
    2% (1)
  • C
    4% (2)
  • D
    89% (50)

Explanation

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.

Topics

#Client Scripting#Debugging#Scripting APIs#GlideSystem

Community Discussion

No community discussion yet for this question.

Full CAD Practice