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
Selenium Cucumber中的逻辑AND和OR标记_Selenium_Cucumber - Fatal编程技术网

Selenium Cucumber中的逻辑AND和OR标记

Selenium Cucumber中的逻辑AND和OR标记,selenium,cucumber,Selenium,Cucumber,如何在Cucumber中使用逻辑AND和OR标记? 我已经申请了下面的代码片段 @CucumberOptions(plugin = { "pretty" }, features = { "features" }, glue = { "stepdefs" }, tags = { "@SmokeTestCases" }) 但我想在标记中应用逻辑AND和OR 我如何才能做到这一点?逻辑上,或者您必须使用以下方法: For或逻辑用逗号(,)分隔 从逻辑上讲,您必须使用: 对于和逻辑,用引号(“”)分隔

如何在Cucumber中使用逻辑AND和OR标记? 我已经申请了下面的代码片段

@CucumberOptions(plugin = { "pretty" },
features = { "features" },
glue = { "stepdefs" },
tags = { "@SmokeTestCases" })
但我想在标记中应用逻辑AND和OR
我如何才能做到这一点?

逻辑上,或者您必须使用以下方法: For或逻辑用逗号(,)分隔

从逻辑上讲,您必须使用: 对于和逻辑,用引号(“”)分隔

@CucumberOptions(plugin = { "pretty" },
features = { "features" },
glue = { "stepdefs" },
tags = { "@SmokeTestCases,@SanityTestCases" })
@CucumberOptions(plugin = { "pretty" },
features = { "features" },
glue = { "stepdefs" },
tags = { "@SmokeTestCases","@SanityTestCases" })