SlideShare a Scribd company logo
1 of 3
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

What's hot

Accessing Oracle 11 g on Mac OS (10.7.5) using Oracle Virtual Box
Accessing Oracle 11 g on Mac OS (10.7.5) using Oracle Virtual Box Accessing Oracle 11 g on Mac OS (10.7.5) using Oracle Virtual Box
Accessing Oracle 11 g on Mac OS (10.7.5) using Oracle Virtual Box Tejas Pillai
 
Puppet Camp Berlin 2015: Pedro Pessoa | Puppet at the center of everything - ...
Puppet Camp Berlin 2015: Pedro Pessoa | Puppet at the center of everything - ...Puppet Camp Berlin 2015: Pedro Pessoa | Puppet at the center of everything - ...
Puppet Camp Berlin 2015: Pedro Pessoa | Puppet at the center of everything - ...NETWAYS
 
Integrating open am with liferay portal
Integrating open am with liferay portalIntegrating open am with liferay portal
Integrating open am with liferay portalprabakaranbrick
 
Installing Tomcat on Ubuntu Instance
Installing Tomcat on Ubuntu InstanceInstalling Tomcat on Ubuntu Instance
Installing Tomcat on Ubuntu Instancekamarul kawnayeen
 
Installation of Joomla on Windows XP
Installation of Joomla on Windows XPInstallation of Joomla on Windows XP
Installation of Joomla on Windows XPRupesh Kumar
 
How to install and configure LEMP stack
How to install and configure LEMP stackHow to install and configure LEMP stack
How to install and configure LEMP stackRootGate
 
MuleSoft ESB Testing Mule Application using MUnit Test Suite
MuleSoft ESB Testing Mule Application using MUnit Test SuiteMuleSoft ESB Testing Mule Application using MUnit Test Suite
MuleSoft ESB Testing Mule Application using MUnit Test Suiteakashdprajapati
 

What's hot (13)

Accessing Oracle 11 g on Mac OS (10.7.5) using Oracle Virtual Box
Accessing Oracle 11 g on Mac OS (10.7.5) using Oracle Virtual Box Accessing Oracle 11 g on Mac OS (10.7.5) using Oracle Virtual Box
Accessing Oracle 11 g on Mac OS (10.7.5) using Oracle Virtual Box
 
Play Framework in EC2
Play Framework in EC2Play Framework in EC2
Play Framework in EC2
 
Puppet Camp Berlin 2015: Pedro Pessoa | Puppet at the center of everything - ...
Puppet Camp Berlin 2015: Pedro Pessoa | Puppet at the center of everything - ...Puppet Camp Berlin 2015: Pedro Pessoa | Puppet at the center of everything - ...
Puppet Camp Berlin 2015: Pedro Pessoa | Puppet at the center of everything - ...
 
Integrating open am with liferay portal
Integrating open am with liferay portalIntegrating open am with liferay portal
Integrating open am with liferay portal
 
Easy install
Easy installEasy install
Easy install
 
html
htmlhtml
html
 
Installing Tomcat on Ubuntu Instance
Installing Tomcat on Ubuntu InstanceInstalling Tomcat on Ubuntu Instance
Installing Tomcat on Ubuntu Instance
 
Installation of Joomla on Windows XP
Installation of Joomla on Windows XPInstallation of Joomla on Windows XP
Installation of Joomla on Windows XP
 
How to install and configure LEMP stack
How to install and configure LEMP stackHow to install and configure LEMP stack
How to install and configure LEMP stack
 
Backbase CXP Manager Setup
Backbase CXP Manager SetupBackbase CXP Manager Setup
Backbase CXP Manager Setup
 
BeEF
BeEFBeEF
BeEF
 
MuleSoft ESB Testing Mule Application using MUnit Test Suite
MuleSoft ESB Testing Mule Application using MUnit Test SuiteMuleSoft ESB Testing Mule Application using MUnit Test Suite
MuleSoft ESB Testing Mule Application using MUnit Test Suite
 
pdf
pdfpdf
pdf
 

Viewers also liked (9)

New widget
New widgetNew widget
New widget
 
Presentation
PresentationPresentation
Presentation
 
Case Check
Case CheckCase Check
Case Check
 
format.txt.txt
format.txt.txtformat.txt.txt
format.txt.txt
 
Word- outbound
Word- outboundWord- outbound
Word- outbound
 
Diet Plan.pdf
Diet Plan.pdfDiet Plan.pdf
Diet Plan.pdf
 
slide post
slide postslide post
slide post
 
Test Title
Test TitleTest Title
Test Title
 
Outbound slide post - Second one
Outbound slide post - Second oneOutbound slide post - Second one
Outbound slide post - Second one
 

Similar to Fluentlenium Functional tests hang.pdf

Fluentlenium Functional tests hang.pdf
Fluentlenium Functional tests hang.pdfFluentlenium Functional tests hang.pdf
Fluentlenium Functional tests hang.pdfRoopa slideshare
 
The moment my site got hacked - WordCamp Sofia
The moment my site got hacked - WordCamp SofiaThe moment my site got hacked - WordCamp Sofia
The moment my site got hacked - WordCamp SofiaMarko Heijnen
 
夜宴42期《Gadgets》
夜宴42期《Gadgets》夜宴42期《Gadgets》
夜宴42期《Gadgets》Koubei Banquet
 
Creating Openbravo Workspace Widgets
Creating Openbravo Workspace WidgetsCreating Openbravo Workspace Widgets
Creating Openbravo Workspace WidgetsRob Goris
 
Selenium Automation in Java Using HttpWatch Plug-in
 Selenium Automation in Java Using HttpWatch Plug-in  Selenium Automation in Java Using HttpWatch Plug-in
Selenium Automation in Java Using HttpWatch Plug-in Sandeep Tol
 
The Rich Standard: Getting Familiar with HTML5
The Rich Standard: Getting Familiar with HTML5The Rich Standard: Getting Familiar with HTML5
The Rich Standard: Getting Familiar with HTML5Todd Anglin
 
Using HttpWatch Plug-in with Selenium Automation in Java
Using HttpWatch Plug-in with Selenium Automation in JavaUsing HttpWatch Plug-in with Selenium Automation in Java
Using HttpWatch Plug-in with Selenium Automation in JavaSandeep Tol
 
1 Web Page Foundations Overview This lab walk.docx
1  Web Page Foundations Overview This lab walk.docx1  Web Page Foundations Overview This lab walk.docx
1 Web Page Foundations Overview This lab walk.docxhoney725342
 
Watir Presentation Sumanth Krishna. A
Watir Presentation   Sumanth Krishna. AWatir Presentation   Sumanth Krishna. A
Watir Presentation Sumanth Krishna. ASumanth krishna
 
WordPress basic fundamental of plugin development and creating shortcode
WordPress basic fundamental of plugin development and creating shortcodeWordPress basic fundamental of plugin development and creating shortcode
WordPress basic fundamental of plugin development and creating shortcodeRakesh Kushwaha
 
Oracle WebLogic: Feature Timeline from WLS9 to WLS 12c
Oracle WebLogic: Feature Timeline from WLS9 to WLS 12cOracle WebLogic: Feature Timeline from WLS9 to WLS 12c
Oracle WebLogic: Feature Timeline from WLS9 to WLS 12cfrankmunz
 
Selenium & PHPUnit made easy with Steward (Berlin, April 2017)
Selenium & PHPUnit made easy with Steward (Berlin, April 2017)Selenium & PHPUnit made easy with Steward (Berlin, April 2017)
Selenium & PHPUnit made easy with Steward (Berlin, April 2017)Ondřej Machulda
 
Selenium Automation Using Ruby
Selenium Automation Using RubySelenium Automation Using Ruby
Selenium Automation Using RubyKumari Warsha Goel
 
Android Performance #4: Network
Android Performance #4: NetworkAndroid Performance #4: Network
Android Performance #4: NetworkYonatan Levin
 
How to install share point 2010
How to install share point 2010How to install share point 2010
How to install share point 2010moorthiameks
 
Selenium Ide Tutorial
Selenium Ide TutorialSelenium Ide Tutorial
Selenium Ide Tutorialmetapix
 
Mastering selenium for automated acceptance tests
Mastering selenium for automated acceptance testsMastering selenium for automated acceptance tests
Mastering selenium for automated acceptance testsNick Belhomme
 
Owasp AppSecEU 2015 - BeEF Session
Owasp AppSecEU 2015 - BeEF SessionOwasp AppSecEU 2015 - BeEF Session
Owasp AppSecEU 2015 - BeEF SessionBart Leppens
 

Similar to Fluentlenium Functional tests hang.pdf (20)

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

More from Bhavani Testone

More from Bhavani Testone (20)

good one cloning the message
good one 
cloning the messagegood one 
cloning the message
good one cloning the message
 
notification
notificationnotification
notification
 
without CF
without CFwithout CF
without CF
 
03DOM.ppt
03DOM.ppt03DOM.ppt
03DOM.ppt
 
Empty:d-1:05
Empty:d-1:05Empty:d-1:05
Empty:d-1:05
 
Std10-Maths-EM-1.pdf
Std10-Maths-EM-1.pdfStd10-Maths-EM-1.pdf
Std10-Maths-EM-1.pdf
 
http---cdata.nqa.sprinklr.com-DAM-5-2010blast-100530124747-Blast-cc20d154-5e0...
http---cdata.nqa.sprinklr.com-DAM-5-2010blast-100530124747-Blast-cc20d154-5e0...http---cdata.nqa.sprinklr.com-DAM-5-2010blast-100530124747-Blast-cc20d154-5e0...
http---cdata.nqa.sprinklr.com-DAM-5-2010blast-100530124747-Blast-cc20d154-5e0...
 
Tales-29th
Tales-29thTales-29th
Tales-29th
 
New text document-29th
New text document-29thNew text document-29th
New text document-29th
 
uPoGPpb.ppt
uPoGPpb.pptuPoGPpb.ppt
uPoGPpb.ppt
 
Reporting & Analytics.pdf
Reporting & Analytics.pdfReporting & Analytics.pdf
Reporting & Analytics.pdf
 
Tales
TalesTales
Tales
 
Puzzles to puzzle you
Puzzles to puzzle youPuzzles to puzzle you
Puzzles to puzzle you
 
New text document
New text documentNew text document
New text document
 
1
11
1
 
1.txt
1.txt1.txt
1.txt
 
http---cdata.nqa.sprinklr.com-DAM-5-2010blast-100530124747-Blast-cc20d154-5e0...
http---cdata.nqa.sprinklr.com-DAM-5-2010blast-100530124747-Blast-cc20d154-5e0...http---cdata.nqa.sprinklr.com-DAM-5-2010blast-100530124747-Blast-cc20d154-5e0...
http---cdata.nqa.sprinklr.com-DAM-5-2010blast-100530124747-Blast-cc20d154-5e0...
 
Presentation_NEW.PPTX
Presentation_NEW.PPTXPresentation_NEW.PPTX
Presentation_NEW.PPTX
 
HTML_Basics.pdf
HTML_Basics.pdfHTML_Basics.pdf
HTML_Basics.pdf
 
Presentation_NEW.PPTX
Presentation_NEW.PPTXPresentation_NEW.PPTX
Presentation_NEW.PPTX
 

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