[Webtest] AJAX Support

Michal Michal <uhmm@1234.sk>
Thu, 07 Jun 2007 14:15:35 +0200


This is a multi-part message in MIME format.
--------------070206080706040505060500
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit

Hi,

that's exactly what I use:
374K Jun  5 13:31 htmlunit-1.11.jar

I understand this might be an htmlunit problem but if you say it's been 
already fixed...

Marc Guillemot wrote:
> Hi Michal,
>
> this has been fixed in htmlunit since 1.11. You can try to replace the
> lib/htmlunit-1.11.jar with the latest htmlunit build (for instance from
> http://build.canoo.com/htmlunit/artifacts/).
>
> Marc.
>
> Michal wrote:
>   
>> I updated webtest to R_1574 and the problem still persists.
>>
>> There are 2 simple select boxes, first one changes, second one is
>> reloaded using AJAX.
>>
>>                                 <setSelectField
>>                                         description="Select offering type"
>>                                         htmlid="fOfferingType"
>>                                         text="Application Support"
>>                                 />
>>                                 <sleep description="12s pause"
>> seconds="12" />
>>                                 <setSelectField
>>                                         description="Select offering
>> subtype"
>>                                         htmlid="fOfferingSubtype"
>>                                         value="Other"
>>                                 />
>>
>> Relevant log:
>>
>> [setSelectField]  INFO (com.canoo.webtest.steps.Step) - >>>> Start Step:
>> setSelectField "Select offering type" (13/15)
>>     [sleep] java.lang.NullPointerException
>>     [sleep]     at
>> com.gargoylesoftware.htmlunit.javascript.OptionsArray.get(OptionsArray.java:102)
>>     [sleep]     at
>> org.mozilla.javascript.ScriptableObject.getProperty(ScriptableObject.java:1343)
>>     [sleep]     at
>> org.mozilla.javascript.ScriptRuntime.getObjectElem(ScriptRuntime.java:1304)
>>     [sleep]     at
>> org.mozilla.javascript.ScriptRuntime.getObjectElem(ScriptRuntime.java:1288)
>>     [sleep]     at
>> org.mozilla.javascript.Interpreter.interpretLoop(Interpreter.java(Compiled
>> Code))
>>     [sleep]     at
>> org.mozilla.javascript.Interpreter.interpret(Interpreter.java:2251)
>>     [sleep]     at
>> org.mozilla.javascript.InterpretedFunction.call(InterpretedFunction.java:161)
>>     [sleep]     at
>> org.mozilla.javascript.ContextFactory.doTopCall(ContextFactory.java:340)
>>     [sleep]     at
>> com.gargoylesoftware.htmlunit.javascript.HtmlUnitContextFactory.doTopCall(HtmlUnitContextFactory.java:151)
>>     [sleep]     at
>> org.mozilla.javascript.ScriptRuntime.doTopCall(ScriptRuntime.java:2758)
>>     [sleep]     at
>> org.mozilla.javascript.InterpretedFunction.call(InterpretedFunction.java:159)
>>     [sleep]     at
>> com.gargoylesoftware.htmlunit.javascript.JavaScriptEngine.callFunction(JavaScriptEngine.java:363)
>>     [sleep]     at
>> com.gargoylesoftware.htmlunit.javascript.host.XMLHttpRequest.setState(XMLHttpRequest.java:145)
>>     [sleep]     at
>> com.gargoylesoftware.htmlunit.javascript.host.XMLHttpRequest.doSend(XMLHttpRequest.java:375)
>>     [sleep]     at
>> com.gargoylesoftware.htmlunit.javascript.host.XMLHttpRequest.access$000(XMLHttpRequest.java:72)
>>     [sleep]     at
>> com.gargoylesoftware.htmlunit.javascript.host.XMLHttpRequest$1.run(XMLHttpRequest.java:328)
>>     [sleep]     at java.lang.Thread.run(Thread.java:570)
>>     [sleep]     at
>> com.gargoylesoftware.htmlunit.ThreadManager$1.run(ThreadManager.java:118)
>> [setSelectField]  INFO (com.canoo.webtest.steps.Step) - >>>> Start Step:
>> setSelectField "Select offering subtype" (15/15)
>> [setSelectField]  INFO (com.canoo.webtest.steps.Step) - Running with:
>> Canoo Webtest: R_1574.
>> [setSelectField]  INFO (com.canoo.webtest.steps.Step) - Exception thrown
>> from this class: com.canoo.webtest.engine.StepFailedException
>> [setSelectField]  INFO (com.canoo.webtest.steps.Step) - Message was: No
>> option found matching criteria in select HtmlSelect[<select
>> name="fOfferingSubtype" id="fOfferingSubtype" class="body-text-small "
>> onchange="showRelevantCountries();">]
>>  INFO (com.canoo.webtest.steps.Step) - Running with: Canoo Webtest: R_1574.
>>  INFO (com.canoo.webtest.steps.Step) - Exception thrown from this class:
>> com.canoo.webtest.engine.StepFailedException
>>  INFO (com.canoo.webtest.steps.Step) - Message was: No option found
>> matching criteria in select HtmlSelect[<select name="fOfferingSubtype"
>> id="fOfferingSubtype" class="body-text-small "
>> onchange="showRelevantCountries();">]
>>  
>>
>> Any ideas why it doesn't work?
>> You can replicate on the simplest example:
>> <select name="offType" onchange="populatesubOffType();">
>>     <options>....</options>
>> </select>
>> <select name="subOffType">
>>     <options>....</options>
>> </select>
>>
>> uhmm wrote:
>>     
>>> I searched using find / -iname "*htmlunit*" and I found only one on
>>> the whole disk. Version 1.11
>>>
>>>
>>> Thursday, April 5, 2007, 9:01:13 AM, you wrote:
>>>
>>> MG> Have you searched on your whole disk for htmlunit*.jar?
>>>
>>> MG> Marc.
>>>
>>> MG> uhmm@1234.sk wrote:
>>>   
>>>       
>>>>> How can I find out if it is a classpath problem? There so no
>>>>> other htmlunit code on the machine.
>>>>>
>>>>>
>>>>> ----- Original Message -----
>>>>> From: Marc Guillemot <mguillemot@yahoo.fr>
>>>>> To: webtest@lists.canoo.com
>>>>> Subject: Re: [Webtest] AJAX Support
>>>>> Date: Wed, 4 Apr 2007 06:05:56 -0700 (PDT)
>>>>>
>>>>>       
>>>>>           
>>>>>> Hi,
>>>>>>
>>>>>> I think that you have some classpath problem and that an
>>>>>> older version of htmlunit is used because in htmlunit 1.11
>>>>>> (the one now provided with WebTest) no
>>>>>> NullPointerException can occur at line 102 of
>>>>>> OptionsArray.
>>>>>>
>>>>>> Marc.
>>>>>>
>>>>>>
>>>>>> uhmm@1234.sk wrote:
>>>>>>         
>>>>>>             
>>>>>>> Hey there,
>>>>>>> I've been looking around internet for ajax support in
>>>>>>> webtest, but
>>>>>>> haven't found anything what would help me. Hope people
>>>>>>> here can...
>>>>>>>
>>>>>>> I have school example of ajax usage. 2 dropdowns, first
>>>>>>> one is
>>>>>>> changed, second one is updated. How shall I create test
>>>>>>> steps?
>>>>>>>
>>>>>>> Easy it may seem, but it's not. Here is my try:
>>>>>>>
>>>>>>> <setSelectField
>>>>>>>        description="Select offering type"
>>>>>>>        htmlid="fOfferingType"
>>>>>>>        text="Application Support"
>>>>>>> />
>>>>>>> <sleep description="12s pause" seconds="12" />
>>>>>>> <setSelectField
>>>>>>>        description="Select offering subtype"
>>>>>>>        htmlid="fOfferingSubtype"
>>>>>>>        value="Other"
>>>>>>> />
>>>>>>>
>>>>>>> Errors I'm getting:
>>>>>>> [setSelectField]  INFO (com.canoo.webtest.steps.Step) -
>>>>>>>           
>>>>>>>               
>>>>>>>>>>> Start
>>>>>>>>>>>                   
>>>>>>>>>>>                       
>>>>>>> Step: setSelectField "Select offering type" (13/15)
>>>>>>>    [sleep] java.lang.NullPointerException
>>>>>>>    [sleep]     at
>>>>>>>
>>>>>>>           
>>>>>>>               
>>>>>> com.gargoylesoftware.htmlunit.javascript.OptionsArray.get(
>>>>>>         
>>>>>>             
>>>>>>>    OptionsArray.java:102) [sleep]     at
>>>>>>>
>>>>>>>           
>>>>>>>               
>>>>>> org.mozilla.javascript.ScriptableObject.getProperty(Script
>>>>>>         
>>>>>>             
>>>>>>>    ableObject.java:1343) [sleep]     at
>>>>>>>
>>>>>>>           
>>>>>>>               
>>>>>> org.mozilla.javascript.ScriptRuntime.getObjectElem(ScriptR
>>>>>>         
>>>>>>             
>>>>>>>    untime.java:1304) [sleep]     at
>>>>>>>
>>>>>>>           
>>>>>>>               
>>>>>> org.mozilla.javascript.ScriptRuntime.getObjectElem(ScriptR
>>>>>>         
>>>>>>             
>>>>>>>    untime.java:1288) [sleep]     at
>>>>>>>
>>>>>>>           
>>>>>>>               
>>>>>> org.mozilla.javascript.Interpreter.interpretLoop(Interpret
>>>>>>         
>>>>>>             
>>>>>>> er.java(Compiled Code))
>>>>>>>    [sleep]     at
>>>>>>>
>>>>>>>           
>>>>>>>               
>>>>>> org.mozilla.javascript.Interpreter.interpret(Interpreter.j
>>>>>>         
>>>>>>             
>>>>>>>    ava:2251) [sleep]     at
>>>>>>>
>>>>>>>           
>>>>>>>               
>>>>>> org.mozilla.javascript.InterpretedFunction.call(Interprete
>>>>>>         
>>>>>>             
>>>>>>>    dFunction.java:161) [sleep]     at
>>>>>>>
>>>>>>>           
>>>>>>>               
>>>>>> org.mozilla.javascript.ContextFactory.doTopCall(ContextFac
>>>>>>         
>>>>>>             
>>>>>>>    tory.java:340) [sleep]     at
>>>>>>>
>>>>>>>           
>>>>>>>               
>>>>>> com.gargoylesoftware.htmlunit.javascript.HtmlUnitContextFa
>>>>>>         
>>>>>>             
>>>>>>>    ctory.doTopCall(HtmlUnitContextFactory.java:151)
>>>>>>> [sleep]     at
>>>>>>>           
>>>>>>>               
>>>>>> org.mozilla.javascript.ScriptRuntime.doTopCall(ScriptRunti
>>>>>>         
>>>>>>             
>>>>>>>    me.java:2758) [sleep]     at
>>>>>>>
>>>>>>>           
>>>>>>>               
>>>>>> org.mozilla.javascript.InterpretedFunction.call(Interprete
>>>>>>         
>>>>>>             
>>>>>>>    dFunction.java:159) [sleep]     at
>>>>>>>
>>>>>>>           
>>>>>>>               
>>>>>> com.gargoylesoftware.htmlunit.javascript.JavaScriptEngine.
>>>>>>         
>>>>>>             
>>>>>>>    callFunction(JavaScriptEngine.java:363) [sleep]    
>>>>>>> at
>>>>>>>           
>>>>>>>               
>>>>>> com.gargoylesoftware.htmlunit.javascript.host.XMLHttpReque
>>>>>>         
>>>>>>             
>>>>>>>    st.setState(XMLHttpRequest.java:145) [sleep]     at
>>>>>>>
>>>>>>>           
>>>>>>>               
>>>>>> com.gargoylesoftware.htmlunit.javascript.host.XMLHttpReque
>>>>>>         
>>>>>>             
>>>>>>>    st.doSend(XMLHttpRequest.java:375) [sleep]     at
>>>>>>>
>>>>>>>           
>>>>>>>               
>>>>>> com.gargoylesoftware.htmlunit.javascript.host.XMLHttpReque
>>>>>>         
>>>>>>             
>>>>>>>    st.access$000(XMLHttpRequest.java:72) [sleep]     at
>>>>>>>
>>>>>>>           
>>>>>>>               
>>>>>> com.gargoylesoftware.htmlunit.javascript.host.XMLHttpReque
>>>>>>         
>>>>>>             
>>>>>>>    st$1.run(XMLHttpRequest.java:328) [sleep]     at
>>>>>>>    java.lang.Thread.run(Thread.java:570) [sleep]     at
>>>>>>>
>>>>>>>           
>>>>>>>               
>>>>>> com.gargoylesoftware.htmlunit.ThreadManager$1.run(ThreadMa
>>>>>>         
>>>>>>             
>>>>>>> nager.java:118) [setSelectField]  INFO
>>>>>>> (com.canoo.webtest.steps.Step) - >>>> Start
>>>>>>> Step: setSelectField "Select offering subtype" (15/15)
>>>>>>> [setSelectField]  INFO (com.canoo.webtest.steps.Step) -
>>>>>>> Running with:
>>>>>>> Canoo Webtest: R_1537.
>>>>>>> [setSelectField]  INFO (com.canoo.webtest.steps.Step) -
>>>>>>> Exception
>>>>>>> thrown from this class:
>>>>>>> com.canoo.webtest.engine.StepFailedException
>>>>>>> [setSelectField]  INFO (com.canoo.webtest.steps.Step) -
>>>>>>> Message was:
>>>>>>> No option found matching criteria in select
>>>>>>> HtmlSelect[<select
>>>>>>> name="fOfferingSubtype" id="fOfferingSubtype"
>>>>>>> class="body-text-small "
>>>>>>> onchange="showRelevantCountries();">]
>>>>>>>  INFO (com.canoo.webtest.steps.Step) - Running with:
>>>>>>> Canoo Webtest: R_1537.
>>>>>>>  INFO (com.canoo.webtest.steps.Step) - Exception thrown
>>>>>>> from this
>>>>>>> class: com.canoo.webtest.engine.StepFailedException
>>>>>>>  INFO (com.canoo.webtest.steps.Step) - Message was: No
>>>>>>> option found
>>>>>>> matching criteria in select HtmlSelect[<select
>>>>>>> name="fOfferingSubtype"
>>>>>>> id="fOfferingSubtype" class="body-text-small "
>>>>>>> onchange="showRelevantCountries();">]
>>>>>>>
>>>>>>>
>>>>>>> What is wrong? As you can see I have the latest Webtest
>>>>>>> revision with
>>>>>>> latest HtmlUnit...
>>>>>>> Exception coming out of sleep?
>>>>>>>
>>>>>>> Your help is very appreciated!
>>>>>>>               
>
>   


--------------070206080706040505060500
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Hi,<br>
<br>
that's exactly what I use:<br>
374K Jun&nbsp; 5 13:31 htmlunit-1.11.jar<br>
<br>
I understand this might be an htmlunit problem but if you say it's been
already fixed...<br>
<br>
Marc Guillemot wrote:
<blockquote cite="mid:4667F57F.9060702@yahoo.fr" type="cite">
  <pre wrap="">Hi Michal,

this has been fixed in htmlunit since 1.11. You can try to replace the
lib/htmlunit-1.11.jar with the latest htmlunit build (for instance from
<a class="moz-txt-link-freetext" href="http://build.canoo.com/htmlunit/artifacts/">http://build.canoo.com/htmlunit/artifacts/</a>).

Marc.

Michal wrote:
  </pre>
  <blockquote type="cite">
    <pre wrap="">I updated webtest to R_1574 and the problem still persists.

There are 2 simple select boxes, first one changes, second one is
reloaded using AJAX.

                                &lt;setSelectField
                                        description="Select offering type"
                                        htmlid="fOfferingType"
                                        text="Application Support"
                                /&gt;
                                &lt;sleep description="12s pause"
seconds="12" /&gt;
                                &lt;setSelectField
                                        description="Select offering
subtype"
                                        htmlid="fOfferingSubtype"
                                        value="Other"
                                /&gt;

Relevant log:

[setSelectField]  INFO (com.canoo.webtest.steps.Step) - &gt;&gt;&gt;&gt; Start Step:
setSelectField "Select offering type" (13/15)
    [sleep] java.lang.NullPointerException
    [sleep]     at
com.gargoylesoftware.htmlunit.javascript.OptionsArray.get(OptionsArray.java:102)
    [sleep]     at
org.mozilla.javascript.ScriptableObject.getProperty(ScriptableObject.java:1343)
    [sleep]     at
org.mozilla.javascript.ScriptRuntime.getObjectElem(ScriptRuntime.java:1304)
    [sleep]     at
org.mozilla.javascript.ScriptRuntime.getObjectElem(ScriptRuntime.java:1288)
    [sleep]     at
org.mozilla.javascript.Interpreter.interpretLoop(Interpreter.java(Compiled
Code))
    [sleep]     at
org.mozilla.javascript.Interpreter.interpret(Interpreter.java:2251)
    [sleep]     at
org.mozilla.javascript.InterpretedFunction.call(InterpretedFunction.java:161)
    [sleep]     at
org.mozilla.javascript.ContextFactory.doTopCall(ContextFactory.java:340)
    [sleep]     at
com.gargoylesoftware.htmlunit.javascript.HtmlUnitContextFactory.doTopCall(HtmlUnitContextFactory.java:151)
    [sleep]     at
org.mozilla.javascript.ScriptRuntime.doTopCall(ScriptRuntime.java:2758)
    [sleep]     at
org.mozilla.javascript.InterpretedFunction.call(InterpretedFunction.java:159)
    [sleep]     at
com.gargoylesoftware.htmlunit.javascript.JavaScriptEngine.callFunction(JavaScriptEngine.java:363)
    [sleep]     at
com.gargoylesoftware.htmlunit.javascript.host.XMLHttpRequest.setState(XMLHttpRequest.java:145)
    [sleep]     at
com.gargoylesoftware.htmlunit.javascript.host.XMLHttpRequest.doSend(XMLHttpRequest.java:375)
    [sleep]     at
com.gargoylesoftware.htmlunit.javascript.host.XMLHttpRequest.access$000(XMLHttpRequest.java:72)
    [sleep]     at
com.gargoylesoftware.htmlunit.javascript.host.XMLHttpRequest$1.run(XMLHttpRequest.java:328)
    [sleep]     at java.lang.Thread.run(Thread.java:570)
    [sleep]     at
com.gargoylesoftware.htmlunit.ThreadManager$1.run(ThreadManager.java:118)
[setSelectField]  INFO (com.canoo.webtest.steps.Step) - &gt;&gt;&gt;&gt; Start Step:
setSelectField "Select offering subtype" (15/15)
[setSelectField]  INFO (com.canoo.webtest.steps.Step) - Running with:
Canoo Webtest: R_1574.
[setSelectField]  INFO (com.canoo.webtest.steps.Step) - Exception thrown
from this class: com.canoo.webtest.engine.StepFailedException
[setSelectField]  INFO (com.canoo.webtest.steps.Step) - Message was: No
option found matching criteria in select HtmlSelect[&lt;select
name="fOfferingSubtype" id="fOfferingSubtype" class="body-text-small "
onchange="showRelevantCountries();"&gt;]
 INFO (com.canoo.webtest.steps.Step) - Running with: Canoo Webtest: R_1574.
 INFO (com.canoo.webtest.steps.Step) - Exception thrown from this class:
com.canoo.webtest.engine.StepFailedException
 INFO (com.canoo.webtest.steps.Step) - Message was: No option found
matching criteria in select HtmlSelect[&lt;select name="fOfferingSubtype"
id="fOfferingSubtype" class="body-text-small "
onchange="showRelevantCountries();"&gt;]
 

Any ideas why it doesn't work?
You can replicate on the simplest example:
&lt;select name="offType" onchange="populatesubOffType();"&gt;
    &lt;options&gt;....&lt;/options&gt;
&lt;/select&gt;
&lt;select name="subOffType"&gt;
    &lt;options&gt;....&lt;/options&gt;
&lt;/select&gt;

uhmm wrote:
    </pre>
    <blockquote type="cite">
      <pre wrap="">I searched using find / -iname "*htmlunit*" and I found only one on
the whole disk. Version 1.11


Thursday, April 5, 2007, 9:01:13 AM, you wrote:

MG&gt; Have you searched on your whole disk for htmlunit*.jar?

MG&gt; Marc.

MG&gt; <a class="moz-txt-link-abbreviated" href="mailto:uhmm@1234.sk">uhmm@1234.sk</a> wrote:
  
      </pre>
      <blockquote type="cite">
        <blockquote type="cite">
          <pre wrap="">How can I find out if it is a classpath problem? There so no
other htmlunit code on the machine.


----- Original Message -----
From: Marc Guillemot <a class="moz-txt-link-rfc2396E" href="mailto:mguillemot@yahoo.fr">&lt;mguillemot@yahoo.fr&gt;</a>
To: <a class="moz-txt-link-abbreviated" href="mailto:webtest@lists.canoo.com">webtest@lists.canoo.com</a>
Subject: Re: [Webtest] AJAX Support
Date: Wed, 4 Apr 2007 06:05:56 -0700 (PDT)

      
          </pre>
          <blockquote type="cite">
            <pre wrap="">Hi,

I think that you have some classpath problem and that an
older version of htmlunit is used because in htmlunit 1.11
(the one now provided with WebTest) no
NullPointerException can occur at line 102 of
OptionsArray.

Marc.


<a class="moz-txt-link-abbreviated" href="mailto:uhmm@1234.sk">uhmm@1234.sk</a> wrote:
        
            </pre>
            <blockquote type="cite">
              <pre wrap="">Hey there,
I've been looking around internet for ajax support in
webtest, but
haven't found anything what would help me. Hope people
here can...

I have school example of ajax usage. 2 dropdowns, first
one is
changed, second one is updated. How shall I create test
steps?

Easy it may seem, but it's not. Here is my try:

&lt;setSelectField
       description="Select offering type"
       htmlid="fOfferingType"
       text="Application Support"
/&gt;
&lt;sleep description="12s pause" seconds="12" /&gt;
&lt;setSelectField
       description="Select offering subtype"
       htmlid="fOfferingSubtype"
       value="Other"
/&gt;

Errors I'm getting:
[setSelectField]  INFO (com.canoo.webtest.steps.Step) -
          
              </pre>
              <blockquote type="cite">
                <blockquote type="cite">
                  <blockquote type="cite">
                    <blockquote type="cite">
                      <pre wrap="">Start
                  
                      </pre>
                    </blockquote>
                  </blockquote>
                </blockquote>
              </blockquote>
              <pre wrap="">Step: setSelectField "Select offering type" (13/15)
   [sleep] java.lang.NullPointerException
   [sleep]     at

          
              </pre>
            </blockquote>
            <pre wrap="">com.gargoylesoftware.htmlunit.javascript.OptionsArray.get(
        
            </pre>
            <blockquote type="cite">
              <pre wrap="">   OptionsArray.java:102) [sleep]     at

          
              </pre>
            </blockquote>
            <pre wrap="">org.mozilla.javascript.ScriptableObject.getProperty(Script
        
            </pre>
            <blockquote type="cite">
              <pre wrap="">   ableObject.java:1343) [sleep]     at

          
              </pre>
            </blockquote>
            <pre wrap="">org.mozilla.javascript.ScriptRuntime.getObjectElem(ScriptR
        
            </pre>
            <blockquote type="cite">
              <pre wrap="">   untime.java:1304) [sleep]     at

          
              </pre>
            </blockquote>
            <pre wrap="">org.mozilla.javascript.ScriptRuntime.getObjectElem(ScriptR
        
            </pre>
            <blockquote type="cite">
              <pre wrap="">   untime.java:1288) [sleep]     at

          
              </pre>
            </blockquote>
            <pre wrap="">org.mozilla.javascript.Interpreter.interpretLoop(Interpret
        
            </pre>
            <blockquote type="cite">
              <pre wrap="">er.java(Compiled Code))
   [sleep]     at

          
              </pre>
            </blockquote>
            <pre wrap="">org.mozilla.javascript.Interpreter.interpret(Interpreter.j
        
            </pre>
            <blockquote type="cite">
              <pre wrap="">   ava:2251) [sleep]     at

          
              </pre>
            </blockquote>
            <pre wrap="">org.mozilla.javascript.InterpretedFunction.call(Interprete
        
            </pre>
            <blockquote type="cite">
              <pre wrap="">   dFunction.java:161) [sleep]     at

          
              </pre>
            </blockquote>
            <pre wrap="">org.mozilla.javascript.ContextFactory.doTopCall(ContextFac
        
            </pre>
            <blockquote type="cite">
              <pre wrap="">   tory.java:340) [sleep]     at

          
              </pre>
            </blockquote>
            <pre wrap="">com.gargoylesoftware.htmlunit.javascript.HtmlUnitContextFa
        
            </pre>
            <blockquote type="cite">
              <pre wrap="">   ctory.doTopCall(HtmlUnitContextFactory.java:151)
[sleep]     at
          
              </pre>
            </blockquote>
            <pre wrap="">org.mozilla.javascript.ScriptRuntime.doTopCall(ScriptRunti
        
            </pre>
            <blockquote type="cite">
              <pre wrap="">   me.java:2758) [sleep]     at

          
              </pre>
            </blockquote>
            <pre wrap="">org.mozilla.javascript.InterpretedFunction.call(Interprete
        
            </pre>
            <blockquote type="cite">
              <pre wrap="">   dFunction.java:159) [sleep]     at

          
              </pre>
            </blockquote>
            <pre wrap="">com.gargoylesoftware.htmlunit.javascript.JavaScriptEngine.
        
            </pre>
            <blockquote type="cite">
              <pre wrap="">   callFunction(JavaScriptEngine.java:363) [sleep]    
at
          
              </pre>
            </blockquote>
            <pre wrap="">com.gargoylesoftware.htmlunit.javascript.host.XMLHttpReque
        
            </pre>
            <blockquote type="cite">
              <pre wrap="">   st.setState(XMLHttpRequest.java:145) [sleep]     at

          
              </pre>
            </blockquote>
            <pre wrap="">com.gargoylesoftware.htmlunit.javascript.host.XMLHttpReque
        
            </pre>
            <blockquote type="cite">
              <pre wrap="">   st.doSend(XMLHttpRequest.java:375) [sleep]     at

          
              </pre>
            </blockquote>
            <pre wrap="">com.gargoylesoftware.htmlunit.javascript.host.XMLHttpReque
        
            </pre>
            <blockquote type="cite">
              <pre wrap="">   st.access$000(XMLHttpRequest.java:72) [sleep]     at

          
              </pre>
            </blockquote>
            <pre wrap="">com.gargoylesoftware.htmlunit.javascript.host.XMLHttpReque
        
            </pre>
            <blockquote type="cite">
              <pre wrap="">   st$1.run(XMLHttpRequest.java:328) [sleep]     at
   java.lang.Thread.run(Thread.java:570) [sleep]     at

          
              </pre>
            </blockquote>
            <pre wrap="">com.gargoylesoftware.htmlunit.ThreadManager$1.run(ThreadMa
        
            </pre>
            <blockquote type="cite">
              <pre wrap="">nager.java:118) [setSelectField]  INFO
(com.canoo.webtest.steps.Step) - &gt;&gt;&gt;&gt; Start
Step: setSelectField "Select offering subtype" (15/15)
[setSelectField]  INFO (com.canoo.webtest.steps.Step) -
Running with:
Canoo Webtest: R_1537.
[setSelectField]  INFO (com.canoo.webtest.steps.Step) -
Exception
thrown from this class:
com.canoo.webtest.engine.StepFailedException
[setSelectField]  INFO (com.canoo.webtest.steps.Step) -
Message was:
No option found matching criteria in select
HtmlSelect[&lt;select
name="fOfferingSubtype" id="fOfferingSubtype"
class="body-text-small "
onchange="showRelevantCountries();"&gt;]
 INFO (com.canoo.webtest.steps.Step) - Running with:
Canoo Webtest: R_1537.
 INFO (com.canoo.webtest.steps.Step) - Exception thrown
from this
class: com.canoo.webtest.engine.StepFailedException
 INFO (com.canoo.webtest.steps.Step) - Message was: No
option found
matching criteria in select HtmlSelect[&lt;select
name="fOfferingSubtype"
id="fOfferingSubtype" class="body-text-small "
onchange="showRelevantCountries();"&gt;]


What is wrong? As you can see I have the latest Webtest
revision with
latest HtmlUnit...
Exception coming out of sleep?

Your help is very appreciated!
              </pre>
            </blockquote>
          </blockquote>
        </blockquote>
      </blockquote>
    </blockquote>
  </blockquote>
  <pre wrap=""><!---->
  </pre>
</blockquote>
<br>
</body>
</html>

--------------070206080706040505060500--