UIActionInterpreter.TopLevelWindowSinglePassSearch Property

 

Gets or sets a value that indicates whether single pass search will be used for top level windows.

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

Syntax

public bool TopLevelWindowSinglePassSearch { get; set; }
public:
property bool TopLevelWindowSinglePassSearch {
    bool get();
    void set(bool value);
}
member TopLevelWindowSinglePassSearch : bool with get, set
Public Property TopLevelWindowSinglePassSearch As Boolean

Property Value

Type: System.Boolean

true to use single pass search; otherwise, false.

Remarks

MTR sets this property to true on init and resets it after the first non test-step marker action.

So unlike other properties, this has to be applied immediately and not on ApplyInterprterSettings alone.

See Also

UIActionInterpreter Class
Microsoft.VisualStudio.TestTools.UITest.CodeGeneration Namespace

Return to top