[webdriver] fails to launch IE with webdriver

35 views
Skip to first unread message

shen xieyin

unread,
Sep 21, 2011, 6:02:47 AM9/21/11
to webdriver

Selenium 2.6

Browser: IE8 Chinese version.


Anyone has the idea?

 

FAILED CONFIGURATION: @BeforeMethod beforeTestSetupUserData

com.thoughtworks.selenium.SeleniumException: JavaScript error (WARNING: The server did not provide any stacktrace information)

Build info: version: '2.4.0', revision: '13337', time: '2011-08-12 09:58:05'

System info: os.name: 'Windows XP', os.arch: 'x86', os.version: '5.1', java.version: '1.5.0_16'

Driver info: driver.version: RemoteWebDriver

      at org.openqa.selenium.internal.seleniumemulation.SeleneseCommand.apply(SeleneseCommand.java:41)

      at org.openqa.selenium.internal.seleniumemulation.Timer.run(Timer.java:38)

      at org.openqa.selenium.WebDriverCommandProcessor.execute(WebDriverCommandProcessor.java:170)

      at org.openqa.selenium.WebDriverCommandProcessor.getBoolean(WebDriverCommandProcessor.java:157)

      at com.thoughtworks.selenium.DefaultSelenium.isTextPresent(DefaultSelenium.java:507)

      at com.successfactors.saf.library.common.pageactions.BaseUtil.isLiteralTextPresent(BaseUtil.java:1228)

      at com.successfactors.saf.library.provisioning.pageactions.ProvisioningLoginPage.openLoginPage(ProvisioningLoginPage.java:28)

      at com.successfactors.saf.library.common.actions.CommonProvLogin.login(CommonProvLogin.java:29)

      at com.successfactors.saf.library.common.actions.CommonProvLogin.login(CommonProvLogin.java:49)

 

Exception in my desktop with IE Chinese version:

 

FAILED CONFIGURATION: @BeforeMethod beforeEachTestSetup

com.thoughtworks.selenium.SeleniumException: Timed out waiting for action to finish

      at org.openqa.selenium.internal.seleniumemulation.Timer.run(Timer.java:43)

      at org.openqa.selenium.WebDriverCommandProcessor.execute(WebDriverCommandProcessor.java:170)

      at org.openqa.selenium.WebDriverCommandProcessor.doCommand(WebDriverCommandProcessor.java:100)

      at com.thoughtworks.selenium.DefaultSelenium.windowMaximize(DefaultSelenium.java:563)

      at com.successfactors.saf.framework.UITest.init(UITest.java:273)

      at com.successfactors.saf.framework.UITest.init(UITest.java:166)

      at com.successfactors.saf.library.threesixty.utils.ThreeSixtyUITest.init(ThreeSixtyUITest.java:160)

      at com.successfactors.saf.tests.threesixty.sanity.ENT10531DefaultCategoryTagTest.beforeEachTestSetup(ENT10531DefaultCategoryTagTest.java:68)

      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

      at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)

      at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)

      at java.lang.reflect.Method.invoke(Unknown Source)

      at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:74)

      at org.testng.internal.Invoker.invokeConfigurationMethod(Invoker.java:525)

      at org.testng.internal.Invoker.invokeConfigurations(Invoker.java:202)

      at org.testng.internal.Invoker.invokeMethod(Invoker.java:613)

 


Krishnan Mahadevan

unread,
Sep 21, 2011, 6:39:46 AM9/21/11
to webd...@googlegroups.com
Are you sure you are using Selenium 2.6 ?

Your stack trace seems to suggest that you are using 2.4

Build info: version: '2.4.0', revision: '13337', time: '2011-08-12 09:58:05'

System info: os.name: 'Windows XP', os.arch: 'x86', os.version: '5.1', java.version: '1.5.0_16'



Thanks & Regards
Krishnan Mahadevan

"All the desirable things in life are either illegal, expensive, fattening or in love with someone else!"




--
You received this message because you are subscribed to the Google Groups "webdriver" group.
To post to this group, send email to webd...@googlegroups.com.
To unsubscribe from this group, send email to webdriver+...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/webdriver?hl=en.

Reply all
Reply to author
Forward
0 new messages