FINRA Interview Question

How do you add a function in automated test.