FindByTagIndex Method (String, Int32)

Progress Software Corporation - Testing Framework 2018.1 Automation Infrastructure
Returns an element by its tag name occrrence.

Namespace:  ArtOfTest.WebAii.Core
Assembly:  ArtOfTest.WebAii (in ArtOfTest.WebAii.dll) Version: 2018.1.116.0 (2018.1.116.0)
Syntax

public Element ByTagIndex(
	string tagName,
	int occurrenceIndex
)

Parameters

tagName
Type: SystemString
The tag name to find.
occurrenceIndex
Type: SystemInt32
The tag name index. This is a zero-base index.

Return Value

Type: Element
The found element. The function returns null if no element is found.
See Also

Reference