When you extensively use invokeMethods in your scripts, the scripts might become complex because you have to pass all method names as strings and all parameters as lists. To simplify such complex scripts, create a static method that interacts with the actual control in the AUT instead of interacting with the control through invokeMethods. For additional information, see Adding Code to the Application Under Test to Test Custom Controls.