Tell me more ×
Stack Overflow is a question and answer site for professional and enthusiast programmers. It's 100% free, no registration required.

com.thoughtworks.selenium.SeleniumException: ERROR: Command execution failure. Please search the user group at https://groups.google.com/forum/#!forum/selenium-users for error details from the log window. The error message is: Object doesn't support property or method 'createEvent'

I am getting the above error, somebody please help me out on this issue.

Help will be appreciated.

SeleniumServer server = new SeleniumServer(rcc);
DefaultSelenium selenium = new DefaultSelenium("localhost", 1212, "*iexploreproxy", "http://");

server.start();
selenium.start();
selenium.windowMaximize();
selenium.open("URL");
selenium.waitForPageToLoad("25000");
selenium.windowMaximize();
selenium.type("id=lgnLogin_UserName", "dy4cl");
selenium.type("id=lgnLogin_Password", "Test1234");
selenium.click("lgnLogin_LoginButton");
selenium.waitForPageToLoad("10000");
String msg = selenium.getText("//table[@id='lgnLogin']/tbody/tr/td/table/tbody/tr[4]/td");
System.out.println(msg);
share|improve this question
Can you show us some code where you were getting this error? browser name version, selenium version etc? – HemChe May 3 at 4:39
I am getting the following error Exception in thread "main" com.thoughtworks.selenium.SeleniumException: ERROR: Command execution failure. Please search the user group at groups.google.com/forum/#!forum/selenium-users for error details from the log window. The error message is: Object doesn't support property or method 'createEvent'at com.thoughtworks.selenium.HttpCommandProcessor.throwAssertionFailureExceptionOrE‌​rror(HttpCommandProcessor.java:97) at com.thoughtworks.selenium.HttpCommandProcessor.doCommand(HttpCommandProcessor.ja‌​va:91) at – Umamaheshwar Thota May 3 at 6:22
com.thoughtworks.selenium.DefaultSelenium.type(DefaultSelenium.java:291) at first.main(first.java:19) – Umamaheshwar Thota May 3 at 6:23
i am getting the error are line selenium.type("id=lgnLogin_UserName", "dy4cl"); – Umamaheshwar Thota May 3 at 6:25
i am using IE10 browser, Selenium version 2.21 and Windows7. My Application supports only IE – Umamaheshwar Thota May 3 at 12:29

1 Answer

Upgrade your Selenium Server file to 2.32.0. you can download it from here

Let me know if you are still facing the same issue.

share|improve this answer
Thanks Hemachandra, the issue resolved for me. but i am not able to Login to application after giving the Username and Password. It gives the error as Element Logout not found. – Umamaheshwar Thota 1 hour ago

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.