GetItemText Function (HtmlList)

Class

HtmlList.

Action

Returns all text for a specified list item as a single string.

Availability

This functionality is supported only if you are using the Classic Agent.

Syntax

sText = list.GetItemText (Item)
Variable Description
sText The text. STRING.
Item The list item. LISTITEM.

Notes

The GetItemText function returns all text for a list item as a single string. Use GetItemMultiText to return all text as a list of strings.

Example

This example uses the list of used technologies in the About This Site page of the GMO Web application.

Print(AboutPage.UsedList.GetItemText(3))

// Result:
// Animation