FINRA interview question

How do you add a function in automated test.