IUITestActionStack.Peek Method (Int32)

Returns the element at the provided index from the stack without removing it.

Namespace:  Microsoft.VisualStudio.TestTools.UITest.Common
Assembly:  Microsoft.VisualStudio.TestTools.UITest.Common (in Microsoft.VisualStudio.TestTools.UITest.Common.dll)

UITestAction Peek(
	int nth
)

Parameters

nth
Type: System.Int32
An int that indicates the index of the element to retrieve.

Return Value

Type: Microsoft.VisualStudio.TestTools.UITest.Common.UITestAction
The element at the specified index.

Community Additions

ADD
Show: