Selenium IDE 使用Export Feature改变脚本语言类型
来源:互联网 发布:sysgettempdir php 编辑:程序博客网 时间:2024/05/18 03:40
Copy from: http://blog.reallysimplethoughts.com/2011/06/10/does-selenium-ide-v1-0-11-support-changing-formats/
After the release of the Selenium IDE v1.0.11, I have come across a lot of queries about the missing language support in Selenium IDE. Here are a few variations of the queries:-
- The formatters are not working as expected
- Selenium IDE doesn’t show formats
- Format is greyed out.
- Unable to format the HTML code to Java
Let me lay your fears to rest. The support for the existing languages has not gone away. It is still there, but it has been disabled for your own good. Currently, the recommended way to convert your tests to another language is to use the export feature of Selenium IDE,. You can access it from the Export Test Case As menu item in theFile menu. If you want to do a lot of conversion, you will find myTest Suite Batch Converter plugin very useful. If you really really really must change the format like in the earlier versions, you can. Here is how you can turn it back on. Open theOptions dialog and turn on theEnable experimental features option. See the screen shot for details. Once you turn on the experimental features, you should be able to get your beloved formats working again. TheFormat menu item in theOptions menu will no longer be greyed out. Let me warn you once again that you should NOT be using it.
So what exactly is wrong with the formats?
Well, nothing! There is nothing wrong with the formats themselves. Let me explain the situation some more. Selenium IDE cannot work with any language other than the HTML based Selenese. So when you change the format to another language, Selenium IDE does something clever. Behind the scene, it keeps a copy of the Selenese test case and on the fly converts it to the selected language and shows it to you. It seems that Selenium IDE is magically able to record in all supported languages. It SEEMS, but it is not true. More often than not, if you make any changes directly to the test case, they will seem to be there, but Selenium IDE cannot do much with it. Once you save the test case, and try to open the it again, tough luck, you usually cannot. If you change the format again, it will usually lose all your changes. In short, there is still a lot to work to do to make this feature stable. Until then, there is a lot of chance for losing your changes and I decided to mark this feature as experimental. If the thought of losing your hours and hours of your tests does not scare you, turn on the experimental features and ignore the warnings. But, if you want to play it safe, use the Export feature instead. The choice is in your hands.
Update: In Selenium IDE v1.0.12 onwards, you can use the Disable format change warning messages option in the options dialog to turn off (or on again) the warning message while changing formats.
- Selenium IDE 使用Export Feature改变脚本语言类型
- Selenium IDE的使用
- Selenium IDE的使用
- Selenium IDE的使用
- selenium ide 的使用
- Selenium IDE的使用
- selenium IDE的使用
- 认识Selenium --- Selenium IDE的使用
- Selenium IDE实践(使用Selenium录制)
- Selenium IDE实践(使用Selenium录制)
- Selenium IDE实践(使用Selenium录制)
- Selenium 初学笔记--Selenium IDE-简单使用
- 二、Selenium IDE的使用
- selenium IDE mac 使用安装
- Selenium ide安装及使用
- Selenium IDE介绍安装使用
- ant feature export
- Selenium IDE
- 一个 电脑原始人 的独白
- Myeclipse快捷键
- Effective C++ 8,9
- 线程共享数据以及ThreadLocal类
- 隨3--文件壓縮成base64,解壓
- Selenium IDE 使用Export Feature改变脚本语言类型
- 导入外部JS
- KMP--模式匹配算法
- 加油站...
- java中的定时器Timer类简介
- java5中的线程池简介。
- 概率统计中方差的计算区别
- xpath的语法
- Opencv笔记(1) 数据结构的命名规则(CvMat,...)