C# Class Microsoft.Protocols.TestSuites.MS_VIEWSS.MS_VIEWSSSUTControlAdapter

The SUT Control Adapter class of MS-VIEWSS
Inheritance: Microsoft.Protocols.TestTools.ManagedAdapterBase, IMS_VIEWSSSUTControlAdapter
Show file Open project: OfficeDev/Interop-TestSuites

Public Methods

Method Description
GetItemsCount ( string listGuid, string viewGuid ) : int

Implement the GetItemsCount method for getting the count of the list items in the specified view.

GetListAndView ( string listDisplayName ) : string

A method retrieves default view.

GetListGuidByName ( string listDisplayName ) : string

A method retrieves the List GUID when a list name is provided.

Initialize ( ITestSite testSite ) : void

Initialize the adapter instance.

Private Methods

Method Description
SetSoapVersion ( ) : void

Set the SOAP version according to the SoapVersion property.

Method Details

GetItemsCount() public method

Implement the GetItemsCount method for getting the count of the list items in the specified view.
public GetItemsCount ( string listGuid, string viewGuid ) : int
listGuid string A specified list GUID in the server.
viewGuid string A specified view GUID in the server.
return int

GetListAndView() public method

A method retrieves default view.
public GetListAndView ( string listDisplayName ) : string
listDisplayName string A specified list name in the server.
return string

GetListGuidByName() public method

A method retrieves the List GUID when a list name is provided.
public GetListGuidByName ( string listDisplayName ) : string
listDisplayName string A specified list display name on the server.
return string

Initialize() public method

Initialize the adapter instance.
public Initialize ( ITestSite testSite ) : void
testSite ITestSite A parameter represents a ITestSite instance which is used to get/operate current test suite context.
return void