ClassDialogAttribute
Class
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:
Inherited Members
Constructors
DialogAttribute(DialogButton)
Create an AlertDialog.
Declaration
cs-api-definition
public DialogAttribute(DialogButton dismissButton)
Parameters
dismissButton
The dismiss button to click.
DialogAttribute(IDialog)
Create a custom dialog.
Declaration
cs-api-definition
public DialogAttribute(IDialog customDialog)
Parameters
customDialog
The custom dialog
DialogAttribute(string, DialogButton)
Create a FileUploadDialog
Declaration
cs-api-definition
public DialogAttribute(string filePath, DialogButton dismissButton)
Parameters
filePath
The filepath to use.
dismissButton
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
The username to use.
password
The password to use.
dismissButton
The dismiss button to click.