SlideShare a Scribd company logo
Fluentlenium Functional tests hang
Asked by Tony Childs on 2013-04-10T18:55:29-04:00
I've got a simple test that should start a browser and go to a URL, but it
hangs:
@Test
public void runInBrowser() {
running(testServer(9000), FIREFOX, new Callback() {
public void invoke(TestBrowser browser) {
browser.goTo("http://localhost:3333/admin");
});
Firefox starts and then the test just hangs without navigating to the URL
provided. I see only the following console log (INFO)
[37minfo [0m] play - datasource [jdbc:db2://url-removed] bound to JNDI as
DefaultDS
[ [37minfo [0m] o.h.a.c.Version - HCANN000001: Hibernate Commons
Annotations {4.0.1.Final}
[ [37minfo [0m] o.h.Version - HHH000412: Hibernate Core {4.1.7.Final}
[ [37minfo [0m] o.h.c.Environment - HHH000206: hibernate.properties not
found
[ [37minfo [0m] o.h.c.Environment - HHH000021: Bytecode provider name :
javassist
[ [37minfo [0m] o.h.d.Dialect - HHH000400: Using dialect:
org.hibernate.dialect.DB2Dialect
[ [37minfo [0m] o.h.e.j.i.LobCreatorBuilder - HHH000423: Disabling
contextual LOB creation as JDBC driver reported JDBC version [3] less than 4
[ [37minfo [0m] o.h.e.t.i.TransactionFactoryInitiator - HHH000268:
Transaction strategy:
org.hibernate.engine.transaction.internal.jdbc.JdbcTransactionFactory
[ [37minfo [0m] o.h.h.i.a.ASTQueryTranslatorFactory - HHH000397: Using
ASTQueryTranslatorFactory
[ [37minfo [0m] o.h.v.i.u.Version - HV000001: Hibernate Validator
4.3.0.Final
[ [37minfo [0m] application - Application has started
[ [37minfo [0m] application - DEVELOPMENT
The same test runs when I use HTMLUNIT in place of FIREFOX. Any tips would
be appreciated.
Thanks,
Tony
Archives
Framework
Play Framework
Apr 10, 2013
Week 15, 2013
MarsHut Page 1/3
Fluentlenium Functional tests hang
April, 2013
Year 2013
All Answers
Answer by Tony Childs on 2013-04-11T13:13:57-04:00
I've now noticed that HTMLUNIT also hangs when I go to /admin/people. I'm
wondering if Angular.js has anything to do with it
Answer by Max Begenau on 2013-04-11T15:17:11-04:00
Hi Tony,
as far as I can see AngularJS has been tested with IE8 and above. The
default HtmlUnitDriver browser used by play is Internet Explorer 7(The current
trunkof HtmlUnit uses IE8 as default). So yes, problems can arise from
JavaScript (also have a look at this
blog
post I found).
I encountered hangs when using HTMLUNIT with my jQuery based application,
but in contrast to your case the FIREFOX WebDriver worked flawlessly*. You
may try using HTMLUNIT with Firefox browser version. To do so, use:
FluentAdapter ff10_browser = new FluentAdapter(new HtmlUnitDriver(
BrowserVersion.FIREFOX_10))
*What Firefox version do you use? Selenium tries to install an Add-On to
Firefox, but the shipped xpi is not compatible with recent browser. To
update, add the following line to your Build.scala:
"org.seleniumhq.selenium" % "selenium-java" % "2.31.0",
Good luck!
Max
Answer by Mathilde Rigabert Leme̕e on 2013-04-11T16:18:19-04:00
Hi Tony,
selenium-java 2.32.0 have been released so same as Max except for the
version
"org.seleniumhq.selenium" % "selenium-java" % "2.32.0",
Does that work ?
Mathilde
Le jeudi 11 avril 2013 00:55:29 UTC+2, Tony Childs a écrit :
Answer by Tony Childs on 2013-04-12T15:13:01-04:00
Turns out that it was a problem with jQuery 1.9.0. We downgraded to 1.8.3
and it seems to be working so far.
MarsHut Page 2/3
Fluentlenium Functional tests hang
Tagged
Fluentlenium Functional Tests
Hibernate Core
Hibernate Validator
Public Void Invoke
Reported Jdbc Version
Related
Play Framework 2.1.1 Streaming through Websockets
Change DB Application Configuration at Runtime
ClassCastException when testing Controller with @Authenticated and Guice
How to modify or decorate Http.Request Object
Help on debugging compilation errors from macros
MyBatis-Guice configuration with Play 2.1 - Mapped Statements collection does not contain value
Cannot get FluentLenium browser to goto localhost
Deprecated routeAndCall() with random errors. route() produces NullPointerException
JPA with multiple persistenceUnit
Validate the password and confirmation passwords match
View Online
http://www.marshut.com/ikqpy/fluentlenium-functional-tests-hang.html
MarsHut Page 3/3

More Related Content

DOC
Integration of apache with tomcat
PDF
instaling
PDF
Banquet 51
DOCX
การเข ยนโปรแกรมต ดต_อฐานข_อม_ล
PDF
Banquet 42
PDF
Integrating Tomcat And Apache On Windows
PPT
Presentation (PPT)
PDF
Accessing Oracle 11 g on Mac OS (10.7.5) using Oracle Virtual Box
Integration of apache with tomcat
instaling
Banquet 51
การเข ยนโปรแกรมต ดต_อฐานข_อม_ล
Banquet 42
Integrating Tomcat And Apache On Windows
Presentation (PPT)
Accessing Oracle 11 g on Mac OS (10.7.5) using Oracle Virtual Box

What's hot (12)

PDF
Play Framework in EC2
PDF
Puppet Camp Berlin 2015: Pedro Pessoa | Puppet at the center of everything - ...
DOC
Integrating open am with liferay portal
TXT
Easy install
PDF
Installing Tomcat on Ubuntu Instance
PPT
Installation of Joomla on Windows XP
DOCX
How to install and configure LEMP stack
PPTX
Backbase CXP Manager Setup
PPTX
MuleSoft ESB Testing Mule Application using MUnit Test Suite
PDF
pdf
Play Framework in EC2
Puppet Camp Berlin 2015: Pedro Pessoa | Puppet at the center of everything - ...
Integrating open am with liferay portal
Easy install
Installing Tomcat on Ubuntu Instance
Installation of Joomla on Windows XP
How to install and configure LEMP stack
Backbase CXP Manager Setup
MuleSoft ESB Testing Mule Application using MUnit Test Suite
pdf
Ad

Viewers also liked (20)

PDF
DewhurstPublicationListNov2015
PDF
Visio Chart PDF
DOCX
Storyboard (Reading)
ODP
Cells part 2 cell theory
DOCX
articulos-miguel-serrano
DOCX
Harrigan_Danielle_Programming
PDF
수원오피.공덕오피≒다솜넷≒천안오피걸.인천오피방
PPTX
Resumen de pelicula
DOCX
PDF
인천오피.서현오피≒다솜넷≒부평오피걸.동탄오피방
PDF
La Evolucion de la Tecnologia de Evento: Hacer Conexiones Sociales
PDF
OBASM-fd
PPT
Principios del tercero excluido
PDF
부천오피.목동오피≒다솜넷≒수원오피걸.분당오피방
PDF
Unidad 3 s.o.
PDF
7 ipa buku_guru
PDF
The Environment+Seasons and Climate1+ป.1+107+dltvengp1+55t2eng p01 f14-4page
PDF
부평오피.마포오피≒다솜넷≒동탄오피걸.수원오피방
PDF
The Environment+Seasons and Climate1+ป.1+107+dltvengp1+55t2eng p01 f13-1page
PDF
201308 동향
DewhurstPublicationListNov2015
Visio Chart PDF
Storyboard (Reading)
Cells part 2 cell theory
articulos-miguel-serrano
Harrigan_Danielle_Programming
수원오피.공덕오피≒다솜넷≒천안오피걸.인천오피방
Resumen de pelicula
인천오피.서현오피≒다솜넷≒부평오피걸.동탄오피방
La Evolucion de la Tecnologia de Evento: Hacer Conexiones Sociales
OBASM-fd
Principios del tercero excluido
부천오피.목동오피≒다솜넷≒수원오피걸.분당오피방
Unidad 3 s.o.
7 ipa buku_guru
The Environment+Seasons and Climate1+ป.1+107+dltvengp1+55t2eng p01 f14-4page
부평오피.마포오피≒다솜넷≒동탄오피걸.수원오피방
The Environment+Seasons and Climate1+ป.1+107+dltvengp1+55t2eng p01 f13-1page
201308 동향
Ad

Similar to Fluentlenium Functional tests hang.pdf (20)

PDF
Fluentlenium Functional tests hang.pdf
PDF
The moment my site got hacked - WordCamp Sofia
PDF
夜宴42期《Gadgets》
PPTX
Creating Openbravo Workspace Widgets
PPTX
Selenium Automation in Java Using HttpWatch Plug-in
PPTX
The Rich Standard: Getting Familiar with HTML5
PDF
Using HttpWatch Plug-in with Selenium Automation in Java
DOCX
1 Web Page Foundations Overview This lab walk.docx
PPT
Watir Presentation Sumanth Krishna. A
PPT
WordPress basic fundamental of plugin development and creating shortcode
PDF
Oracle WebLogic: Feature Timeline from WLS9 to WLS 12c
PDF
Selenium & PHPUnit made easy with Steward (Berlin, April 2017)
PDF
DOC
Selenium Automation Using Ruby
PDF
Android Performance #4: Network
PPTX
Selenium-Grid-Extras
PPTX
How to install share point 2010
PDF
Selenium Ide Tutorial
ODP
Mastering selenium for automated acceptance tests
PDF
Owasp AppSecEU 2015 - BeEF Session
Fluentlenium Functional tests hang.pdf
The moment my site got hacked - WordCamp Sofia
夜宴42期《Gadgets》
Creating Openbravo Workspace Widgets
Selenium Automation in Java Using HttpWatch Plug-in
The Rich Standard: Getting Familiar with HTML5
Using HttpWatch Plug-in with Selenium Automation in Java
1 Web Page Foundations Overview This lab walk.docx
Watir Presentation Sumanth Krishna. A
WordPress basic fundamental of plugin development and creating shortcode
Oracle WebLogic: Feature Timeline from WLS9 to WLS 12c
Selenium & PHPUnit made easy with Steward (Berlin, April 2017)
Selenium Automation Using Ruby
Android Performance #4: Network
Selenium-Grid-Extras
How to install share point 2010
Selenium Ide Tutorial
Mastering selenium for automated acceptance tests
Owasp AppSecEU 2015 - BeEF Session

Recently uploaded (20)

PDF
Per capita expenditure prediction using model stacking based on satellite ima...
PDF
Approach and Philosophy of On baking technology
PDF
Build a system with the filesystem maintained by OSTree @ COSCUP 2025
PPTX
MYSQL Presentation for SQL database connectivity
PPTX
Detection-First SIEM: Rule Types, Dashboards, and Threat-Informed Strategy
PDF
The Rise and Fall of 3GPP – Time for a Sabbatical?
PDF
KodekX | Application Modernization Development
PPTX
Big Data Technologies - Introduction.pptx
PDF
Encapsulation theory and applications.pdf
PPTX
Programs and apps: productivity, graphics, security and other tools
PDF
Diabetes mellitus diagnosis method based random forest with bat algorithm
PDF
cuic standard and advanced reporting.pdf
PDF
Optimiser vos workloads AI/ML sur Amazon EC2 et AWS Graviton
PPTX
20250228 LYD VKU AI Blended-Learning.pptx
PDF
Electronic commerce courselecture one. Pdf
PDF
7 ChatGPT Prompts to Help You Define Your Ideal Customer Profile.pdf
PDF
Mobile App Security Testing_ A Comprehensive Guide.pdf
PDF
How UI/UX Design Impacts User Retention in Mobile Apps.pdf
PPTX
Understanding_Digital_Forensics_Presentation.pptx
PDF
Profit Center Accounting in SAP S/4HANA, S4F28 Col11
Per capita expenditure prediction using model stacking based on satellite ima...
Approach and Philosophy of On baking technology
Build a system with the filesystem maintained by OSTree @ COSCUP 2025
MYSQL Presentation for SQL database connectivity
Detection-First SIEM: Rule Types, Dashboards, and Threat-Informed Strategy
The Rise and Fall of 3GPP – Time for a Sabbatical?
KodekX | Application Modernization Development
Big Data Technologies - Introduction.pptx
Encapsulation theory and applications.pdf
Programs and apps: productivity, graphics, security and other tools
Diabetes mellitus diagnosis method based random forest with bat algorithm
cuic standard and advanced reporting.pdf
Optimiser vos workloads AI/ML sur Amazon EC2 et AWS Graviton
20250228 LYD VKU AI Blended-Learning.pptx
Electronic commerce courselecture one. Pdf
7 ChatGPT Prompts to Help You Define Your Ideal Customer Profile.pdf
Mobile App Security Testing_ A Comprehensive Guide.pdf
How UI/UX Design Impacts User Retention in Mobile Apps.pdf
Understanding_Digital_Forensics_Presentation.pptx
Profit Center Accounting in SAP S/4HANA, S4F28 Col11

Fluentlenium Functional tests hang.pdf

  • 1. Fluentlenium Functional tests hang Asked by Tony Childs on 2013-04-10T18:55:29-04:00 I've got a simple test that should start a browser and go to a URL, but it hangs: @Test public void runInBrowser() { running(testServer(9000), FIREFOX, new Callback() { public void invoke(TestBrowser browser) { browser.goTo("http://localhost:3333/admin"); }); Firefox starts and then the test just hangs without navigating to the URL provided. I see only the following console log (INFO) [37minfo [0m] play - datasource [jdbc:db2://url-removed] bound to JNDI as DefaultDS [ [37minfo [0m] o.h.a.c.Version - HCANN000001: Hibernate Commons Annotations {4.0.1.Final} [ [37minfo [0m] o.h.Version - HHH000412: Hibernate Core {4.1.7.Final} [ [37minfo [0m] o.h.c.Environment - HHH000206: hibernate.properties not found [ [37minfo [0m] o.h.c.Environment - HHH000021: Bytecode provider name : javassist [ [37minfo [0m] o.h.d.Dialect - HHH000400: Using dialect: org.hibernate.dialect.DB2Dialect [ [37minfo [0m] o.h.e.j.i.LobCreatorBuilder - HHH000423: Disabling contextual LOB creation as JDBC driver reported JDBC version [3] less than 4 [ [37minfo [0m] o.h.e.t.i.TransactionFactoryInitiator - HHH000268: Transaction strategy: org.hibernate.engine.transaction.internal.jdbc.JdbcTransactionFactory [ [37minfo [0m] o.h.h.i.a.ASTQueryTranslatorFactory - HHH000397: Using ASTQueryTranslatorFactory [ [37minfo [0m] o.h.v.i.u.Version - HV000001: Hibernate Validator 4.3.0.Final [ [37minfo [0m] application - Application has started [ [37minfo [0m] application - DEVELOPMENT The same test runs when I use HTMLUNIT in place of FIREFOX. Any tips would be appreciated. Thanks, Tony Archives Framework Play Framework Apr 10, 2013 Week 15, 2013 MarsHut Page 1/3
  • 2. Fluentlenium Functional tests hang April, 2013 Year 2013 All Answers Answer by Tony Childs on 2013-04-11T13:13:57-04:00 I've now noticed that HTMLUNIT also hangs when I go to /admin/people. I'm wondering if Angular.js has anything to do with it Answer by Max Begenau on 2013-04-11T15:17:11-04:00 Hi Tony, as far as I can see AngularJS has been tested with IE8 and above. The default HtmlUnitDriver browser used by play is Internet Explorer 7(The current trunkof HtmlUnit uses IE8 as default). So yes, problems can arise from JavaScript (also have a look at this blog post I found). I encountered hangs when using HTMLUNIT with my jQuery based application, but in contrast to your case the FIREFOX WebDriver worked flawlessly*. You may try using HTMLUNIT with Firefox browser version. To do so, use: FluentAdapter ff10_browser = new FluentAdapter(new HtmlUnitDriver( BrowserVersion.FIREFOX_10)) *What Firefox version do you use? Selenium tries to install an Add-On to Firefox, but the shipped xpi is not compatible with recent browser. To update, add the following line to your Build.scala: "org.seleniumhq.selenium" % "selenium-java" % "2.31.0", Good luck! Max Answer by Mathilde Rigabert LemeÌ•e on 2013-04-11T16:18:19-04:00 Hi Tony, selenium-java 2.32.0 have been released so same as Max except for the version "org.seleniumhq.selenium" % "selenium-java" % "2.32.0", Does that work ? Mathilde Le jeudi 11 avril 2013 00:55:29 UTC+2, Tony Childs a écrit : Answer by Tony Childs on 2013-04-12T15:13:01-04:00 Turns out that it was a problem with jQuery 1.9.0. We downgraded to 1.8.3 and it seems to be working so far. MarsHut Page 2/3
  • 3. Fluentlenium Functional tests hang Tagged Fluentlenium Functional Tests Hibernate Core Hibernate Validator Public Void Invoke Reported Jdbc Version Related Play Framework 2.1.1 Streaming through Websockets Change DB Application Configuration at Runtime ClassCastException when testing Controller with @Authenticated and Guice How to modify or decorate Http.Request Object Help on debugging compilation errors from macros MyBatis-Guice configuration with Play 2.1 - Mapped Statements collection does not contain value Cannot get FluentLenium browser to goto localhost Deprecated routeAndCall() with random errors. route() produces NullPointerException JPA with multiple persistenceUnit Validate the password and confirmation passwords match View Online http://www.marshut.com/ikqpy/fluentlenium-functional-tests-hang.html MarsHut Page 3/3