Class
DialogAttribute

A dialog attribute that can be set on a test method of a test class.

Definition

Namespace:ArtOfTest.WebAii.TestAttributes

Assembly:ArtOfTest.WebAii.dll

Syntax:

cs-api-definition
[AttributeUsage(AttributeTargets.All, AllowMultiple = true, Inherited = true)]
public class DialogAttribute : Attribute, _Attribute

Inheritance: objectAttributeDialogAttribute

Implements: _Attribute

Inherited Members Attribute.GetCustomAttributes(MemberInfo, Type)Attribute.GetCustomAttributes(MemberInfo, Type, bool)Attribute.GetCustomAttributes(MemberInfo)Attribute.GetCustomAttributes(MemberInfo, bool)Attribute.IsDefined(MemberInfo, Type)Attribute.IsDefined(MemberInfo, Type, bool)Attribute.GetCustomAttribute(MemberInfo, Type)Attribute.GetCustomAttribute(MemberInfo, Type, bool)Attribute.GetCustomAttributes(ParameterInfo)Attribute.GetCustomAttributes(ParameterInfo, Type)Attribute.GetCustomAttributes(ParameterInfo, Type, bool)Attribute.GetCustomAttributes(ParameterInfo, bool)Attribute.IsDefined(ParameterInfo, Type)Attribute.IsDefined(ParameterInfo, Type, bool)Attribute.GetCustomAttribute(ParameterInfo, Type)Attribute.GetCustomAttribute(ParameterInfo, Type, bool)Attribute.GetCustomAttributes(Module, Type)Attribute.GetCustomAttributes(Module)Attribute.GetCustomAttributes(Module, bool)Attribute.GetCustomAttributes(Module, Type, bool)Attribute.IsDefined(Module, Type)Attribute.IsDefined(Module, Type, bool)Attribute.GetCustomAttribute(Module, Type)Attribute.GetCustomAttribute(Module, Type, bool)Attribute.GetCustomAttributes(Assembly, Type)Attribute.GetCustomAttributes(Assembly, Type, bool)Attribute.GetCustomAttributes(Assembly)Attribute.GetCustomAttributes(Assembly, bool)Attribute.IsDefined(Assembly, Type)Attribute.IsDefined(Assembly, Type, bool)Attribute.GetCustomAttribute(Assembly, Type)Attribute.GetCustomAttribute(Assembly, Type, bool)Attribute.Equals(object)Attribute.GetHashCode()Attribute.Match(object)Attribute.IsDefaultAttribute()Attribute.TypeId

Constructors

DialogAttribute(DialogButton)

Create an AlertDialog.

Declaration

cs-api-definition
public DialogAttribute(DialogButton dismissButton)

Parameters

dismissButton

DialogButton

The dismiss button to click.

DialogAttribute(IDialog)

Create a custom dialog.

Declaration

cs-api-definition
public DialogAttribute(IDialog customDialog)

Parameters

customDialog

IDialog

The custom dialog

DialogAttribute(string, DialogButton)

Create a FileUploadDialog

Declaration

cs-api-definition
public DialogAttribute(string filePath, DialogButton dismissButton)

Parameters

filePath

string

The filepath to use.

dismissButton

DialogButton

The dismiss button to click.

DialogAttribute(string, string, DialogButton)

Create a LogonDialog.

Declaration

cs-api-definition
public DialogAttribute(string userName, string password, DialogButton dismissButton)

Parameters

userName

string

The username to use.

password

string

The password to use.

dismissButton

DialogButton

The dismiss button to click.