IESettings.ThrowIfBrowserVersionNotSupported Method

Verifies that the currently installed version of Internet Explorer is supported. If not, an exception is thrown.

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

Syntax

'Declaration
Public Shared Sub ThrowIfBrowserVersionNotSupported
public static void ThrowIfBrowserVersionNotSupported()
public:
static void ThrowIfBrowserVersionNotSupported()
static member ThrowIfBrowserVersionNotSupported : unit -> unit 
public static function ThrowIfBrowserVersionNotSupported()

Exceptions

Exception Condition
TechnologyNotSupportedException

Either the current version of Internet Explorer is not supported by the UI test framework or Internet Explorer is not installed.

.NET Framework Security

See Also

Reference

IESettings Class

Microsoft.VisualStudio.TestTools.UITest.Common Namespace