[JIRA] Created: (SEL-752) Selenium RC(v1.03) can not test www.baidu.com in IE7

0 views
Skip to first unread message

Jason Wangkun (JIRA)

unread,
Nov 24, 2010, 9:02:20 PM11/24/10
to selenium-deve...@googlegroups.com
Selenium RC(v1.03) can not test www.baidu.com in IE7
----------------------------------------------------

Key: SEL-752
URL: http://jira.openqa.org/browse/SEL-752
Project: Selenium
Issue Type: Bug
Components: BrowserBot-IE
Affects Versions: 1.0
Environment: Selenium RC(v1.03) + IE7
Reporter: Jason Wangkun


I got an issue when I used Selenium RC(v1.03) to test www.baidu.com in IE7, the source code as follows,

/*----------- code begin -----------*/

Selenium selenium = new DefaultSelenium("localhost", 4444, "*iexplore", "http://www.baidu.com/"); selenium.start("singleWindow=false");
selenium.open("/");
selenium.click("kw");
selenium.type("kw", "selenium");
selenium.click("su");
Thread.sleep(2000);
boolean blSucce = selenium.isTextPresent("seleniumhq.org");

/*----------- code end -----------*/


The issue was that an exception occurred when invoking isTextPresent() , and blow is the exception info:

Exception in thread "main" com.thoughtworks.selenium.SeleniumException: ERROR: Command execution failure. Please search the forum at http://clearspace.openqa.org for error details from the log window. The error message is: Object expected
at com.thoughtworks.selenium.HttpCommandProcessor.throwAssertionFailureExceptionOrError(HttpCommandProcessor.java:97)
at com.thoughtworks.selenium.HttpCommandProcessor.doCommand(HttpCommandProcessor.java:91)
at com.thoughtworks.selenium.HttpCommandProcessor.getString(HttpCommandProcessor.java:262)
at com.thoughtworks.selenium.HttpCommandProcessor.getBoolean(HttpCommandProcessor.java:335)
at com.thoughtworks.selenium.DefaultSelenium.isTextPresent(DefaultSelenium.java:499)
at com.Tester.main(Test.java:123)


--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.openqa.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira


Reply all
Reply to author
Forward
0 new messages