Warning: file_get_contents(/data/phpspider/zhask/data//catemap/8/selenium/4.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Internet explorer IE中的量角器测试_Internet Explorer_Selenium_Testing_Webdriver_Protractor - Fatal编程技术网

Internet explorer IE中的量角器测试

Internet explorer IE中的量角器测试,internet-explorer,selenium,testing,webdriver,protractor,Internet Explorer,Selenium,Testing,Webdriver,Protractor,我正在尝试运行internet explorer上的量角器中包含的示例测试,但没有走多远:( //示例配置文件。 exports.config={ directConnect:没错, //要传递给webdriver实例的功能。 能力:{ 'browserName':'chrome' }, //要使用的框架。建议使用Jasmine。 框架:“茉莉花”, //规范模式是相对于当前工作目录的 //量角器被称为量角器。 规格:['example_spec.js'], //要传递给Jasmine的选项。

我正在尝试运行internet explorer上的量角器中包含的示例测试,但没有走多远:(

//示例配置文件。
exports.config={
directConnect:没错,
//要传递给webdriver实例的功能。
能力:{
'browserName':'chrome'
},
//要使用的框架。建议使用Jasmine。
框架:“茉莉花”,
//规范模式是相对于当前工作目录的
//量角器被称为量角器。
规格:['example_spec.js'],
//要传递给Jasmine的选项。
茉莉花:{
defaultTimeoutInterval:30000
}
};
1)下载IEDriverServer.exe 2) 将其放置在C:\Windows\System32中

exports.config = {
  'autoStartStopServer': true,

  capabilities: {
    'browserName': 'internet explorer'
  },
  framework: 'jasmine',
  specs: ['example_spec.js'],
  jasmineNodeOpts: {
    defaultTimeoutInterval: 30000
  }
};
3) 打开Internet Explorer单击“选项”

4) 在“安全”选项卡>“禁用所有区域的保护模式”

5) 导航至“隐私”选项卡关闭弹出窗口阻止程序

6) 导航到高级选项卡


应该赞扬你引用的文章的作者:非常感谢你的成功,但这并不能让我对我们是否应该使用IE充满信心。。测试运行但失败,此测试是在chrome中运行良好的量角器附带的示例测试。