Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Description: This command is used to call a function. Functions allow reusing several steps grouped together, either in test cases or other functions. Once we create a function we can use this command to call it.
Usage Scenario: For example, suppose we want to reuse the login process in several test cases that need it. The login process has 4 steps:

...

See the reference Test Library path: subject7_samples/subject7_basic_suite/subject7_website_login_logout

The following video demonstrates how the functions “subject7_reference_login” and “subject7_reference_logout” are called and executed as part of “subject7_website_login_logout” test case in “subject7_samples” folder:

...

Reference App