腾讯云
开发者社区
文档
建议反馈
控制台
登录/注册
首页
学习
活动
专区
圈层
工具
文章/答案/技术大牛
搜索
搜索
关闭
发布
精选内容/技术社群/优惠产品,
尽在小程序
立即前往
文章
问答
(66)
视频
沙龙
2
回答
Cucumber
V4
[
io.cucumber
]
没有
识别
@
Given
/
When
/Then
并
给出
错误
"The
import
cucumber.api.java.en.When
cannot
be
resolved
此后,
Cucumber
框架将无法
识别
@
Given
/
When
/Then注释并出现
错误
-无法解析导入的
cucumber
.api.java.en.
Given
/
When
/Then Eclipse建议添加以下依赖项但我的想法是,当我迁移到
Cucumber
V4
(
io.cucumber
)时,为什么要添加V1.2.4(info.cukes)的依赖。有人能建议我应该在
浏览 50
提问于2019-02-07
得票数 1
回答已采纳
1
回答
黄瓜中的java.lang.Error ( StepDefinition )
、
、
、
在运行特性测试时,我得到以下
错误
:wc
cannot
be
resolved
HttpStatusCode
cannot
be
resolved
to a variable WebException
cannot
HttpStatusCode
cann
浏览 0
提问于2016-06-06
得票数 0
1
回答
使用TestNG执行黄瓜-有未定义的步骤
、
、
我不明白为什么testNG不能
识别
不同包中的胶水代码。我也尝试在不同的依赖项上工作,但效果不佳。有
没有
其他方法可以确保testNG在正确的位置查找步骤定义?-- https://mvnrepository.com/artifact/
io.cucumber
/
cucumber
-java --> <groupId>
io.cucumber
-- https://mvnreposito
浏览 28
提问于2020-01-28
得票数 1
回答已采纳
1
回答
面对
错误
"
cucumber
.runtime.CucumberException:
没有
找到后端。
、
、
我正在使用
Cucumber
安装程序处理Selenium,在运行TestRunner文件时遇到了
错误
。
import
cucumber
.api.junit.
Cucumber
;
import
<em
浏览 0
提问于2020-04-13
得票数 0
2
回答
即使已定义了变量,也无法
识别
变量
、
、
、
、
在运行我的特性文件时,我得到了以下
错误
import
org.openqa.selenium.WebDriver;
import
org.openqa.sele
浏览 6
提问于2016-10-18
得票数 0
回答已采纳
1
回答
Jenkins构建在成功通过集成测试后不会停止
、
、
、
、
我需要问一下,每当我的集成测试(用Junit编写)通过时,Jenkin不会停止构建
并
继续进行。有人能建议一下如何停止jenkins的构建吗?;
import
cucumber
.api.java.en.
Given
; <e
浏览 3
提问于2013-05-31
得票数 0
10
回答
无法
识别
.feature文件的IntelliJ想法
、
、
我已经在IntelliJ IDEA中安装了
cucumber
-java和gherkin插件,但是当我创建一个.feature文件时,它不被
识别
为特征文件。我重新启动了IntelliJ,
并
检查了插件设置窗口中的插件是否已启用。
浏览 2
提问于2016-08-25
得票数 11
1
回答
IntelliJ上的黄瓜:一旦我设置新项目就会出错
、
、
IDE中可能有一些教程
没有
提到的东西,或者是一些配置
错误
。所以我尝试用我从教程中得到的东西来替换这个自动生成的代码,但是在@
When
、@After、@
Given
、@
When
、@然后关键字上,我得到了一个“不适用于方法”的
错误
。;
import
cucumber
.api.java.en.
Given
;
import
<e
浏览 7
提问于2018-01-10
得票数 0
回答已采纳
1
回答
React与cucumberjs的集成
、
、
、
、
我正在做一个React-Nextjs项目,
并
试图集成BDD工具进行规范和功能级测试。虽然我在使用enzyme进行浅层渲染组件时遇到了一些
cucumber
和React的集成问题:
cucumber
步骤测试文件代码:
import
Re
浏览 7
提问于2017-06-22
得票数 2
回答已采纳
3
回答
黄瓜异常未能创建目录
、
、
、
当我运行MainRunner类作为响应时,我会在控制台中得到
错误
消息,如下所示。我确实设置了文件夹的权限。package CucumberFramework.steps; public class LoginS
浏览 1
提问于2018-11-23
得票数 3
回答已采纳
1
回答
Cucumber
-JS步骤定义w/ typescript中的“
错误
:不能使用模块外的导入语句”
、
、
、
、
我得到了以下
错误
:
import
{
Given
,
When
, Then } from '@
cucumber
/
cucumber
';SyntaxError:
Cannot
use
import
{
Given
,
When
, Then } from
浏览 18
提问于2022-03-23
得票数 2
回答已采纳
2
回答
Selenium
Cucumber
Repository (Java) Pico容器问题
、
、
、
、
I go to "<Url>" Google And click searchspring selenium" &l
浏览 3
提问于2020-02-19
得票数 0
回答已采纳
3
回答
如何在导出到Eclipse中的Runnable Jar时维护文件夹结构?
、
、
、
、
并
编写了一个开放浏览器的功能文件,转到facebook
并
关闭浏览器。package stepDefinitions;
import
cucumber
.api.java.en.Then;
impor
浏览 4
提问于2017-10-02
得票数 0
1
回答
在测试前将WebDriver初始化为依赖注入
、
、
、
、
我尝试了不同的选择,但
没有
成功。我遵循了这些指南中的步骤,但每次我都会遇到类似的
错误
:
import
io.
cucumber
.java.en.
Given
;
import
io.
cucumber
.java.en.
Wh
浏览 14
提问于2022-04-10
得票数 0
回答已采纳
4
回答
我是否使用了正确的代码来获取文本文件中注册页面的输出?
、
、
我对自动化非常陌生,我正在尝试自动化注册页面,
并
使用黄瓜框架在文本文件中获取输出。但是,我的部分似乎
没有
正确的代码,并且也得到了以下
错误
: org.openqa.selenium.NoSuchElementException: no这样的元素:无法找到下面的元素是详细信息:功能:客户注册场景大纲;
import
cucumber
.api.java.en.Then;
impo
浏览 2
提问于2018-02-15
得票数 1
回答已采纳
1
回答
函数无法使用严格模式解析方法。
、
、
Rule Tags from reader 'Reader_Warehouse_Shelve1' from the specName 'ECSpec'"
when
============================\n"); end 我收到以下
错误
消息warehouseReportHandler (line:28):
浏览 1
提问于2020-07-29
得票数 0
1
回答
TestNG +黄瓜+ Maven的java.lang.ExceptionInInitializerError
、
、
、
、
java.lang.ExceptionInInitializerError TestRunner.java.This是我如何准备我的pom.xml,TestRunner.java Login.java和Login.feature pages.How我能修复这些
错误
吗
cucumber
.api.CucumberOptions; @CucumberOptions
cucumber
.api.java
浏览 56
提问于2021-08-13
得票数 0
1
回答
如何授予Drools对动态加载类的访问权限?
、
、
我正在使用这个自定义ClassLoader,它从一个文件中读取
并
使用ClassLoader.defineClass()加载一个类。facts.Person;", "
when
", }编译此规则(使
浏览 2
提问于2021-04-13
得票数 1
回答已采纳
1
回答
在
cucumber
.deps.com.thoughtworks.xstream.XStream.setupConverters上获取java.lang.ExceptionInInitializerError
、
、
、
、
import
automation.utils.ConfigurationProperties;
import
cucumber
.api.java.en.And;
import
cucumber
.api.java.en.Then;
import
cucumber.api.
浏览 17
提问于2021-12-17
得票数 0
1
回答
无法读取量角器黄瓜e2e测试的step定义文件
、
、
、
、
我的angularHomePage.ts文件-
import
{ homePage } from "/pages/HomePage";const chai = require("chai").use(requ
浏览 3
提问于2017-10-17
得票数 0
回答已采纳
点击加载更多
扫码
添加站长 进交流群
领取专属
10元无门槛券
手把手带您无忧上云
热门
标签
更多标签
云服务器
ICP备案
云直播
对象存储
实时音视频
活动推荐
运营活动
广告
关闭
领券