Migrate custom code from previous versions
You can run scripts containing custom code from previous releases and edit tests to make new calls to old or new custom code classes.You can perform the following tasks without any additional steps:
- Run a script containing custom code that was created in a previous release.
- Edit a test to make a new call to an old custom code class.
- Add new custom code to a test containing old custom code.
To edit a class in existing custom code so that it can call new TestExecutionServices methods, type cast the IKlog argument in the old custom code to the ITestExecutionServices interface.