ClassElementExistsVerificationDescriptor
Definition
Namespace:ArtOfTest.WebAii.Design.IntrinsicTranslators.DesktopAutomation.Descriptors.Verifications
Assembly:ArtOfTest.WebAii.Design.dll
Syntax:
[DataContract(Namespace = "http://artoftest.com/schemas/WebAiiDesignCanvas/2.0.0")]
[Sentence("Exists", "Wait for element 'exists' is {Exists}", false)]
[SupportsImageCapture(false)]
[ImageNotApplicableNotification("Wait for exist step does not record image by default.")]
public class ElementExistsVerificationDescriptor : ExistsVerificationDescriptor, INotifyPropertyChanged, ICustomTypeDescriptor, IExtensibleDataObject, IQuickTasks
Inheritance: objectDataBoundObjectAutomationDescriptorVerificationDescriptorExistsVerificationDescriptorElementExistsVerificationDescriptor
Implements:
Inherited Members
Constructors
ElementExistsVerificationDescriptor()
Create new instance of ElementExistsVerificationDescriptor class.>
Declaration
public ElementExistsVerificationDescriptor()
ElementExistsVerificationDescriptor(ITargetElement, bool)
Create new instance of ElementExistsVerificationDescriptor class.>
Declaration
public ElementExistsVerificationDescriptor(ITargetElement element, bool existsNot)
Parameters
element
The target element.
existsNot
Value for ExistsNot property.
Methods
ToCode()
This method is called when the user requests code generation. The framework initializes the TestMethod property of this object with a new instance that this method simply needs to add its custom codegen to it.
Declaration
public override void ToCode()
Overrides