add function TestComplete