验证 Internet Explorer 的当前安装的版本支持。如果不是,则引发异常。
命名空间: Microsoft.VisualStudio.TestTools.UITest.Common
程序集: Microsoft.VisualStudio.TestTools.UITest.Common(Microsoft.VisualStudio.TestTools.UITest.Common.dll 中)
语法
public static void ThrowIfBrowserVersionNotSupported()
public:
static void ThrowIfBrowserVersionNotSupported()
static member ThrowIfBrowserVersionNotSupported : unit -> unit
Public Shared Sub ThrowIfBrowserVersionNotSupported
异常
| Exception | Condition |
|---|---|
| TechnologyNotSupportedException | 或 Internet Explorer 的当前版本不受支持 UI 测试框架或未安装 Internet Explorer。 |
请参阅
IESettings 类
Microsoft.VisualStudio.TestTools.UITest.Common 命名空间
返回页首