[英]Is it possible to run and create Selenium IDE test cases without Firefox?
I'm using Selenium IDE to occasionally test my web applications. 我正在使用Selenium IDE偶尔测试我的Web应用程序。 However, since Selenium IDE is a plugin for Firefox, and it doesn't exist yet for Firefox 5 (the latest version of Firefox), I cannot run my tests and cannot create new ones. 但是,由于Selenium IDE是Firefox的插件,而对于Firefox 5(Firefox的最新版本)尚不存在,因此我无法运行测试,也无法创建新测试。
Is it possible to use Selenium IDE without an older version of Firefox? 是否可以在没有旧版本的Firefox的情况下使用Selenium IDE?
UPDATE: The currently last version of Selenium IDE works with Firefox 5 (problem solved): http://code.google.com/p/selenium/wiki/SeIDEReleaseNotes 更新: Selenium IDE的当前最新版本适用于Firefox 5(已解决问题): http : //code.google.com/p/selenium/wiki/SeIDEReleaseNotes
If I understand correctly you are asking about the 'recording' feature that the plugin provides. 如果我理解正确,您正在询问插件提供的“录制”功能。 Have a look at the code that it creates (on demand). 查看它创建的代码(按需)。 You can also write that code in a text editor or ide of your choice and then run these tests as part of a test suite in the language that you choose (eg java). 您还可以在自己选择的文本编辑器中编写该代码,然后以您选择的语言(例如Java)作为测试套件的一部分运行这些测试。
This solution requires running the browser(s) you want to test on some test machine/server. 此解决方案要求在某些测试计算机/服务器上运行要测试的浏览器。
The usual answer to your question is "yes, if you know how to patch an XPI file". 对于该问题的通常答案是“是的,如果您知道如何修补XPI文件”。 Firefox plugins declare their minimum and maximum supported Firefox levels in the plugin archive-file, and Selenium takes a conservative approach, only declaring support that has been verified. Firefox插件在插件存档文件中声明其支持的最低和最高Firefox级别,Selenium采用保守的方法,仅声明已验证的支持。 FF5 is very new, and hadn't been. FF5很新,而且还没有。
That said, sometimes there are genuine incompatibilities that need to be repaired. 就是说,有时存在真正的不兼容问题需要修复。 Not often, but sometimes. 不经常,但有时。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.