UITest.CompareStoredEnvironmentWithCurrentEnvironment Method ()

 

Compares the recorder configuration, if it exists, with the system environment that was captured at startup, and returns a collection of mismatches.

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

Syntax

public Collection<SettingMismatch> CompareStoredEnvironmentWithCurrentEnvironment()
public:
Collection<SettingMismatch^>^ CompareStoredEnvironmentWithCurrentEnvironment()
member CompareStoredEnvironmentWithCurrentEnvironment : unit -> Collection<SettingMismatch>
Public Function CompareStoredEnvironmentWithCurrentEnvironment As Collection(Of SettingMismatch)

Return Value

Type: System.Collections.ObjectModel.Collection<SettingMismatch>

A collection of mismatches, or null if the configuration is not available in this UI test.

See Also

SettingMismatch
UITest Class
Microsoft.VisualStudio.TestTools.UITest.Common Namespace

Return to top