Comments

Comments are English word used for code documentation.

Purpose of Comments

  • To make the code readable
  • To make the code disable from execution

Syntax

  • Use // for single line comment
  • Use /*----*/ for multiple line comments

Usage of Comments in test script

  • To write test case header
  • To write method header
  • To explain complex logic

Next

Leave a comment

Design a site like this with WordPress.com
Get started