【发布时间】:2019-05-14 04:47:03
【问题描述】:
我正在尝试在控制台上打印值,但我没有看到任何值
sn-p 代码
And prepresp = response.event.txn_count
Then print 'count is : ', response.event.txn_count
Then print 'count is : ', prepresp
【问题讨论】:
我正在尝试在控制台上打印值,但我没有看到任何值
sn-p 代码
And prepresp = response.event.txn_count
Then print 'count is : ', response.event.txn_count
Then print 'count is : ', prepresp
【问题讨论】:
您的代码似乎缺少用于定义“prepresp”的“def”关键字
And def prepresp = response.event.txn_count
Then print 'count is : ', response.event.txn_count
Then print 'count is : ', prepresp
这应该可以工作
【讨论】:
* def count = response[0].EXPR$0
测试运行后,打印操作应打印到控制台中提供的 HTML 页面。
【讨论】: