从Selenium IDE导出测试为python [英] Export test as python from Selenium IDE

查看:2674
本文介绍了从Selenium IDE导出测试为python的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在Selenium IDE中做了几个测试,并将其保存为HTML格式的测试套件,这对于导入到selenium IDE中工作正常。现在我想扩展这些测试使用python,当我点击出口测试套件,并选择python我得到这个错误


套件导出不是为chrome:// selenium-ide / content / formats / python-rc格式化程序实现了

如何在selenium中启用此选项IDE?



注意我还发现了一个额外的Firefox插件,可以批量转换测试,但仍然不允许将整个测试套件导出为一个文件。我意识到我可以手工合并这些文件,但在将来我想在我的工作流程中有这个选项。



谢谢。



ps在Fedora 14上运行Firefox 3.6

解决方案

如果你正在运行最新版本(1.9),进入选项,选中启用实验功能的框,格式菜单现在应该列出Python。

I made several tests in Selenium IDE and saved it as a test suite in the HTML format which works fine for importing back into selenium IDE. Now however I would like to expand these tests using python and when I click export test suite and choose python I get this error

Suite export not implemented for the chrome://selenium-ide/content/formats/python-rc formatter

How can I enable this option in selenium IDE?

Note I also have found an additional plugin for Firefox that allows batch conversion of tests but still does not allow export of the entire test suite as one file. I realize I could combine these files by hand but in the future I would like to have this option in my workflow.

Thank you.

p.s Running Firefox 3.6 on fedora 14

解决方案

What version of SIDE are you running? If you are running the latest version (1.9), go into options, check the box off for "Enable Experimental Features" and the formats menu should now list Python.

这篇关于从Selenium IDE导出测试为python的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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