action encapsulation

The process of incorporating an existing body of action lines in a test module or action into its own user-defined action, and replacing the old action lines with a call to the new action, so that the overall functionality remains intact.

Also referred to as:

action folding