小编Sak*_*pak的帖子

如何使用Selenium WebDriver启动InternetExplorerDriver

我下载了驱动程序,并在代码中给出了确切的路径,但是当我运行代码时,它显示错误

我的java代码如下:

System.out.println("Internet Explorer is selected");
System.setProperty("webdriver.ie.driver","C:\\Program Files\\Selenium\\Drivers\\IEDriver\\IEDriverServer.exe");
driver = new InternetExplorerDriver();
selenium = new WebDriverBackedSelenium(driver, "http://www.datamoat.com/");
Run Code Online (Sandbox Code Playgroud)

并且错误消息是

org.openqa.selenium.remote.SessionNotFoundException: Unexpected error launching Internet Explorer. Protected Mode settings are not the same for all zones. Enable Protected Mode must be set to the same value (enabled or disabled) for all zones. (WARNING: The server did not provide any stacktrace information)
Command duration or timeout: 1.15 seconds
Build info: version: '2.37.0', revision: 'a7c61cb', time: '2013-10-18 17:15:02'
System info: host: 'SAKIB-PC', ip: '192.168.10.70', …
Run Code Online (Sandbox Code Playgroud)

java selenium internet-explorer automation webdriver

6
推荐指数
1
解决办法
14万
查看次数

使用selenium webdriver进行Android应用测试

我想用selenium webdriver测试android应用程序.我没有源代码.我只有apk文件.

题:

  1. 是否可以记录测试步骤并使用selenium webdriver运行它?
  2. 是否可以使用apk文件和selenium webdriver测试Android应用程序?

selenium automation android webdriver appium

4
推荐指数
1
解决办法
4164
查看次数

如何忽略 Newman 中的 SSL 证书错误

我在命令行中使用以下内容

newman run e_api.json -e ent_env.json --reporters cli,html
Run Code Online (Sandbox Code Playgroud)

但它告诉我 unable to verify the first certificate error

如何忽略 https/ssl 证书错误?

我尝试使用以下命令,但它不起作用。

newman run e_api.json -e ent_env.json --reporters cli,html --ignore-https_proxy
Run Code Online (Sandbox Code Playgroud)

postman newman

4
推荐指数
1
解决办法
5629
查看次数