我在Selenium IDE中记录了一个测试用例,并希望将其转换为Junit.当我尝试更改格式时,我有两个选项叫做"JUnit WebDriver"和"JUnit WebDriver Backed".你能解释一下这个WebDriver和WebDriver Backed有什么不同吗?对不起,我是Selenium的新手,开始通过Internet Materials学习.
谢谢,Abdul Hameed
Firefox升级到最新版本12.0后,Selenium无法运行.它失败了以下消息.请指教,如果我使用旧版本的Firefox,它仍然可以正常工作.
org.openqa.selenium.firefox.NotConnectedException: Unable to connect to host 127.0.0.1 on port 7055 after 45000 ms. Firefox console output:
*** LOG addons.xpi: startup
*** LOG addons.xpi: Skipping unavailable install location app-system-local
*** LOG addons.xpi: Skipping unavailable install location app-system-share
*** LOG addons.xpi: Ignoring file entry whose name is not a valid add-on ID: C:\Users\Abdul\AppData\Local\Temp\anonymous869859993705622974webdriver-profile\extensions\webdriver-staging
*** LOG addons.xpi: checkForChanges
*** LOG addons.xpi: No changes found
at org.openqa.selenium.firefox.internal.NewProfileExtensionConnection.start(NewProfileExtensionConnection.java:95)
at org.openqa.selenium.firefox.FirefoxDriver.startClient(FirefoxDriver.java:157)
at org.openqa.selenium.remote.RemoteWebDriver.<init>(RemoteWebDriver.java:93)
at org.openqa.selenium.firefox.FirefoxDriver.<init>(FirefoxDriver.java:136)
at org.openqa.selenium.firefox.FirefoxDriver.<init>(FirefoxDriver.java:78)
at Google.Open_Google_Firefox.Test_Google_FireFox(Open_Google_Firefox.java:13)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) …Run Code Online (Sandbox Code Playgroud)