Warning: file_get_contents(/data/phpspider/zhask/data//catemap/6/google-chrome/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
Karate 如何使用*def result=call read(';classpath:一些可重用的步骤.feature';)读取功能文件中的特定场景? def result=调用read('classpath:一些可重用的步骤.feature')_Karate - Fatal编程技术网

Karate 如何使用*def result=call read(';classpath:一些可重用的步骤.feature';)读取功能文件中的特定场景? def result=调用read('classpath:一些可重用的步骤.feature')

Karate 如何使用*def result=call read(';classpath:一些可重用的步骤.feature';)读取功能文件中的特定场景? def result=调用read('classpath:一些可重用的步骤.feature'),karate,Karate,我在一个功能文件中有多个场景,但我必须阅读其中的特定场景? 请告知请阅读文件: 我按照文档中的说明进行了尝试,但得到了以下错误:com.intuit.karate-不是js函数或功能文件:read('classpath:一些可重用的步骤)。feature@name=delete')-[type:NULL,value:NULL]@Vindhiyan好的,是时候让您遵循这个过程了,最好的是:我看到的区别是-我已经提供了完整的类路径,如果有完整的路径名,我如何使它工作?调用read('classpat

我在一个功能文件中有多个场景,但我必须阅读其中的特定场景? 请告知

请阅读文件:


我按照文档中的说明进行了尝试,但得到了以下错误:com.intuit.karate-不是js函数或功能文件:read('classpath:一些可重用的步骤)。feature@name=delete')-[type:NULL,value:NULL]@Vindhiyan好的,是时候让您遵循这个过程了,最好的是:我看到的区别是-我已经提供了完整的类路径,如果有完整的路径名,我如何使它工作?调用read('classpath:com/vindhiyan/feature/一些可重用的步骤。feature@name=删除“)后。这个说明它在更新到最新版本0.9.4后工作,之前我使用的是0.7.0
* def result = call read('classpath:some-reusable-steps.feature@sometag')