Method | Description | |
---|---|---|
CleanupMailBox ( string userName, string userPassword, string userDomain ) : bool |
Log on to a mailbox with a specified user account and delete all the items and subfolders from Inbox, Sent Items, Calendar, Contacts, Tasks, Deleted Items and Search Folders if any.
|
|
FindAndAcceptMeetingMessage ( string userName, string userPassword, string userDomain, string itemSubject, string itemType ) : bool |
Log on to a mailbox with a specified user account and find the specified meeting message in the Inbox folder, then accept it.
|
|
FindAndDeleteItem ( string userName, string userPassword, string userDomain, string folderName, string itemSubject, string itemType ) : bool |
Log on to a mailbox with a specified user account and find the specified item then delete it.
|
|
FindAndDeleteSubFolder ( string userName, string userPassword, string userDomain, string parentFolderName, string subFolderName ) : bool |
Log on to a mailbox with a specified user account and find the specified folder, then delete it if it is found.
|
|
FindAndUpdateFolderName ( string userName, string userPassword, string userDomain, string parentFolderName, string currentFolderName, string newFolderName ) : bool |
Log on to a mailbox with a specified user account and find the specified folder then update the folder name of it.
|
|
Initialize ( TestTools testSite ) : void |
Overrides IAdapter's Initialize() and sets default protocol short name of the testSite.
|
|
IsCalendarItemCanceled ( string userName, string userPassword, string userDomain, string folderName, string itemSubject ) : bool |
Log on to a mailbox with a specified user account and check whether the specified calendar item is cancelled or not.
|
|
IsItemExisting ( string userName, string userPassword, string userDomain, string folderName, string itemSubject, string itemType ) : bool |
Log on a mailbox with a specified user account and check whether the specified item exists.
|
Method | Description | |
---|---|---|
CleanupFolder ( DistinguishedFolderIdNameType folderName, bool needVerify = true ) : bool |
Deletes all items and sub folders from the specified folder.
|
|
FindAllItems ( DistinguishedFolderIdNameType folderName ) : Microsoft.Protocols.TestSuites.Common.ItemType[] |
Find all the items in the specified folder.
|
|
FindAllSubFolders ( DistinguishedFolderIdNameType parentFolderName ) : Microsoft.Protocols.TestSuites.Common.BaseFolderType[] |
Find all the sub folders in the specified folder.
|
|
FindSubFolder ( DistinguishedFolderIdNameType parentFolderName, string subFolderName ) : |
Find the specified sub folder.
|
|
LoopToFindItem ( DistinguishedFolderIdNameType folderName, string itemSubject, System.Item itemType ) : |
Loop to find the item with the specified subject.
|
public CleanupMailBox ( string userName, string userPassword, string userDomain ) : bool | ||
userName | string | Name of the user. |
userPassword | string | Password of the user. |
userDomain | string | Domain of the user. |
return | bool |
public FindAndAcceptMeetingMessage ( string userName, string userPassword, string userDomain, string itemSubject, string itemType ) : bool | ||
userName | string | Name of the user. |
userPassword | string | Password of the user. |
userDomain | string | Domain of the user. |
itemSubject | string | Subject of the meeting message which should be accepted. |
itemType | string | Type of the item which should be accepted. |
return | bool |
public FindAndDeleteItem ( string userName, string userPassword, string userDomain, string folderName, string itemSubject, string itemType ) : bool | ||
userName | string | Name of the user. |
userPassword | string | Password of the user. |
userDomain | string | Domain of the user. |
folderName | string | Name of the folder which should be searched for the specified item. |
itemSubject | string | Subject of the item which should be deleted. |
itemType | string | Type of the item which should be deleted. |
return | bool |
public FindAndDeleteSubFolder ( string userName, string userPassword, string userDomain, string parentFolderName, string subFolderName ) : bool | ||
userName | string | Name of the user. |
userPassword | string | Password of the user. |
userDomain | string | Domain of the user. |
parentFolderName | string | Name of the parent folder. |
subFolderName | string | Name of the folder which will be updated. |
return | bool |
public FindAndUpdateFolderName ( string userName, string userPassword, string userDomain, string parentFolderName, string currentFolderName, string newFolderName ) : bool | ||
userName | string | Name of the user. |
userPassword | string | Password of the user. |
userDomain | string | Domain of the user. |
parentFolderName | string | Name of the parent folder. |
currentFolderName | string | Current name of the folder which will be updated. |
newFolderName | string | New name of the folder which will be updated to. |
return | bool |
public Initialize ( TestTools testSite ) : void | ||
testSite | TestTools | Pass ITestSite to adapter, make adapter can use ITestSite's function |
return | void |
public IsCalendarItemCanceled ( string userName, string userPassword, string userDomain, string folderName, string itemSubject ) : bool | ||
userName | string | Name of the user. |
userPassword | string | Password of the user. |
userDomain | string | Domain of the user. |
folderName | string | Name of the folder which should be searched for the specified meeting message. |
itemSubject | string | Subject of the meeting message which should exist. |
return | bool |
public IsItemExisting ( string userName, string userPassword, string userDomain, string folderName, string itemSubject, string itemType ) : bool | ||
userName | string | Name of the user. |
userPassword | string | Password of the user. |
userDomain | string | Domain of the user. |
folderName | string | Name of the folder which should be searched for the specified item. |
itemSubject | string | Subject of the item which should exist. |
itemType | string | Type of the item which should exist. |
return | bool |