Identify commonly occurring script segments in your test suite, break segments apart into functions or smaller scripts, and place them in Test Suite Resources for use throughout your entire test suite.
Quickly call the repeat segments by function, avoiding duplication.
Your application changes in this commonly used area? You’ve just saved yourself a tremendous amount of time – perform an update in a single location, and your test suite is back and running.
For more tips related to test suite optimization read: Modularizing your recorded scripts for reuse