Method | Description | |
---|---|---|
AddAttachment ( string listName, string listItemId, string fileName, byte attachment ) : string |
The AddAttachment operation is used to add an attachment to the specified list item in the specified list.
|
|
AddDiscussionBoardItem ( string listName, byte message ) : AddDiscussionBoardItemResponseAddDiscussionBoardItemResult |
AddDiscussionBoardItem operation is used to add new discussion items to a specified discussion board.
|
|
AddList ( string listName, string description, int templateId ) : |
Add a list in the current site based on the specified name, description, and list template identifier.
|
|
DeleteAttachment ( string listName, string listItemId, string url ) : void |
The DeleteAttachment operation is used to remove the attachment from the specified list item in the specified list.
|
|
DeleteList ( string listName ) : void |
The DeleteList operation is used to delete the specified list from the specified site.
|
|
GetAttachmentCollection ( string listName, string listItemId ) : GetAttachmentCollectionResponseGetAttachmentCollectionResult |
The GetAttachmentCollection operation is used to retrieve information about all the lists on the current site.
|
|
GetList ( string listName ) : |
The GetList operation is used to retrieve properties and fields for a specified list.
|
|
GetListItemChanges ( string listName, |
The GetListItemChanges operation is used to retrieve the list items that have been inserted or updated since the specified date and time and matching the specified filter criteria.
|
|
GetListItemChangesSinceToken ( string listName, string viewName, GetListItemChangesSinceTokenQuery query, |
The GetListItemChangesSinceToken operation is used to return changes made to a specified list after the event expressed by the change token, if specified, or to return all the list items in the list.
|
|
HTTPGET ( |
This operation used to get resource data Over HTTP protocol directly.
|
|
HTTPPUT ( |
This operation used to put content data Over HTTP protocol directly.
|
|
Initialize ( ITestSite testSite ) : void |
The Overridden Initialize method
|
|
UpdateList ( string listName, |
A method used to update list properties and add, remove, or update fields.
|
|
UpdateListItems ( string listName, UpdateListItemsUpdates updates ) : UpdateListItemsResponseUpdateListItemsResult |
The UpdateListItems operation is used to insert, update, and delete to specified list items in a list.
|
Method | Description | |
---|---|---|
GetTargetServiceUrl ( ) : string |
A method used to Get target service fully qualified URL, it indicates which site the test suite will run on.
|
|
SetSoapVersion ( ) : void |
Set the SOAP version according to the SoapVersion property.
|
|
VerifyCommonSchemaOfListDefinition ( |
A method used to verify the requirements for common schema definition of list.
|
|
VerifyGetListItemChangesSinceTokenResponse ( GetListItemChangesSinceTokenResponseGetListItemChangesSinceTokenResult responseOfGetGetListItemChangesSinceToken ) : void |
A method used to verify response of GetGetListItemChangesSinceToken operation and capture related requirements.
|
|
VerifyTransportRequirement ( ) : void |
A method used to capture transport related requirements according to the current transport protocol the test suite use.
|
|
VerifyTypeAndIdForFieldDefinition ( |
A method used to verify field's id or field's type is equal to expected value.
|
public AddAttachment ( string listName, string listItemId, string fileName, byte attachment ) : string | ||
listName | string | The GUID or the list title of the list in which the list item to add attachment. |
listItemId | string | The id of the list item in which the attachment will be added. |
fileName | string | The name of the file being added as an attachment. |
attachment | byte | Content of the attachment file (byte array). |
return | string |
public AddDiscussionBoardItem ( string listName, byte message ) : AddDiscussionBoardItemResponseAddDiscussionBoardItemResult | ||
listName | string | The name of the discussion board in which the new item will be added |
message | byte | The message to be added to the discussion board. The message MUST be in MIME format and then Base64 encoded |
return | AddDiscussionBoardItemResponseAddDiscussionBoardItemResult |
public AddList ( string listName, string description, int templateId ) : |
||
listName | string | The title of the list which will be added. |
description | string | Text which will be set as description of newly created list. |
templateId | int | The template ID used to create this list. |
return |
public DeleteAttachment ( string listName, string listItemId, string url ) : void | ||
listName | string | The name of the list in which the list item to delete existing attachment. |
listItemId | string | The id of the list item from which the attachment will be deleted. |
url | string | Absolute URL of the attachment that should be deleted. |
return | void |
public DeleteList ( string listName ) : void | ||
listName | string | The name of the list which will be deleted |
return | void |
public GetAttachmentCollection ( string listName, string listItemId ) : GetAttachmentCollectionResponseGetAttachmentCollectionResult | ||
listName | string | A parameter represents the list name or GUID for returning the result. |
listItemId | string | A parameter represents the identifier of the content type which will be collected. |
return | GetAttachmentCollectionResponseGetAttachmentCollectionResult |
public GetList ( string listName ) : |
||
listName | string | The name of the list from which information will be got |
return |
public GetListItemChanges ( string listName, |
||
listName | string | The name of the list from which the list item changes will be got |
viewFields | Indicates which fields of the list item SHOULD be returned | |
since | string | The date and time to start retrieving changes in the list /// If the parameter is null, protocol server should return all list items /// If the date that is passed in is not in UTC format, protocol server will use protocol server's local time zone and convert it to UTC time |
contains | Restricts the results returned by giving a specific value to be searched for in the specified list item field | |
return | GetListItemChangesResponseGetListItemChangesResult |
public GetListItemChangesSinceToken ( string listName, string viewName, GetListItemChangesSinceTokenQuery query, |
||
listName | string | The name of the list from which version collection will be got |
viewName | string | The GUID refers to a view of the list |
query | GetListItemChangesSinceTokenQuery | The query to determine which records from the list are to be /// returned and the order in which they will be returned |
viewFields | Specifies which fields of the list item will be returned | |
rowLimit | string | Indicate the maximum number of rows of data to return |
queryOptions | Specifies various options for modifying the query | |
changeToken | string | Assigned a string comprising a token returned by a previous /// call to this operation. |
contains | Specifies a value to search for | |
return | GetListItemChangesSinceTokenResponseGetListItemChangesSinceTokenResult |
public HTTPGET ( |
||
requestResourceUrl | A parameter represents the resource where get data over HTTP protocol. | |
translateHeaderValue | string | A parameter represents the translate header which is used in HTTP request. |
return | byte[] |
public HTTPPUT ( |
||
requestResourceUrl | A parameter represents the resource where put the data over HTTP protocol. | |
ifmatchHeader | string | >A parameter represents the IF-MATCH header which is used in HTTP request. |
contentData | byte | >A parameter represents the content data which is put to the SUT. |
return | void |
public Initialize ( ITestSite testSite ) : void | ||
testSite | ITestSite | The ITestSite member of ManagedAdapterBase |
return | void |
public UpdateList ( string listName, |
||
listName | string | A parameter represents the name of the list which will be updated. |
listProperties | A parameter represents the properties of the specified list. | |
newFields | A parameter represents new fields which are added to the list. | |
updateFields | A parameter represents the fields which are updated in the list. | |
deleteFields | A parameter represents the fields which are deleted from the list. | |
listVersion | string | A parameter represents an integer format string that specifies the current version of the list. |
return |
public UpdateListItems ( string listName, UpdateListItemsUpdates updates ) : UpdateListItemsResponseUpdateListItemsResult | ||
listName | string | The name of the list for which list items will be updated |
updates | UpdateListItemsUpdates | Specifies the operations to perform on a list item |
return | UpdateListItemsResponseUpdateListItemsResult |