tag. Use one of the methods described under "Finding a specific
element" at this page: http://htmlunit.sourceforge.net/gettingStarted.html.
I generally find myself needing xpath sooner or later.
smoyer
On Nov 6, 4:45 am, Ray Tayek <rta...@ca.rr.com> wrote:
> hi, i am trying to use htmlunit to test the greeting service that
> gets generated in eclipse when you make a new web application project.
>
> i am trying to find the send button in the project.
>
> i tried some of the suggestions athttp://htmlunit.sourceforge.net/faq.html#AJAXDoesNotWork, but all of
> my tests fail (please see below)
>
> i can not find any buttons and some tests get a bunch of css warnings.
>
> if i run this test on the real app that i want to test i get similar
> results with *no* warnings. this real app uses htmlunit 2.8, while
> the greet service uses whatever came with gwt 2.1. so i am sorta confused.
>
> what should i try next?
>
> any pointers will be appreciated.
>
> thanks
>
> package p;
>
> import org.junit.*;
> import static org.junit.Assert.*;
> import com.gargoylesoftware.htmlunit.*;
> import com.gargoylesoftware.htmlunit.html.*;
>
> public class SimpleTestCase {
>
> @Test public void testVanilla() throws Exception {
> System.out.println("testVanilla");
> final WebClient webClient = new WebClient();
> final HtmlPage page =
> webClient.getPage("http://127.0.0.1:8888/Reasx.html?gwt.codesvr=127.0.0.1:9997");
> final DomNodeList<HtmlElement> buttons = page.getElementsByTagName("button");
> assertTrue(buttons.size() > 0);
>
> }
>
> @Test public void testNicelyResynchronizingAjaxController() throws Exception {
> System.out.println("testNicelyResynchronizingAjaxController");
> final WebClient webClient = new WebClient();
> webClient.setAjaxController(new NicelyResynchronizingAjaxController());
> final HtmlPage page =
> webClient.getPage("http://127.0.0.1:8888/Reasx.html?gwt.codesvr=127.0.0.1:9997");
> final DomNodeList<HtmlElement> buttons = page.getElementsByTagName("button");
> assertTrue(buttons.size() > 0);
>
> }
>
> @Test public void testwaitForBackgroundJavaScript() throws Exception {
> System.out.println("testwaitForBackgroundJavaScript");
> final WebClient webClient = new WebClient();
> final HtmlPage page =
> webClient.getPage("http://127.0.0.1:8888/Reasx.html?gwt.codesvr=127.0.0.1:9997");
> webClient.waitForBackgroundJavaScript(10000);
> final DomNodeList<HtmlElement> buttons = page.getElementsByTagName("button");
> assertTrue(buttons.size() > 0);}
>
> @Test public void testwaitForBackgroundJavaScriptStartingBefore()
> throws Exception {
> System.out.println("testwaitForBackgroundJavaScriptStartingBefore");
> final WebClient webClient = new WebClient();
> final HtmlPage page =
> webClient.getPage("http://127.0.0.1:8888/Reasx.html?gwt.codesvr=127.0.0.1:9997");
> webClient.waitForBackgroundJavaScript(10000);
> final DomNodeList<HtmlElement> buttons = page.getElementsByTagName("button");
> assertTrue(buttons.size() > 0);
>
> }
>
> @Test public void testWait() throws Exception {
> System.out.println("testWait");
> final WebClient webClient = new WebClient();
> final HtmlPage page =
> webClient.getPage("http://127.0.0.1:8888/Reasx.html?gwt.codesvr=127.0.0.1:9997");
> Thread.sleep(10000);
> final DomNodeList<HtmlElement> buttons = page.getElementsByTagName("button");
> assertTrue(buttons.size() > 0);
>
> }
>
> @Test public void testWaitForCondition() throws Exception {
> final WebClient webClient = new WebClient();
> final HtmlPage page =
> webClient.getPage("http://127.0.0.1:8888/Reasx.html?gwt.codesvr=127.0.0.1:9997");
> DomNodeList<HtmlElement> buttons = page.getElementsByTagName("button");
> for (int i = 0; i < 20; i++) {
> buttons = page.getElementsByTagName("button");
> System.out.println(buttons.size());
> if (buttons.size() > 0) {
> break;}
>
> synchronized (page) {
> page.wait(1000);}
> }
>
> assertTrue(buttons.size() > 0);
>
> }
> }
>
> //console output
>
> testVanilla
> Nov 5, 2010 3:23:10 PM
> com.gargoylesoftware.htmlunit.IncorrectnessListenerImpl notify
> WARNING: Expected content type of 'application/javascript' or
> 'application/ecmascript' for remotely loaded JavaScript element at
> 'http://127.0.0.1:8888/reasx/reasx.nocache.js', but got
> 'application/x-javascript'.
> testNicelyResynchronizingAjaxController
> Nov 5, 2010 3:23:10 PM
> com.gargoylesoftware.htmlunit.IncorrectnessListenerImpl notify
> WARNING: Expected content type of 'application/javascript' or
> 'application/ecmascript' for remotely loaded JavaScript element at
> 'http://127.0.0.1:8888/reasx/reasx.nocache.js', but got
> 'application/x-javascript'.
> testwaitForBackgroundJavaScript
> Nov 5, 2010 3:23:10 PM
> com.gargoylesoftware.htmlunit.IncorrectnessListenerImpl notify
> WARNING: Expected content type of 'application/javascript' or
> 'application/ecmascript' for remotely loaded JavaScript element at
> 'http://127.0.0.1:8888/reasx/reasx.nocache.js', but got
> 'application/x-javascript'.
> Nov 5, 2010 3:23:10 PM
> com.gargoylesoftware.htmlunit.DefaultCssErrorHandler error
> WARNING: CSS error: null [488:24] Error in expression. Invalid token
> "=". Was expecting one of: <S>, <COMMA>, "/", <PLUS>, "-", <HASH>,
> <STRING>, ")", <URI>, "inherit", <EMS>, <EXS>, <LENGTH_PX>,
> <LENGTH_CM>, <LENGTH_MM>, <LENGTH_IN>, <LENGTH_PT>, <LENGTH_PC>,
> <ANGLE_DEG>, <ANGLE_RAD>, <ANGLE_GRAD>, <TIME_MS>, <TIME_S>,
> <FREQ_HZ>, <FREQ_KHZ>, <DIMENSION>, <PERCENTAGE>, <NUMBER>,
> <FUNCTION>, <IDENT>.
> Nov 5, 2010 3:23:10 PM
> com.gargoylesoftware.htmlunit.DefaultCssErrorHandler error
> WARNING: CSS error: null [488:29] Error in style rule. Invalid token
> "\n". Was expecting one of: "}", ";".
> Nov 5, 2010 3:23:10 PM
> com.gargoylesoftware.htmlunit.DefaultCssErrorHandler warning
> WARNING: CSS warning: null [488:29] Ignoring the following
> declarations in this rule.
> Nov 5, 2010 3:23:10 PM
> com.gargoylesoftware.htmlunit.DefaultCssErrorHandler error
> WARNING: CSS error: null [521:24] Error in expression. Invalid token
> "=". Was expecting one of: <S>, <COMMA>, "/", <PLUS>, "-", <HASH>,
> <STRING>, ")", <URI>, "inherit", <EMS>, <EXS>, <LENGTH_PX>,
> <LENGTH_CM>, <LENGTH_MM>, <LENGTH_IN>, <LENGTH_PT>, <LENGTH_PC>,
> <ANGLE_DEG>, <ANGLE_RAD>, <ANGLE_GRAD>, <TIME_MS>, <TIME_S>,
> <FREQ_HZ>, <FREQ_KHZ>, <DIMENSION>, <PERCENTAGE>, <NUMBER>,
> <FUNCTION>, <IDENT>.
> Nov 5, 2010 3:23:10 PM
> com.gargoylesoftware.htmlunit.DefaultCssErrorHandler error
> WARNING: CSS error: null [488:24] Error in expression. Invalid token
> "=". Was expecting one of: <S>, <COMMA>, "/", <PLUS>, "-", <HASH>,
> <STRING>, ")", <URI>, "inherit", <EMS>, <EXS>, <LENGTH_PX>,
> <LENGTH_CM>, <LENGTH_MM>, <LENGTH_IN>, <LENGTH_PT>, <LENGTH_PC>,
> <ANGLE_DEG>, <ANGLE_RAD>, <ANGLE_GRAD>, <TIME_MS>, <TIME_S>,
> <FREQ_HZ>, <FREQ_KHZ>, <DIMENSION>, <PERCENTAGE>, <NUMBER>,
> <FUNCTION>, <IDENT>.
> Nov 5, 2010 3:23:10 PM
> com.gargoylesoftware.htmlunit.DefaultCssErrorHandler error
> WARNING: CSS error: null [488:29] Error in style rule. Invalid token
> "\n". Was expecting one of: "}", ";".
> Nov 5, 2010 3:23:10 PM
> com.gargoylesoftware.htmlunit.DefaultCssErrorHandler warning
> WARNING: CSS warning: null [488:29] Ignoring the following
> declarations in this rule.
> Nov 5, 2010 3:23:10 PM
> com.gargoylesoftware.htmlunit.DefaultCssErrorHandler error
> WARNING: CSS error: null [521:24] Error in expression. Invalid token
> "=". Was expecting one of: <S>, <COMMA>, "/", <PLUS>, "-", <HASH>,
> <STRING>, ")", <URI>, "inherit", <EMS>, <EXS>, <LENGTH_PX>,
> <LENGTH_CM>, <LENGTH_MM>, <LENGTH_IN>, <LENGTH_PT>, <LENGTH_PC>,
> <ANGLE_DEG>, <ANGLE_RAD>, <ANGLE_GRAD>, <TIME_MS>, <TIME_S>,
> <FREQ_HZ>, <FREQ_KHZ>, <DIMENSION>, <PERCENTAGE>, <NUMBER>,
> <FUNCTION>, <IDENT>.
> Nov 5, 2010 3:23:10 PM
> com.gargoylesoftware.htmlunit.DefaultCssErrorHandler error
> WARNING: CSS error: null [521:29] Error in style rule. Invalid token
> "\n ". Was expecting one of: "}", ";".
> Nov 5, 2010 3:23:10 PM
> com.gargoylesoftware.htmlunit.DefaultCssErrorHandler warning
> WARNING: CSS warning: null [521:29] Ignoring the following
> declarations in this rule.
> Nov 5, 2010 3:23:10 PM
> com.gargoylesoftware.htmlunit.DefaultCssErrorHandler error
> WARNING: CSS error: null [544:24] Error in expression. Invalid token
> "=". Was expecting one of: <S>, <COMMA>, "/", <PLUS>, "-", <HASH>,
> <STRING>, ")", <URI>, "inherit", <EMS>, <EXS>, <LENGTH_PX>,
> <LENGTH_CM>, <LENGTH_MM>, <LENGTH_IN>, <LENGTH_PT>, <LENGTH_PC>,
> <ANGLE_DEG>, <ANGLE_RAD>, <ANGLE_GRAD>, <TIME_MS>, <TIME_S>,
> <FREQ_HZ>, <FREQ_KHZ>, <DIMENSION>, <PERCENTAGE>, <NUMBER>,
> <FUNCTION>, <IDENT>.
> Nov 5, 2010 3:23:10 PM
> com.gargoylesoftware.htmlunit.DefaultCssErrorHandler error
> WARNING: CSS error: null [544:29] Error in style rule. Invalid token
> "\n ". Was expecting one of: "}", ";".
> Nov 5, 2010 3:23:10 PM
> com.gargoylesoftware.htmlunit.DefaultCssErrorHandler warning
> WARNING: CSS warning: null [544:29] Ignoring the following
> declarations in this rule.
> Nov 5, 2010 3:23:10 PM
> com.gargoylesoftware.htmlunit.DefaultCssErrorHandler error
> WARNING: CSS error: null [488:24] Error in expression. Invalid token
> "=". Was expecting one of: <S>, <COMMA>, "/", <PLUS>, "-", <HASH>,
> <STRING>, ")", <URI>, "inherit", <EMS>, <EXS>, <LENGTH_PX>,
> <LENGTH_CM>, <LENGTH_MM>, <LENGTH_IN>, <LENGTH_PT>, <LENGTH_PC>,
> <ANGLE_DEG>, <ANGLE_RAD>, <ANGLE_GRAD>, <TIME_MS>, <TIME_S>,
> <FREQ_HZ>, <FREQ_KHZ>, <DIMENSION>, <PERCENTAGE>, <NUMBER>,
> <FUNCTION>, <IDENT>.
> Nov 5, 2010 3:23:10 PM
> com.gargoylesoftware.htmlunit.DefaultCssErrorHandler error
> WARNING: CSS error: null [488:29] Error in style rule. Invalid token
> "\n". Was expecting one of: "}", ";".
> Nov 5, 2010 3:23:10 PM
> com.gargoylesoftware.htmlunit.DefaultCssErrorHandler warning
> WARNING: CSS warning: null [488:29] Ignoring the following
> declarations in this rule.
> Nov 5, 2010 3:23:10 PM
> com.gargoylesoftware.htmlunit.DefaultCssErrorHandler error
> WARNING: CSS error: null [521:24] Error in expression. Invalid token
> "=". Was expecting one of: <S>, <COMMA>, "/", <PLUS>, "-", <HASH>,
> <STRING>, ")", <URI>, "inherit", <EMS>, <EXS>, <LENGTH_PX>,
> <LENGTH_CM>, <LENGTH_MM>, <LENGTH_IN>, <LENGTH_PT>, <LENGTH_PC>,
> <ANGLE_DEG>, <ANGLE_RAD>, <ANGLE_GRAD>, <TIME_MS>, <TIME_S>,
> <FREQ_HZ>, <FREQ_KHZ>, <DIMENSION>, <PERCENTAGE>, <NUMBER>,
> <FUNCTION>, <IDENT>.
> Nov 5, 2010 3:23:10 PM
> com.gargoylesoftware.htmlunit.DefaultCssErrorHandler error
> WARNING: CSS error: null [521:29] Error in style rule. Invalid token
> "\n ". Was expecting one of: "}", ";".
> Nov 5, 2010 3:23:10 PM
> com.gargoylesoftware.htmlunit.DefaultCssErrorHandler warning
> WARNING: CSS warning: null [521:29] Ignoring the following
> declarations in this rule.
> Nov 5, 2010 3:23:10 PM
> com.gargoylesoftware.htmlunit.DefaultCssErrorHandler error
> WARNING: CSS error: null [544:24] Error in expression. Invalid token
> "=". Was expecting one of: <S>, <COMMA>, "/", <PLUS>, "-", <HASH>,
> <STRING>, ")", <URI>, "inherit", <EMS>, <EXS>, <LENGTH_PX>,
> <LENGTH_CM>, <LENGTH_MM>, <LENGTH_IN>, <LENGTH_PT>, <LENGTH_PC>,
> <ANGLE_DEG>, <ANGLE_RAD>, <ANGLE_GRAD>, <TIME_MS>, <TIME_S>,
> <FREQ_HZ>, <FREQ_KHZ>, <DIMENSION>, <PERCENTAGE>, <NUMBER>,
> <FUNCTION>, <IDENT>.
> Nov 5, 2010 3:23:10 PM
> com.gargoylesoftware.htmlunit.DefaultCssErrorHandler error
> WARNING: CSS error: null [544:29] Error in style rule. Invalid token
> "\n ". Was expecting one of: "}", ";".
> Nov 5, 2010 3:23:10 PM
> com.gargoylesoftware.htmlunit.DefaultCssErrorHandler warning
> WARNING: CSS warning: null [544:29] Ignoring the following
> declarations in this rule.
> Nov 5, 2010 3:23:10 PM
> com.gargoylesoftware.htmlunit.DefaultCssErrorHandler error
> WARNING: CSS error: null [954:24] Error in expression. Invalid token
> "=". Was expecting one of: <S>, <COMMA>, "/", <PLUS>, "-", <HASH>,
> <STRING>, ")", <URI>, "inherit", <EMS>, <EXS>, <LENGTH_PX>,
> <LENGTH_CM>, <LENGTH_MM>, <LENGTH_IN>, <LENGTH_PT>, <LENGTH_PC>,
> <ANGLE_DEG>, <ANGLE_RAD>, <ANGLE_GRAD>, <TIME_MS>, <TIME_S>,
> <FREQ_HZ>, <FREQ_KHZ>, <DIMENSION>, <PERCENTAGE>, <NUMBER>,
> <FUNCTION>, <IDENT>.
> Nov 5, 2010 3:23:10 PM
> com.gargoylesoftware.htmlunit.DefaultCssErrorHandler error
> WARNING: CSS error: null [954:29] Error in style rule. Invalid token
> "\n". Was expecting one of: "}", ";".
> Nov 5, 2010 3:23:10 PM
> com.gargoylesoftware.htmlunit.DefaultCssErrorHandler error
> WARNING: CSS error: null [521:29] Error in style rule. Invalid token
> "\n ". Was expecting one of: "}", ";".
> Nov 5, 2010 3:23:10 PM
> com.gargoylesoftware.htmlunit.DefaultCssErrorHandler warning
> WARNING: CSS warning: null [954:29] Ignoring the following
> declarations in this rule.
> Nov 5, 2010 3:23:10 PM
> com.gargoylesoftware.htmlunit.DefaultCssErrorHandler warning
> WARNING: CSS warning: null [521:29] Ignoring the following
> declarations in this rule.
> Nov 5, 2010 3:23:10 PM
> com.gargoylesoftware.htmlunit.DefaultCssErrorHandler error
> WARNING: CSS error: null [980:24] Error in expression. Invalid token
> "=". Was expecting one of: <S>, <COMMA>, "/", <PLUS>, "-", <HASH>,
> <STRING>, ")", <URI>, "inherit", <EMS>, <EXS>, <LENGTH_PX>,
> <LENGTH_CM>, <LENGTH_MM>, <LENGTH_IN>, <LENGTH_PT>, <LENGTH_PC>,
> <ANGLE_DEG>, <ANGLE_RAD>, <ANGLE_GRAD>, <TIME_MS>, <TIME_S>,
> <FREQ_HZ>, <FREQ_KHZ>, <DIMENSION>, <PERCENTAGE>, <NUMBER>,
> <FUNCTION>, <IDENT>.
> Nov 5, 2010 3:23:10 PM
> com.gargoylesoftware.htmlunit.DefaultCssErrorHandler error
> WARNING: CSS error: null [980:29] Error in style rule. Invalid token
> "\n". Was expecting one of: "}", ";".
> Nov 5, 2010 3:23:10 PM
> com.gargoylesoftware.htmlunit.DefaultCssErrorHandler error
> WARNING: CSS error: null [544:24] Error in expression. Invalid token
> "=". Was expecting one of: <S>, <COMMA>, "/", <PLUS>, "-", <HASH>,
> <STRING>, ")", <URI>, "inherit", <EMS>, <EXS>, <LENGTH_PX>,
> <LENGTH_CM>, <LENGTH_MM>, <LENGTH_IN>, <LENGTH_PT>, <LENGTH_PC>,
> <ANGLE_DEG>, <ANGLE_RAD>, <ANGLE_GRAD>, <TIME_MS>, <TIME_S>,
> <FREQ_HZ>, <FREQ_KHZ>, <DIMENSION>, <PERCENTAGE>, <NUMBER>,
> <FUNCTION>, <IDENT>.
> Nov 5, 2010 3:23:10 PM
> com.gargoylesoftware.htmlunit.DefaultCssErrorHandler warning
> WARNING: CSS warning: null [980:29] Ignoring the following
> declarations in this rule.
> Nov 5, 2010 3:23:11 PM
> com.gargoylesoftware.htmlunit.DefaultCssErrorHandler error
> WARNING: CSS error: null [954:24] Error in expression. Invalid token
> "=". Was expecting one of: <S>, <COMMA>, "/", <PLUS>, "-", <HASH>,
> <STRING>, ")", <URI>, "inherit", <EMS>, <EXS>, <LENGTH_PX>,
> <LENGTH_CM>, <LENGTH_MM>, <LENGTH_IN>, <LENGTH_PT>, <LENGTH_PC>,
> <ANGLE_DEG>, <ANGLE_RAD>, <ANGLE_GRAD>, <TIME_MS>, <TIME_S>,
> <FREQ_HZ>, <FREQ_KHZ>, <DIMENSION>, <PERCENTAGE>, <NUMBER>,
> <FUNCTION>, <IDENT>.
> Nov 5, 2010 3:23:11 PM
> com.gargoylesoftware.htmlunit.DefaultCssErrorHandler error
> WARNING: CSS error: null [954:29] Error in style rule. Invalid token
> "\n". Was expecting one of: "}", ";".
> Nov 5, 2010 3:23:11 PM
> com.gargoylesoftware.htmlunit.DefaultCssErrorHandler warning
> WARNING: CSS warning: null [954:29] Ignoring the following
> declarations in this rule.
> Nov 5, 2010 3:23:10 PM
> com.gargoylesoftware.htmlunit.DefaultCssErrorHandler error
> WARNING: CSS error: null [544:29] Error in style rule. Invalid token
> "\n ". Was expecting one of: "}", ";".
> Nov 5, 2010 3:23:11 PM
> com.gargoylesoftware.htmlunit.DefaultCssErrorHandler warning
> WARNING: CSS warning: null [544:29] Ignoring the following
> declarations in this rule.
> Nov 5, 2010 3:23:11 PM
> com.gargoylesoftware.htmlunit.DefaultCssErrorHandler error
> WARNING: CSS error: null [980:24] Error in expression. Invalid token
> "=". Was expecting one of: <S>, <COMMA>, "/", <PLUS>, "-", <HASH>,
> <STRING>, ")", <URI>, "inherit", <EMS>, <EXS>, <LENGTH_PX>,
> <LENGTH_CM>, <LENGTH_MM>, <LENGTH_IN>, <LENGTH_PT>, <LENGTH_PC>,
> <ANGLE_DEG>, <ANGLE_RAD>, <ANGLE_GRAD>, <TIME_MS>, <TIME_S>,
> <FREQ_HZ>, <FREQ_KHZ>, <DIMENSION>, <PERCENTAGE>, <NUMBER>,
> <FUNCTION>, <IDENT>.
> Nov 5, 2010 3:23:11 PM
> com.gargoylesoftware.htmlunit.DefaultCssErrorHandler error
> WARNING: CSS error: null [980:29] Error in style rule. Invalid token
> "\n". Was expecting one of: "}", ";".
> Nov 5, 2010 3:23:11 PM
> com.gargoylesoftware.htmlunit.DefaultCssErrorHandler warning
> WARNING: CSS warning: null [980:29] Ignoring the following
> declarations in this rule.
> Nov 5, 2010 3:23:11 PM
> com.gargoylesoftware.htmlunit.DefaultCssErrorHandler error
> WARNING: CSS error: null [954:24] Error in expression. Invalid token
> "=". Was expecting one of: <S>, <COMMA>, "/", <PLUS>, "-", <HASH>,
> <STRING>, ")", <URI>, "inherit", <EMS>, <EXS>, <LENGTH_PX>,
> <LENGTH_CM>, <LENGTH_MM>, <LENGTH_IN>, <LENGTH_PT>, <LENGTH_PC>,
> <ANGLE_DEG>, <ANGLE_RAD>, <ANGLE_GRAD>, <TIME_MS>, <TIME_S>,
> <FREQ_HZ>, <FREQ_KHZ>, <DIMENSION>, <PERCENTAGE>, <NUMBER>,
> <FUNCTION>, <IDENT>.
> Nov 5, 2010 3:23:11 PM
> com.gargoylesoftware.htmlunit.DefaultCssErrorHandler error
> WARNING: CSS error: null [954:29] Error in style rule. Invalid token
> "\n". Was expecting one of: "}", ";".
> Nov 5, 2010 3:23:11 PM
> com.gargoylesoftware.htmlunit.DefaultCssErrorHandler warning
> WARNING: CSS warning: null [954:29] Ignoring the following
> declarations in this rule.
> Nov 5, 2010 3:23:11 PM
> com.gargoylesoftware.htmlunit.DefaultCssErrorHandler error
> WARNING: CSS error: null [980:24] Error in expression. Invalid token
> "=". Was expecting one of: <S>, <COMMA>, "/", <PLUS>, "-", <HASH>,
> <STRING>, ")", <URI>, "inherit", <EMS>, <EXS>, <LENGTH_PX>,
> <LENGTH_CM>, <LENGTH_MM>, <LENGTH_IN>, <LENGTH_PT>, <LENGTH_PC>,
> <ANGLE_DEG>, <ANGLE_RAD>, <ANGLE_GRAD>, <TIME_MS>, <TIME_S>,
> <FREQ_HZ>, <FREQ_KHZ>, <DIMENSION>, <PERCENTAGE>, <NUMBER>,
> <FUNCTION>, <IDENT>.
> Nov 5, 2010 3:23:11 PM
> com.gargoylesoftware.htmlunit.DefaultCssErrorHandler error
> WARNING: CSS error: null [980:29] Error in style rule. Invalid token
> "\n". Was expecting one of: "}", ";".
> Nov 5, 2010 3:23:11 PM
> com.gargoylesoftware.htmlunit.DefaultCssErrorHandler warning
> WARNING: CSS warning: null [980:29] Ignoring the following
> declarations in this rule.
> testwaitForBackgroundJavaScriptStartingBefore
> Nov 5, 2010 3:23:11 PM
> com.gargoylesoftware.htmlunit.IncorrectnessListenerImpl notify
> WARNING: Expected content type of 'application/javascript' or
> 'application/ecmascript' for remotely loaded JavaScript element at
> 'http://127.0.0.1:8888/reasx/reasx.nocache.js', but got
> 'application/x-javascript'.
> Nov 5, 2010 3:23:11 PM
> com.gargoylesoftware.htmlunit.DefaultCssErrorHandler error
> WARNING: CSS error: null [488:24] Error in expression. Invalid token
> "=". Was expecting one of: <S>, <COMMA>, "/", <PLUS>, "-", <HASH>,
> <STRING>, ")", <URI>, "inherit", <EMS>, <EXS>, <LENGTH_PX>,
> <LENGTH_CM>, <LENGTH_MM>, <LENGTH_IN>, <LENGTH_PT>, <LENGTH_PC>,
> <ANGLE_DEG>, <ANGLE_RAD>, <ANGLE_GRAD>, <TIME_MS>, <TIME_S>,
> <FREQ_HZ>, <FREQ_KHZ>, <DIMENSION>, <PERCENTAGE>, <NUMBER>,
> <FUNCTION>, <IDENT>.
> Nov 5, 2010 3:23:11 PM
> com.gargoylesoftware.htmlunit.DefaultCssErrorHandler error
> WARNING: CSS error: null [488:29] Error in style rule. Invalid token
> "\n". Was expecting one of: "}", ";".
> Nov 5, 2010 3:23:11 PM
> com.gargoylesoftware.htmlunit.DefaultCssErrorHandler warning
> WARNING: CSS warning: null [488:29] Ignoring the following
> declarations in this rule.
> Nov 5, 2010 3:23:11 PM
> com.gargoylesoftware.htmlunit.DefaultCssErrorHandler error
> WARNING: CSS error: null [521:24] Error in expression. Invalid token
> "=". Was expecting one of: <S>, <COMMA>, "/", <PLUS>, "-", <HASH>,
> <STRING>, ")", <URI>, "inherit", <EMS>, <EXS>, <LENGTH_PX>,
> <LENGTH_CM>, <LENGTH_MM>, <LENGTH_IN>, <LENGTH_PT>, <LENGTH_PC>,
> <ANGLE_DEG>, <ANGLE_RAD>, <ANGLE_GRAD>, <TIME_MS>, <TIME_S>,
> <FREQ_HZ>, <FREQ_KHZ>, <DIMENSION>, <PERCENTAGE>, <NUMBER>,
> <FUNCTION>, <IDENT>.
> Nov 5, 2010 3:23:11 PM
> com.gargoylesoftware.htmlunit.DefaultCssErrorHandler error
> WARNING: CSS error: null [521:29] Error in style rule. Invalid token
> "\n ". Was expecting one of: "}", ";".
> Nov 5, 2010 3:23:11 PM
> com.gargoylesoftware.htmlunit.DefaultCssErrorHandler warning
> WARNING: CSS warning: null [521:29] Ignoring the following
> declarations in this rule.
> Nov 5, 2010 3:23:11 PM
> com.gargoylesoftware.htmlunit.DefaultCssErrorHandler error
> WARNING: CSS error: null [544:24] Error in expression. Invalid token
> "=". Was expecting one of: <S>, <COMMA>, "/", <PLUS>, "-", <HASH>,
> <STRING>, ")", <URI>, "inherit", <EMS>, <EXS>, <LENGTH_PX>,
> <LENGTH_CM>, <LENGTH_MM>, <LENGTH_IN>, <LENGTH_PT>, <LENGTH_PC>,
> <ANGLE_DEG>, <ANGLE_RAD>, <ANGLE_GRAD>, <TIME_MS>, <TIME_S>,
> <FREQ_HZ>, <FREQ_KHZ>, <DIMENSION>, <PERCENTAGE>, <NUMBER>,
> <FUNCTION>, <IDENT>.
> Nov 5, 2010 3:23:11 PM
> com.gargoylesoftware.htmlunit.DefaultCssErrorHandler error
> WARNING: CSS error: null [544:29] Error in style rule. Invalid token
> "\n ". Was expecting one of: "}", ";".
> Nov 5, 2010 3:23:11 PM
> com.gargoylesoftware.htmlunit.DefaultCssErrorHandler warning
> WARNING: CSS warning: null [544:29] Ignoring the following
> declarations in this rule.
> Nov 5, 2010 3:23:11 PM
> com.gargoylesoftware.htmlunit.DefaultCssErrorHandler error
> WARNING: CSS error: null [954:24] Error in expression. Invalid token
> "=". Was expecting one of: <S>, <COMMA>, "/", <PLUS>, "-", <HASH>,
> <STRING>, ")", <URI>, "inherit", <EMS>, <EXS>, <LENGTH_PX>,
> <LENGTH_CM>, <LENGTH_MM>, <LENGTH_IN>, <LENGTH_PT>, <LENGTH_PC>,
> <ANGLE_DEG>, <ANGLE_RAD>, <ANGLE_GRAD>, <TIME_MS>, <TIME_S>,
> <FREQ_HZ>, <FREQ_KHZ>, <DIMENSION>, <PERCENTAGE>, <NUMBER>,
> <FUNCTION>, <IDENT>.
> Nov 5, 2010 3:23:11 PM
> com.gargoylesoftware.htmlunit.DefaultCssErrorHandler error
> WARNING: CSS error: null [954:29] Error in style rule. Invalid token
> "\n". Was expecting one of: "}", ";".
> Nov 5, 2010 3:23:11 PM
> com.gargoylesoftware.htmlunit.DefaultCssErrorHandler warning
> WARNING: CSS warning: null [954:29] Ignoring the following
> declarations in this rule.
> Nov 5, 2010 3:23:11 PM
> com.gargoylesoftware.htmlunit.DefaultCssErrorHandler error
> WARNING: CSS error: null [980:24] Error in expression. Invalid token
> "=". Was expecting one of: <S>, <COMMA>, "/", <PLUS>, "-", <HASH>,
> <STRING>, ")", <URI>, "inherit", <EMS>, <EXS>, <LENGTH_PX>,
> <LENGTH_CM>, <LENGTH_MM>, <LENGTH_IN>, <LENGTH_PT>, <LENGTH_PC>,
> <ANGLE_DEG>, <ANGLE_RAD>, <ANGLE_GRAD>, <TIME_MS>, <TIME_S>,
> <FREQ_HZ>, <FREQ_KHZ>, <DIMENSION>, <PERCENTAGE>, <NUMBER>,
> <FUNCTION>, <IDENT>.
> Nov 5, 2010 3:23:11 PM
> com.gargoylesoftware.htmlunit.DefaultCssErrorHandler error
> WARNING: CSS error: null [980:29] Error in style rule. Invalid token
> "\n". Was expecting one of: "}", ";".
> Nov 5, 2010 3:23:11 PM
> com.gargoylesoftware.htmlunit.DefaultCssErrorHandler warning
> WARNING: CSS warning: null [980:29] Ignoring the following
> declarations in this rule.
> testWait
> Nov 5, 2010 3:23:11 PM
> com.gargoylesoftware.htmlunit.IncorrectnessListenerImpl notify
> WARNING: Expected content type of 'application/javascript' or
> 'application/ecmascript' for remotely loaded JavaScript element at
> 'http://127.0.0.1:8888/reasx/reasx.nocache.js', but got
> 'application/x-javascript'.
> Nov 5, 2010 3:23:11 PM
> com.gargoylesoftware.htmlunit.DefaultCssErrorHandler error
> WARNING: CSS error: null [488:24] Error in expression. Invalid token
> "=". Was expecting one of: <S>, <COMMA>, "/", <PLUS>, "-", <HASH>,
> <STRING>, ")", <URI>, "inherit", <EMS>, <EXS>, <LENGTH_PX>,
> <LENGTH_CM>, <LENGTH_MM>, <LENGTH_IN>, <LENGTH_PT>, <LENGTH_PC>,
> <ANGLE_DEG>, <ANGLE_RAD>, <ANGLE_GRAD>, <TIME_MS>, <TIME_S>,
> <FREQ_HZ>, <FREQ_KHZ>, <DIMENSION>, <PERCENTAGE>, <NUMBER>,
> <FUNCTION>, <IDENT>.
> Nov 5, 2010 3:23:11 PM
> com.gargoylesoftware.htmlunit.DefaultCssErrorHandler error
> WARNING: CSS error: null [488:29] Error in style rule. Invalid token
> "\n". Was expecting one of: "}", ";".
> Nov 5, 2010 3:23:11 PM
> com.gargoylesoftware.htmlunit.DefaultCssErrorHandler warning
> WARNING: CSS warning: null [488:29] Ignoring the following
> declarations in this rule.
> Nov 5, 2010 3:23:11 PM
> com.gargoylesoftware.htmlunit.DefaultCssErrorHandler error
> WARNING: CSS error: null [521:24] Error in expression. Invalid token
> "=". Was expecting one of: <S>, <COMMA>, "/", <PLUS>, "-", <HASH>,
> <STRING>, ")", <URI>, "inherit", <EMS>, <EXS>, <LENGTH_PX>,
> <LENGTH_CM>, <LENGTH_MM>, <LENGTH_IN>, <LENGTH_PT>, <LENGTH_PC>,
> <ANGLE_DEG>, <ANGLE_RAD>, <ANGLE_GRAD>, <TIME_MS>, <TIME_S>,
> <FREQ_HZ>, <FREQ_KHZ>, <DIMENSION>, <PERCENTAGE>, <NUMBER>,
> <FUNCTION>, <IDENT>.
> Nov 5, 2010 3:23:11 PM
> com.gargoylesoftware.htmlunit.DefaultCssErrorHandler error
> WARNING: CSS error: null [521:29] Error in style rule. Invalid token
> "\n ". Was expecting one of: "}", ";".
> Nov 5, 2010 3:23:11 PM
> com.gargoylesoftware.htmlunit.DefaultCssErrorHandler warning
> WARNING: CSS warning: null [521:29] Ignoring the following
> declarations in this rule.
> Nov 5, 2010 3:23:11 PM
> com.gargoylesoftware.htmlunit.DefaultCssErrorHandler error
> WARNING: CSS error: null [544:24] Error in expression. Invalid token
> "=". Was expecting one of: <S>, <COMMA>, "/", <PLUS>, "-", <HASH>,
> <STRING>, ")", <URI>, "inherit", <EMS>, <EXS>, <LENGTH_PX>,
> <LENGTH_CM>, <LENGTH_MM>, <LENGTH_IN>, <LENGTH_PT>, <LENGTH_PC>,
> <ANGLE_DEG>, <ANGLE_RAD>, <ANGLE_GRAD>, <TIME_MS>, <TIME_S>,
> <FREQ_HZ>, <FREQ_KHZ>, <DIMENSION>, <PERCENTAGE>, <NUMBER>,
> <FUNCTION>, <IDENT>.
> Nov 5, 2010 3:23:11 PM
> com.gargoylesoftware.htmlunit.DefaultCssErrorHandler error
> WARNING: CSS error: null [544:29] Error in style rule. Invalid token
> "\n ". Was expecting one of: "}", ";".
> Nov 5, 2010 3:23:11 PM
> com.gargoylesoftware.htmlunit.DefaultCssErrorHandler warning
> WARNING: CSS warning: null [544:29] Ignoring the following
> declarations in this rule.
> Nov 5, 2010 3:23:11 PM
> com.gargoylesoftware.htmlunit.DefaultCssErrorHandler error
> WARNING: CSS error: null [954:24] Error in expression. Invalid token
> "=". Was expecting one of: <S>, <COMMA>, "/", <PLUS>, "-", <HASH>,
> <STRING>, ")", <URI>, "inherit", <EMS>, <EXS>, <LENGTH_PX>,
> <LENGTH_CM>, <LENGTH_MM>, <LENGTH_IN>, <LENGTH_PT>, <LENGTH_PC>,
> <ANGLE_DEG>, <ANGLE_RAD>, <ANGLE_GRAD>, <TIME_MS>, <TIME_S>,
> <FREQ_HZ>, <FREQ_KHZ>, <DIMENSION>, <PERCENTAGE>, <NUMBER>,
> <FUNCTION>, <IDENT>.
> Nov 5, 2010 3:23:11 PM
> com.gargoylesoftware.htmlunit.DefaultCssErrorHandler error
> WARNING: CSS error: null [954:29] Error in style rule. Invalid token
> "\n". Was expecting one of: "}", ";".
> Nov 5, 2010 3:23:11 PM
> com.gargoylesoftware.htmlunit.DefaultCssErrorHandler warning
> WARNING: CSS warning: null [954:29] Ignoring the following
> declarations in this rule.
> Nov 5, 2010 3:23:11 PM
> com.gargoylesoftware.htmlunit.DefaultCssErrorHandler error
> WARNING: CSS error: null [980:24] Error in expression. Invalid token
> "=". Was expecting one of: <S>, <COMMA>, "/", <PLUS>, "-", <HASH>,
> <STRING>, ")", <URI>, "inherit", <EMS>, <EXS>, <LENGTH_PX>,
> <LENGTH_CM>, <LENGTH_MM>, <LENGTH_IN>, <LENGTH_PT>, <LENGTH_PC>,
> <ANGLE_DEG>, <ANGLE_RAD>, <ANGLE_GRAD>, <TIME_MS>, <TIME_S>,
> <FREQ_HZ>, <FREQ_KHZ>, <DIMENSION>, <PERCENTAGE>, <NUMBER>,
> <FUNCTION>, <IDENT>.
> Nov 5, 2010 3:23:11 PM
> com.gargoylesoftware.htmlunit.DefaultCssErrorHandler error
> WARNING: CSS error: null [980:29] Error in style rule. Invalid token
> "\n". Was expecting one of: "}", ";".
> Nov 5, 2010 3:23:11 PM
> com.gargoylesoftware.htmlunit.DefaultCssErrorHandler warning
> WARNING: CSS warning: null [980:29] Ignoring the following
> declarations in this rule.
> Nov 5, 2010 3:23:21 PM
> com.gargoylesoftware.htmlunit.IncorrectnessListenerImpl notify
> WARNING: Expected content type of 'application/javascript' or
> 'application/ecmascript' for remotely loaded JavaScript element at
> 'http://127.0.0.1:8888/reasx/reasx.nocache.js', but got
> 'application/x-javascript'.
> 0
> Nov 5, 2010 3:23:21 PM
> com.gargoylesoftware.htmlunit.DefaultCssErrorHandler error
> WARNING: CSS error: null [488:24] Error in expression. Invalid token
> "=". Was expecting one of: <S>, <COMMA>, "/", <PLUS>, "-", <HASH>,
> <STRING>, ")", <URI>, "inherit", <EMS>, <EXS>, <LENGTH_PX>,
> <LENGTH_CM>, <LENGTH_MM>, <LENGTH_IN>, <LENGTH_PT>, <LENGTH_PC>,
> <ANGLE_DEG>, <ANGLE_RAD>, <ANGLE_GRAD>, <TIME_MS>, <TIME_S>,
> <FREQ_HZ>, <FREQ_KHZ>, <DIMENSION>, <PERCENTAGE>, <NUMBER>,
> <FUNCTION>, <IDENT>.
> Nov 5, 2010 3:23:21 PM
> com.gargoylesoftware.htmlunit.DefaultCssErrorHandler error
> WARNING: CSS error: null [488:29] Error in style rule. Invalid token
> "\n". Was expecting one of: "}", ";".
> Nov 5, 2010 3:23:21 PM
> com.gargoylesoftware.htmlunit.DefaultCssErrorHandler warning
> WARNING: CSS warning: null [488:29] Ignoring the following
> declarations in this rule.
> Nov 5, 2010 3:23:21 PM
> com.gargoylesoftware.htmlunit.DefaultCssErrorHandler error
> WARNING: CSS error: null [521:24] Error in expression. Invalid token
> "=". Was expecting one of: <S>, <COMMA>, "/", <PLUS>, "-", <HASH>,
> <STRING>, ")", <URI>, "inherit", <EMS>, <EXS>, <LENGTH_PX>,
> <LENGTH_CM>, <LENGTH_MM>, <LENGTH_IN>, <LENGTH_PT>, <LENGTH_PC>,
> <ANGLE_DEG>, <ANGLE_RAD>, <ANGLE_GRAD>, <TIME_MS>, <TIME_S>,
> <FREQ_HZ>, <FREQ_KHZ>, <DIMENSION>, <PERCENTAGE>, <NUMBER>,
> <FUNCTION>, <IDENT>.
> Nov 5, 2010 3:23:21 PM
> com.gargoylesoftware.htmlunit.DefaultCssErrorHandler error
> WARNING: CSS error: null [521:29] Error in style rule. Invalid token
> "\n ". Was expecting one of: "}", ";".
> Nov 5, 2010 3:23:21 PM
> com.gargoylesoftware.htmlunit.DefaultCssErrorHandler warning
> WARNING: CSS warning: null [521:29] Ignoring the following
> declarations in this rule.
> Nov 5, 2010 3:23:21 PM
> com.gargoylesoftware.htmlunit.DefaultCssErrorHandler error
> WARNING: CSS error: null [544:24] Error in expression. Invalid token
> "=". Was expecting one of: <S>, <COMMA>, "/", <PLUS>, "-", <HASH>,
> <STRING>, ")", <URI>, "inherit", <EMS>, <EXS>, <LENGTH_PX>,
> <LENGTH_CM>, <LENGTH_MM>, <LENGTH_IN>, <LENGTH_PT>, <LENGTH_PC>,
> <ANGLE_DEG>, <ANGLE_RAD>, <ANGLE_GRAD>, <TIME_MS>, <TIME_S>,
> <FREQ_HZ>, <FREQ_KHZ>, <DIMENSION>, <PERCENTAGE>, <NUMBER>,
> <FUNCTION>, <IDENT>.
> Nov 5, 2010 3:23:21 PM
> com.gargoylesoftware.htmlunit.DefaultCssErrorHandler error
> WARNING: CSS error: null [544:29] Error in style rule. Invalid token
> "\n ". Was expecting one of: "}", ";".
> Nov 5, 2010 3:23:21 PM
> com.gargoylesoftware.htmlunit.DefaultCssErrorHandler warning
> WARNING: CSS warning: null [544:29] Ignoring the following
> declarations in this rule.
> Nov 5, 2010 3:23:21 PM
> com.gargoylesoftware.htmlunit.DefaultCssErrorHandler error
> WARNING: CSS error: null [954:24] Error in expression. Invalid token
> "=". Was expecting one of: <S>, <COMMA>, "/", <PLUS>, "-", <HASH>,
> <STRING>, ")", <URI>, "inherit", <EMS>, <EXS>, <LENGTH_PX>,
> <LENGTH_CM>, <LENGTH_MM>, <LENGTH_IN>, <LENGTH_PT>, <LENGTH_PC>,
> <ANGLE_DEG>, <ANGLE_RAD>, <ANGLE_GRAD>, <TIME_MS>, <TIME_S>,
> <FREQ_HZ>, <FREQ_KHZ>, <DIMENSION>, <PERCENTAGE>, <NUMBER>,
> <FUNCTION>, <IDENT>.
> Nov 5, 2010 3:23:21 PM
> com.gargoylesoftware.htmlunit.DefaultCssErrorHandler error
> WARNING: CSS error: null [954:29] Error in style rule. Invalid token
> "\n". Was expecting one of: "}", ";".
> Nov 5, 2010 3:23:21 PM
> com.gargoylesoftware.htmlunit.DefaultCssErrorHandler warning
> WARNING: CSS warning: null [954:29] Ignoring the following
> declarations in this rule.
> Nov 5, 2010 3:23:21 PM
> com.gargoylesoftware.htmlunit.DefaultCssErrorHandler error
> WARNING: CSS error: null [980:24] Error in expression. Invalid token
> "=". Was expecting one of: <S>, <COMMA>, "/", <PLUS>, "-", <HASH>,
> <STRING>, ")", <URI>, "inherit", <EMS>, <EXS>, <LENGTH_PX>,
> <LENGTH_CM>, <LENGTH_MM>, <LENGTH_IN>, <LENGTH_PT>, <LENGTH_PC>,
> <ANGLE_DEG>, <ANGLE_RAD>, <ANGLE_GRAD>, <TIME_MS>, <TIME_S>,
> <FREQ_HZ>, <FREQ_KHZ>, <DIMENSION>, <PERCENTAGE>, <NUMBER>,
> <FUNCTION>, <IDENT>.
> Nov 5, 2010 3:23:21 PM
> com.gargoylesoftware.htmlunit.DefaultCssErrorHandler error
> WARNING: CSS error: null [980:29] Error in style rule. Invalid token
> "\n". Was expecting one of: "}", ";".
> Nov 5, 2010 3:23:21 PM
> com.gargoylesoftware.htmlunit.DefaultCssErrorHandler warning
> WARNING: CSS warning: null [980:29] Ignoring the following
> declarations in this rule.
> 0
> 0
> 0
> 0
> 0
> 0
> 0
> 0
> 0
> 0
> 0
> 0
> 0
> 0
> 0
> 0
> 0
> 0
> 0
>
> ---
> co-chairhttp://ocjug.org/
--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to google-web-toolkit+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
No comments:
Post a Comment