> For the complete documentation index, see [llms.txt](https://docs.qatts.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.qatts.com/automation/function.md).

# Function

Function is a reusable block of script code. Function can be called in a test case with executeFunction method. To avoid writing loops in your script you can use function with data table or a query.

You can pass data or data expression for any argument
