【发布时间】:2023-01-24 04:37:36
【问题描述】:
我正在尝试在我现有的 BDD 空手道项目中进行基本的 UI 自动化,该项目对于 API 和 UI 自动化测试来说工作得很好。由于这个错误,之前工作的相同 UI 测试已经停止工作。 但是当我尝试用 karate ui test 打开任何网站时,它会抛出一个 Java.lang.AssertionError: org.apache..http.client.utils.URIBuilder.getPathSegments()Ljava/util/List
目前我使用的是空手道 1.2.1.RC2 版本,我尝试将其更新到最新版本 1.3.0,但这也没有用
Background:
* config driver = { type:'chrome', executable: 'chrome' , showDriverLog: true, executable: 'C://Program Files//Google//Chrome//Application//chrome.exe'
@test
Scenario: to run ui automation
Given driver 'https://www.google.com'
【问题讨论】:
-
显然你有一些 maven/依赖问题。帮助我们帮助你的最好方法是遵循这个过程:github.com/karatelabs/karate/wiki/How-to-Submit-an-Issue - 我没有其他建议
标签: karate ui-automation bdd cucumber-junit