1
我正在设置一些量角器测试,一切正常cool.I只是因为它通过/失败每个测试更多的信息。量角器进度输出
这就是我目前做
this.doTabCount = function (expectedCount){
qsPage.statementTabExist().then(function() {
qsPage.allTabs().count().then(function (count) {
if(expect(expectedCount).toBe(expectedCount)){
console.log('------------- Tabcount passed :) -------------');
}else{
console.log('------------- Tabcount FAILED :(-------------');
}
});
});
};
我敢肯定,必须有正确的显示输出更好的办法。
在此先感谢。
何时何地你叫这个'doTabCount()'函数明确的指示?谢谢。 – alecxe
代码在这里('whatever')在这里 – vanzylv
不能很好地工作我用这种方法调用一个页面对象 – vanzylv