Method | Description | |
---|---|---|
AddCreatedItemToCollection ( string userName, string parentFolder, string itemSubject ) : void |
Add the created item in test cases to the items collections used to clean up.
|
|
CallFolderCreateCommand ( string syncKey, string createdFolder, string parentFolder ) : FolderCreateResponse |
Call FolderCreate command to create a sub folder under the specific parent folder.
|
|
CallFolderDeleteCommand ( string syncKey, string itemServerId ) : void |
Call FolderDelete command to delete a folder from server.
|
|
CallFolderSyncCommand ( ) : FolderSyncResponse |
Call FolderSync command and get the response.
|
|
CallFolderUpdateCommand ( string syncKey, string itemServerId, string folderName, string parentId ) : void |
Call FolderUpdate command to rename a folder and move it to another location.
|
|
CallInitialSyncCommand ( string collectionId ) : SyncResponse |
Call Sync command to synchronize changes in a folder between the client and the server with "0" SyncKey.
|
|
CallItemOperationsCommand ( string collectionId, string itemServerId, bool acceptMultiPart ) : SendStringResponse |
Call ItemOperations command.
|
|
CallMeetingResponseCommand ( string collectionId, string itemServerId ) : void |
Call MeetingResponse command to accept a meeting.
|
|
CallMoveItemsCommand ( string itemServerId, string sourceFolder, string destinationFolder ) : void |
Call MoveItems command to move an item to another location.
|
|
CallPingCommand ( string collectionId ) : PingResponse |
Call Ping command to request that the server monitor specified folder for changes.
|
|
CallProvisionCommand ( string policyKey ) : SendStringResponse |
Call Provision command.
|
|
CallSearchCommand ( string collectionId, string freeText ) : |
Call Search command to find email.
|
|
CallSendMailCommand ( string from, string to, string subject, string saveInSent ) : void |
Call SendMail command to send mail to the server.
|
|
CallSmartForwardCommand ( string from, string forwardTo, string itemServerId, string forwardSubject, string saveInSent, string longId, string occurrence ) : void |
Call SmartForward command to forward an email.
|
|
CallSmartReplyCommand ( string from, string replyTo, string itemServerId, string replySubject, string saveInSent, string longId, string occurrence ) : void |
Call SmartReply command to reply an email.
|
|
CallSyncCommand ( string collectionId ) : |
Call Sync command to synchronize changes in a folder between the client and the server.
|
|
CheckResponseStatus ( string responseXML ) : void |
Check the value of Status in response data xml.
|
|
GetElementValueFromSyncResponse ( string collectionId, string serverId, |
Get element value from Sync response
|
|
GetFolderFromFolderSyncResponse ( ActiveSyncResponseBase |
Get the DisplayName or ParentId of the specified folder from FolderSync response.
|
|
IsXml ( string returnedValue ) : bool |
Check whether the string returned from response is in xml format.
|
|
LoopToSearchItem ( string collectionId, string subject ) : |
Loop to get the LongId of the specific email by Search command.
|
|
LoopToSyncItem ( string folderCollectionId, string subject, bool isRetryNeeded ) : string |
Loop to find the specific email by Sync command and return its serverId.
|
|
SendMeetingRequest ( string meetingRequestSubject ) : void |
User3 sends meeting request with the specified subject to user2.
|
|
SwitchUser ( UserInformation userInformation, bool syncFolderHierarchy ) : void |
Change the user authentication.
|
|
TestCleanup ( ) : void |
Clean up the environment.
|
|
TestInitialize ( ) : void |
Initialize the Test suite.
|
|
VerifyCollectionIdItemIdCommandParameters_SmartForward ( string itemServerId ) : void |
Verify the capture codes about CollectionId and ItemId command parameters using in SmartForward command.
|
|
VerifyCollectionIdItemIdCommandParameters_SmartReply ( string itemServerId ) : void |
Verify the capture codes about CollectionId and ItemId command parameters using in SmartReply command.
|
|
VerifyGetAttachmentsCommandParameter ( QueryValueType queryValueType ) : SendStringResponse |
Verify the GetAttachment command parameter.
|
|
VerifyLongIdCommandParameter ( QueryValueType queryValueType ) : void |
Verify the LongId command parameter.
|
|
VerifySaveInSentCommandParameter ( QueryValueType queryValueType, string sendMailSaveInSent, string smartForwardSaveInSent, string smartReplySaveInSent ) : void |
Verify the SaveInSent command parameter.
|
|
VerifySaveInSentCommandParameter_SendMail ( QueryValueType queryValueType, string itemServerId ) : void |
Verify the capture codes about SaveInSent command parameter using in SendMail command.
|
|
VerifySaveInSentCommandParameter_SmartForward ( QueryValueType queryValueType, string itemServerId ) : void |
Verify the capture codes about SaveInSent command parameter using in SmartForward command.
|
|
VerifySaveInSentCommandParameter_SmartReply ( QueryValueType queryValueType, string itemServerId ) : void |
Verify the capture codes about SaveInSent command parameter using in SmartReply command.
|
Method | Description | |
---|---|---|
DeleteCreatedItems ( Collection |
Delete the specified item.
|
|
GetFileReferenceFromSearchResult ( |
Get the FileReference element of an attachment from search response.
|
|
InitializeRequestPrefixField ( ) : void |
Initialize the HTTP POST request prefix field.
|
protected AddCreatedItemToCollection ( string userName, string parentFolder, string itemSubject ) : void | ||
userName | string | The identity of the user who has the item. |
parentFolder | string | The CollectionId of the folder which the item is placed. |
itemSubject | string | The subject of the item to delete. |
return | void |
protected CallFolderCreateCommand ( string syncKey, string createdFolder, string parentFolder ) : FolderCreateResponse | ||
syncKey | string | The SyncKey of the latest sync. |
createdFolder | string | The folder name of the sub folder to create. |
parentFolder | string | The ServerId of the parent folder. |
return | FolderCreateResponse |
protected CallFolderDeleteCommand ( string syncKey, string itemServerId ) : void | ||
syncKey | string | The SyncKey of the latest sync. |
itemServerId | string | The ServerId of the folder to delete. |
return | void |
protected CallFolderSyncCommand ( ) : FolderSyncResponse | ||
return | FolderSyncResponse |
protected CallFolderUpdateCommand ( string syncKey, string itemServerId, string folderName, string parentId ) : void | ||
syncKey | string | The SyncKey of the latest sync. |
itemServerId | string | The ServerId of the folder to update. |
folderName | string | The new name of the folder. |
parentId | string | The ServerId of the parent folder. |
return | void |
protected CallInitialSyncCommand ( string collectionId ) : SyncResponse | ||
collectionId | string | The CollectionId of the folder to sync. |
return | SyncResponse |
protected CallItemOperationsCommand ( string collectionId, string itemServerId, bool acceptMultiPart ) : SendStringResponse | ||
collectionId | string | The CollectionId of the folder. |
itemServerId | string | The ServerId of the email to be fetched. |
acceptMultiPart | bool | Whether need the server to return the requested item in multipart format. It is used in Base64 query value type. |
return | SendStringResponse |
protected CallMeetingResponseCommand ( string collectionId, string itemServerId ) : void | ||
collectionId | string | The CollectionId of the folder in which the meeting request is placed. |
itemServerId | string | The ServerId of the meeting request. |
return | void |
protected CallMoveItemsCommand ( string itemServerId, string sourceFolder, string destinationFolder ) : void | ||
itemServerId | string | The ServerId of the email to move. |
sourceFolder | string | The ServerId of the folder to move from. |
destinationFolder | string | The ServerId of the folder to move to. |
return | void |
protected CallPingCommand ( string collectionId ) : PingResponse | ||
collectionId | string | The CollectionId of the server monitor specified folder. |
return | PingResponse |
protected CallProvisionCommand ( string policyKey ) : SendStringResponse | ||
policyKey | string | The policy key. |
return | SendStringResponse |
protected CallSearchCommand ( string collectionId, string freeText ) : |
||
collectionId | string | The CollectionId of the folder to search. |
freeText | string | The key words to search. |
return |
protected CallSendMailCommand ( string from, string to, string subject, string saveInSent ) : void | ||
from | string | The mailbox address of sender. |
to | string | The mailbox address of recipient. |
subject | string | The subject of the email. |
saveInSent | string | The value of SaveInSent command parameter. |
return | void |
protected CallSmartForwardCommand ( string from, string forwardTo, string itemServerId, string forwardSubject, string saveInSent, string longId, string occurrence ) : void | ||
from | string | The mailbox address of sender. |
forwardTo | string | The mailbox address of recipient. |
itemServerId | string | The ServerId of the email to forward. |
forwardSubject | string | The subject of the email to forward. |
saveInSent | string | The value of SaveInSent command parameter. |
longId | string | The value of LongId command parameter. |
occurrence | string | The value of Occurrence command parameter. |
return | void |
protected CallSmartReplyCommand ( string from, string replyTo, string itemServerId, string replySubject, string saveInSent, string longId, string occurrence ) : void | ||
from | string | The mailbox address of sender. |
replyTo | string | The mailbox address recipient. |
itemServerId | string | The ServerId of the email to forward. |
replySubject | string | The subject of the email to reply. |
saveInSent | string | The value of SaveInSent command parameter. |
longId | string | The value of LongId command parameter. |
occurrence | string | The value of Occurrence command parameter. |
return | void |
protected CallSyncCommand ( string collectionId ) : |
||
collectionId | string | The CollectionId of the folder to sync. |
return |
protected CheckResponseStatus ( string responseXML ) : void | ||
responseXML | string | The response data xml. |
return | void |
protected GetElementValueFromSyncResponse ( string collectionId, string serverId, |
||
collectionId | string | The specified collectionId of the folder |
serverId | string | The specified serverId |
elementType | The element type | |
return | object |
protected GetFolderFromFolderSyncResponse ( ActiveSyncResponseBase |
||
folderSyncResponse | ActiveSyncResponseBase |
The FolderSync response. |
folderServerId | string | The ServerId of the folder to get. |
elementName | string | The element name of the folder to get, it should be DisplayName or ParentId. |
return | string |
protected IsXml ( string returnedValue ) : bool | ||
returnedValue | string | The string returned from response. |
return | bool |
protected LoopToSearchItem ( string collectionId, string subject ) : |
||
collectionId | string | The CollectionId of the folder to search. |
subject | string | The subject of the email to get. |
return |
protected LoopToSyncItem ( string folderCollectionId, string subject, bool isRetryNeeded ) : string | ||
folderCollectionId | string | The CollectionId of the folder to sync. |
subject | string | The subject of the email to get. |
isRetryNeeded | bool | Whether retry is needed when get the specified email. |
return | string |
protected SendMeetingRequest ( string meetingRequestSubject ) : void | ||
meetingRequestSubject | string | The subject of the meeting request. |
return | void |
protected SwitchUser ( UserInformation userInformation, bool syncFolderHierarchy ) : void | ||
userInformation | UserInformation | The information of a user. |
syncFolderHierarchy | bool | Whether sync folder hierarchy or not. |
return | void |
protected VerifyCollectionIdItemIdCommandParameters_SmartForward ( string itemServerId ) : void | ||
itemServerId | string | The ServerId of the email received by the receiver. |
return | void |
protected VerifyCollectionIdItemIdCommandParameters_SmartReply ( string itemServerId ) : void | ||
itemServerId | string | The ServerId of the email received by the receiver. |
return | void |
protected VerifyGetAttachmentsCommandParameter ( QueryValueType queryValueType ) : SendStringResponse | ||
queryValueType | QueryValueType | The query value type of the request. |
return | SendStringResponse |
protected VerifyLongIdCommandParameter ( QueryValueType queryValueType ) : void | ||
queryValueType | QueryValueType | The query value type of the request. |
return | void |
protected VerifySaveInSentCommandParameter ( QueryValueType queryValueType, string sendMailSaveInSent, string smartForwardSaveInSent, string smartReplySaveInSent ) : void | ||
queryValueType | QueryValueType | The query value type of the request. |
sendMailSaveInSent | string | The value of the SaveInSent command parameter in SendMail command. |
smartForwardSaveInSent | string | The value of the SaveInSent command parameter in SmartForward command. |
smartReplySaveInSent | string | The value of the SaveInSent command parameter in SmartReply command. |
return | void |
protected VerifySaveInSentCommandParameter_SendMail ( QueryValueType queryValueType, string itemServerId ) : void | ||
queryValueType | QueryValueType | The query value type of the request. |
itemServerId | string | The ServerId of the email received by the receiver. |
return | void |
protected VerifySaveInSentCommandParameter_SmartForward ( QueryValueType queryValueType, string itemServerId ) : void | ||
queryValueType | QueryValueType | The query value type of the request. |
itemServerId | string | The ServerId of the email received by the receiver. |
return | void |
protected VerifySaveInSentCommandParameter_SmartReply ( QueryValueType queryValueType, string itemServerId ) : void | ||
queryValueType | QueryValueType | The query value type of the request. |
itemServerId | string | The ServerId of the email received by the receiver. |
return | void |