|
View:
New views
3 Messages
—
Rating Filter:
Alert me
|
|
|
Webtest under UNIX .... Problems regarding "X11 Display" and firefoxHello folks,
I have configured a very simple webtest on the UNIX
machine.
The access to the machine is via putty! The webtest works generally correct, so I can follow the tests in results/../WebTestReport.xml and all the test steps are successfully done. but how can I
avoid all the error outputs according to firefox and X11 Display?!
Exception in thread "AWT-EventQueue-0"
org.codehaus.groovy.runtime.InvokerInvocationException:
java.lang.RuntimeException: Failed to create compon
ent for 'frame' reason: java.awt.HeadlessException: No X11 DISPLAY variable was set, but this program performed an operation which requires it. And at the end:
java.io.IOException: java.io.IOException: firefox: not found is there anywhere some configuration to say do not
use X11 display and any browser on UNIX?
Many thanks and regards
Jim -------- Commerzbank Aktiengesellschaft, Frankfurt am Main Handelsregister/Commercial Register: Amtsgericht Frankfurt am Main, HRB 32000 Vorsitzender des Aufsichtsrates/Chairman of the Supervisory Board: Klaus-Peter Müller Vorstand/Board of Managing Directors: Martin Blessing (Vorsitzender/Chairman), Frank Annuscheit, Markus Beumer, Achim Kassow, Jochen Kloesges, Michael Reuther, Stefan Schmittmann, Ulrich Sieber, Eric Strutz. -------- |
|
|
Re: Webtest under UNIX .... Problems regarding "X11 Display" and firefoxHi Jimmy,
you can easily set the property: wt.headless=true and it should work for you. mfg Michael Habbert Betbakous, Jimmy schrieb: > Hello folks, > > I have configured a very simple webtest on the UNIX machine. > The access to the machine is via putty! > The webtest works generally correct, so I can follow the tests in > /results/../WebTestReport.xml/ / /and all the test steps are > successfully done. > but how can I avoid all the error outputs according to firefox and X11 > Display?! > > /*Exception in thread "AWT-EventQueue-0" > org.codehaus.groovy.runtime.InvokerInvocationException: > java.lang.RuntimeException: Failed to create compon > ent for 'frame' reason: java.awt.HeadlessException: > No X11 DISPLAY variable was set, but this program performed an operation > which requires it.*/ > > And at the end: > */java.io.IOException: java.io.IOException: firefox: not found/* > > is there anywhere some configuration to say do not use X11 display and > any browser on UNIX? > > Many thanks and regards > Jim > > > > -------- > > Commerzbank Aktiengesellschaft, Frankfurt am Main > > Handelsregister/Commercial Register: Amtsgericht Frankfurt am Main, HRB 32000 > > Vorsitzender des Aufsichtsrates/Chairman of the Supervisory Board: Klaus-Peter Müller > > Vorstand/Board of Managing Directors: Martin Blessing (Vorsitzender/Chairman), Frank Annuscheit, > Markus Beumer, Achim Kassow, Jochen Kloesges, Michael Reuther, Stefan Schmittmann, Ulrich Sieber, Eric Strutz. > > -------- WebTest mailing list WebTest@... http://lists.canoo.com/mailman/listinfo/webtest |
|
|
RE: switch tabs with javascript support ...Thank you so much, Michael. It works now wonderfully with wt.headless=true ;) But I have now another issue, which I am not sure whether it is supported by webtest. (It would be really nice) I have an html page with multiple tabs. I switch the tabs with onclick on the td element, so the onclick invokes a javascript function which does nothings else as manipulate the div style. i.e : div2.style.display='block'; div1.style.display='non'; and so on .. I mean there is no request to send, it is only javascript call. So, do I have any chance to verify this js event and style change? Thank you and many regards Jimmy -----Original Message----- From: webtest-admin@... [mailto:webtest-admin@...] On Behalf Of Michael Habbert Sent: 10 June 2009 18:24 To: webtest@... Subject: Re: [Webtest] Webtest under UNIX .... Problems regarding "X11 Display" and firefox Hi Jimmy, you can easily set the property: wt.headless=true and it should work for you. mfg Michael Habbert Betbakous, Jimmy schrieb: > Hello folks, > > I have configured a very simple webtest on the UNIX machine. > The access to the machine is via putty! > The webtest works generally correct, so I can follow the tests in > /results/../WebTestReport.xml/ / /and all the test steps are > successfully done. > but how can I avoid all the error outputs according to firefox and X11 > Display?! > > /*Exception in thread "AWT-EventQueue-0" > org.codehaus.groovy.runtime.InvokerInvocationException: > java.lang.RuntimeException: Failed to create compon ent for 'frame' > reason: java.awt.HeadlessException: > No X11 DISPLAY variable was set, but this program performed an > operation which requires it.*/ > > And at the end: > */java.io.IOException: java.io.IOException: firefox: not found/* > > is there anywhere some configuration to say do not use X11 display and > any browser on UNIX? > > Many thanks and regards > Jim > > > > -------- > > Commerzbank Aktiengesellschaft, Frankfurt am Main > > Handelsregister/Commercial Register: Amtsgericht Frankfurt am Main, > HRB 32000 > > Vorsitzender des Aufsichtsrates/Chairman of the Supervisory Board: > Klaus-Peter Müller > > Vorstand/Board of Managing Directors: Martin Blessing > (Vorsitzender/Chairman), Frank Annuscheit, Markus Beumer, Achim Kassow, Jochen Kloesges, Michael Reuther, Stefan Schmittmann, Ulrich Sieber, Eric Strutz. > > -------- WebTest mailing list WebTest@... http://lists.canoo.com/mailman/listinfo/webtest -------- Commerzbank Aktiengesellschaft, Frankfurt am Main Handelsregister/Commercial Register: Amtsgericht Frankfurt am Main, HRB 32000 Vorsitzender des Aufsichtsrates/Chairman of the Supervisory Board: Klaus-Peter Müller Vorstand/Board of Managing Directors: Martin Blessing (Vorsitzender/Chairman), Frank Annuscheit, Markus Beumer, Achim Kassow, Jochen Kloesges, Michael Reuther, Stefan Schmittmann, Ulrich Sieber, Eric Strutz. -------- _______________________________________________ WebTest mailing list WebTest@... http://lists.canoo.com/mailman/listinfo/webtest |
| Free embeddable forum powered by Nabble | Forum Help |