S
S
sweak2014-04-21 21:05:38
selenium
sweak, 2014-04-21 21:05:38

Selenium Server: why does the test suite fail in Internet Explorer?

Suite test fails in IE version: 9.0.8122.16421
Security sliders to minimum, protected mode off, pop-up blocker off.
Command line:

c:\Selenium>java -jar C:\Selenium\selenium-server-standalone-2.41.0.jar -htmlSui
te *iexplore http://demo.opensourcecms.com/ C:\Selenium\MyTestSuite.html C:\Sele
nium\resultsIE.html
ряЁ 18, 2014 11:49:48 AM org.openqa.grid.selenium.GridLauncher main
INFO: Launching a standalone server
11:49:49.708 INFO - Java: Oracle Corporation 24.51-b03
11:49:49.717 INFO - OS: Windows 7 6.1 x86
11:49:49.788 INFO - v2.41.0, with Core v2.41.0. Built from revision 3192d8a
11:49:50.708 INFO - RemoteWebDriver instances should connect to: http://127.0.0.
1:4444/wd/hub
11:49:50.710 INFO - Version Jetty/5.1.x
11:49:50.711 INFO - Started HttpContext[/selenium-server/driver,/selenium-server
/driver]
11:49:50.713 INFO - Started HttpContext[/selenium-server,/selenium-server]
11:49:50.713 INFO - Started HttpContext[/,/]
11:49:50.978 INFO - Started [email protected]
6
11:49:50.979 INFO - Started HttpContext[/wd,/wd]
11:49:51.003 INFO - Started SocketListener on 0.0.0.0:4444
11:49:51.003 INFO - Started [email protected]
jar:file:/C:/Selenium/selenium-server-standalone-2.41.0.jar!/core
11:49:51.533 INFO - Launching Embedded Internet Explorer...
11:49:52.511 INFO - Launching Internet Explorer HTA...
11:49:57.554 INFO - Checking Resource aliases
11:50:02.658 INFO - Checking Resource aliases
11:50:02.660 INFO - Received posted results
css41.html
<A href="css41.html">css41</A></TD></TR></TBODY></TABLE>
css4.html
<A href="css4.html">css4</A></TD></TR>
<TR class="  status_failed">
<TD>
11:50:03.613 WARN - Embedded iexplore seems to have ended on its own (did we kil
l the real browser???)
Tests failed, see result file for details: C:\Selenium\resultsIE.html
11:50:03.781 INFO - Shutting down...

c:\Selenium>

resultsIE.html:
3650ce9b0acd4ba5a5d6fe8b23305df1.png
Why is Element css=div#icon-edit + h2 a not found? Chrome and Firefox work without errors.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Alexander, 2014-04-22
@Papagatto

Maybe the page didn't load completely. Try adding expectations.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question