You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

Show Contents List

Introduction to Scripts

Scripts are usually created automatically in RAMP, but to deal with them confidently you need to understand some scripting basics.
Basic Javascript syntax

  • Comments are marked with /*  */
  • Lines are ended with a semicolon ((wink)
  • Literals are enclosed in double-quotes (")
  • There are Framework Objects that Scripts Can Refer To
  • The structure of the conditional switch statement is:

 
switch(thumbs down)
{
case 1:
execute code block 1
break   
case 2:
execute code block 2
break
default:
code to be executed if n is
different from case 1 and 2
}
  
Types of scripts in  RAMP
This topic covers:

 
Application level tracing

  • Use the Tracing option in the Framework menu to start Application Level Tracing

 
 
Show Contents List

  • No labels