空手道UI测试无法作为参考评估失败 [英] Karate UI test not working as reference eval is failed
问题描述
我在pom.xml中使用karate-apache 0.9.4 jar,并尝试针对在本地计算机中公开的角度应用程序自动进行登录
I'm using karate-apache 0.9.4 jar in pom.xml and trying to automate the login for an angular application exposed in local machine
但是无论使用什么命令,都会出现相同的错误并且脚本失败
But irrespective of commands used keep getting same error and script s failed
错误:JavaScript评估失败:等待直到("document.readystate =='complete'"),引用错误:waitUntil在第1行的eval中定义,功能文件中的步骤为
Error: JavaScript evaluation failed : wait until("document.readystate=='complete'"), reference error : waitUntil is defined in eval at line number 1 Steps in feature file are
给出驱动程序' http://1x.37d.37x.34b:1234 '* waitUntil("document.readystate =='complete'")
Given driver 'http://1x.37d.37x.34b:1234' * waitUntil("document.readystate=='complete'")
推荐答案
可以,请使用最新的0.9.5,如果您正在尝试,建议使用ZIP发行版: https://github.com/intuit/karate/wiki/ZIP发布
Can you please use the latest 0.9.5 and I suggest use the ZIP Release if you are just experimenting: https://github.com/intuit/karate/wiki/ZIP-Release
如果您仍然发现问题,请按照以下过程进行操作,以便我们进行修复:
If you still see a problem, kindly follow this process so we can fix: https://github.com/intuit/karate/tree/develop/examples/ui-test
这篇关于空手道UI测试无法作为参考评估失败的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!