C# Class Microsoft.Protocols.TestSuites.MS_OXWSSYNC.MS_OXWSFOLDSUTControlAdapter

The adapter class implements the methods defined in interface IMS_OXWSFOLDSUTControlAdapter.
Inheritance: Microsoft.Protocols.TestTools.ManagedAdapterBase, IMS_OXWSFOLDSUTControlAdapter
Show file Open project: OfficeDev/Interop-TestSuites

Public Methods

Method Description
CreateSearchFolder ( string userName, string userPassword, string userDomain, string searchFolderName, string searchText ) : bool

Log on to a mailbox with a specified user account and create a search folder.

CreateSubFolders ( string userName, string userPassword, string userDomain, string parentFolderName, string firstLevelSubFolderName, string secondLevelSubFolderName ) : bool

Log on to a mailbox with a specified user account and create two different-level subfolders in the specified parent folder.

Initialize ( TestTools testSite ) : void

Overrides IAdapter's Initialize() and sets default protocol short name of the testSite.

Method Details

CreateSearchFolder() public method

Log on to a mailbox with a specified user account and create a search folder.
public CreateSearchFolder ( string userName, string userPassword, string userDomain, string searchFolderName, string searchText ) : bool
userName string Name of the user.
userPassword string Password of the user.
userDomain string Domain of the user.
searchFolderName string Name of the search folder.
searchText string Search text of the search folder.
return bool

CreateSubFolders() public method

Log on to a mailbox with a specified user account and create two different-level subfolders in the specified parent folder.
public CreateSubFolders ( string userName, string userPassword, string userDomain, string parentFolderName, string firstLevelSubFolderName, string secondLevelSubFolderName ) : 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.
firstLevelSubFolderName string Name of the first level sub folder which will be created under the parent folder.
secondLevelSubFolderName string Name of the second level sub folder which will be created under the first level sub folder.
return bool

Initialize() public method

Overrides IAdapter's Initialize() and sets default protocol short name of the testSite.
public Initialize ( TestTools testSite ) : void
testSite TestTools Pass ITestSite to adapter, make adapter can use ITestSite's function
return void