机器人框架关键字可以在python控制台中执行吗? [英] Can robot framework keyword can be executed in python console?

查看:48
本文介绍了机器人框架关键字可以在python控制台中执行吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用机器人框架来编写测试用例.由于不可能调试每个语句,因此日志记录是使开发测试用例变得非常缓慢的唯一方法.

I am using robot framework for writing test case. As it is not possible to debug the each and every statement, logging is only way which makes it very slow to develop test case.

我正在寻找一种可以在 python 控制台中执行机器人关键字的方法.这样我就可以调试并查看我创建的关键字或我使用的内置关键字是否可以正常工作.有办法吗?

I am looking for a way in i can execute the robot keyword in python console. so that I can debug and see if the keyword i have created or inbuilt keyword that i have used will work correctly. Is there a way to do it ?

例如.我可以执行 wait 直到页面包含元素 ${ELEMENT} 吗?

eg. Can i execute wait until page contains element ${ELEMENT}?

推荐答案

在eclipse IDE上试试下面的插件,它可以让你设置断点并一步步执行.

Try following plugin on eclipse IDE, it allows you to put a break point and execute step by step.

我最后一次检查(几个月前)它在导入现有项目和运行时几乎没有问题.我希望它们都已修复.

The last time I checked (couple of months back) it was having few issue with importing existing project and running. I hope they all have been fixed.

https://github.com/nokia/RED

这篇关于机器人框架关键字可以在python控制台中执行吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆