Method Call Statements

Method Call statement allows you to make calls to other methods provided by the built-in libraries of Katalon Studio.

Method call statement in Manual view

  1. Open a test case in Manual view, then navigate to Method Call Statement from command toolbar.

  2. A test step representing a method call is added to the test case.

  3. Double click on the Input cell to edit the called method.

  4. Save the test case when you're done.

    Once a test step is added as Method Call Statement, it will not be allowed to change into another keyword.

Method call statement in Scripting view

The Script View of a test case allows you to programmatically define and handle method calls easily using either Groovy or Java language.

For example: