How to declare customized extensibility methods

This topic describes about ways to declare customized extensibility methods.

All the customized extensibility methods above must be declared within the TAIntegrationExtensibility class in accordance with the Attribute Method technique.(Learn more.)

Note:
By default, some of the supported extensibility methods above, such as ClassInitialized(), ClassCleaning(), and TestInitialized(), are automatically generated in advance in the TAIntegrationExtensibility class, for your ease of use.

The following example depicts declarations of two methods:

/// <summary>
/// Code to be run after ClassInitialize
/// </summary>        
[TAExtensibilityMethod(LoaderConstant.ClassInitialized)]
 public void ClassInitialized(TAExecutionArguments args)
{
   //Code implementation						
}


/// <summary>
/// Code to be run before ClassCleanup
/// </summary>
[TAExtensibilityMethod(LoaderConstant.ClassCleaning)]
public void ClassCleaning(TAExecutionArguments args)
{
    //Code implementation
}

Copyright © 2024 LogiGear Corporation. All rights reserved. LogiGear is a registered trademark, and Action Based Testing and TestArchitect are trademarks of LogiGear Corporation. All other trademarks contained herein are the property of their respective owners.

LogiGear Corporation

1730 S. Amphlett Blvd. Suite 200, San Mateo, CA 94402

Tel: +1 (650) 572-1400