InterfaceIQuickTask
Interface
Implemented by a descriptor to indicate that it supports a quick task. Quick tasks are shown on the context menu on the overlay surface when an element is right-clicked.
Definition
Namespace:ArtOfTest.Common.Design.Extensibility.Descriptors
Assembly:ArtOfTest.WebAii.Design.dll
Syntax:
cs-api-definition
public interface IQuickTask
Derived Classes:
Properties
Role
The role of the quick task. This will determine which menu this task will show up under
Methods
GetDisplayText()
Gets the task display text
GetTask()
Gets the automation descriptor
Declaration
cs-api-definition
AutomationDescriptor GetTask()
Returns
The automation descriptor.
Initialize(ITargetElement)
Initialize the quick task to the current element
Declaration
cs-api-definition
bool Initialize(ITargetElement currentElement)
Parameters
currentElement
The current element to build the quick task for
Returns
True/False whether a quick task for this element should be included.