Hi Chang,

normally a clickElement (on the div, not on some nested node as click
events don't currently bubble) should work but I have a doubt. Can you
try following:

<groovy>
println step.context.currentResponse.asXml()
</groovy>

just after you've get this page. I fear that the cause of the problem is
that the page doesn't get parsed correctly.

Marc.

Chang Su wrote:
> I thought I like to provide a bit more info while I
> trie to debug this. I found in .html file that was
> saved as response from main window, it has something
> like this,
> 
> 
> <td>
>   <div class="textBg" onkeydown="  "
> onmouseover="this.className='textBgOver'" onkeyup="  "
>                                        
> onmouseout="this.className='textBg'"                  
>                        
> onClick="wizard_popup('/LdomMgmt/faces/jsp/lifeCycle/Create.jsp','CreateDomain',650,750,'yes');
> return false;">
>                                                       
>           <table width="100%"  border="0"
> cellspacing="0" cellpadding="0">
>  <tr>
>  <td width="100%" style="border-top: 1px solid
> #AABCC8; border-bottom: 1px solid #AABCC8;"
> rowspan="3">
> <a id="form1:_id11" class="onHyplink" tabindex="1"
> href="#">Create Domain</a>
>                                                       
>                 </td>
> ....
> 
> 
> 
> so how do I invoke the part
> onClick="wizard_popup('/LdomMgmt/faces/jsp/lifeCycle/Create.jsp...
> 
> which belongs to <div class="textBg" onkeydown="  "
> onmouseover="this.className='textBgOver'" onkeyup="  "
>                                        
> onmouseout="this.className='textBg'" ???
> 
> 
> thanks a lot,
> 
> 
> Chang
> 
> 
> --- Marc Guillemot <[EMAIL PROTECTED]> wrote:
> 
>> Hi Chang,
>>
>> you need to configure log4j for that. If you use the
>> classpath provided
>> with WebTest, you just have to edit
>> #WebtestHome#/lib/log4j.properties
>>
>> Marc.
> 
> 
> 
>  
> ____________________________________________________________________________________
> Do you Yahoo!?
> Everyone is raving about the all-new Yahoo! Mail beta.
> http://new.mail.yahoo.com

_______________________________________________
WebTest mailing list
[email protected]
http://lists.canoo.com/mailman/listinfo/webtest

Reply via email to