It's not fixed in demo.appfuse.org, so you should be able to use it for
testing. However, you should know there was some invalid JavaScript (using
getAttributeValue()) in the highlightTableRows() method. However, I believe
HtmlUnit should report that (it did once I got the logic right).

Matt


Marc Guillemot wrote:
> 
> Cool!
> 
> Nevertheless it has shown a problem in event bubbling in HtmlUnit that I'd
> like to understand and fix. Have you fixed it on demo.appfuse.org? If yes,
> is there an other site where this js code is used and that could allow me
> to track the issue I can't reproduce it locally?
> 
> Marc.
> 
> 
> mraible wrote:
>> 
>> I'm impressed Marc! I was able to use your analysis to realize I had the
>> following:
>> 
>> <script type="text/javascript">
>>     highlightTableRows("editUser:users"); // doesn't currently work to
>> allow clicking row
>> </script>
>> 
>> This tries to make the whole row clickable, but it doesn't work with JSF.
>> Removing this line solved the problem.
>> 
>> Thanks!!
>> 
>> Matt
>> 
>> 
>> Marc Guillemot wrote:
>>> 
>>> Hi Matt,
>>> 
>>> sorry, I took the wrong url while surfing on your demo site.
>>> 
>>> A first analyze shows that the correct post is made that receives the
>>> expected edit user page BUT then a new GET request is performed to
>>> http://demo.appfuse.org/appfuse-jsf/users.html which seems to be
>>> triggered by a row click handler. This is naturally wrong. I'll
>>> investigate it.
>>> 
>>> Marc.
>>> 
>>> 
>>> mraible wrote:
>>>> 
>>>> 
>>>> 
>>>> Marc Guillemot wrote:
>>>>> 
>>>>> Hi Matt,
>>>>> 
>>>>> I can follow your script until:
>>>>> <verifytitle text="User List | AppFuse"/>
>>>>> 
>>>>> but I don't understand what this should do:
>>>>>   <clicklink
>>>>> xpath="//[EMAIL PROTECTED]'editUser:users']/tbody/tr[1]/td[1]/a"/>
>>>>> when I surf with my FF, I have to agree with WebTest, I don't see any
>>>>> table with such an id there.
>>>>> 
>>>>> Is something in your script missing?
>>>>> 
>>>>> Marc.
>>>>> 
>>>> 
>>>> If you go to http://demo.appfuse.org/appfuse-jsf/users.html and login
>>>> with admin/admin, it'll take you to the User List screen. View source
>>>> and search for "editUser:users" and you'll see a table with that id.
>>>> The script isn't missing anything that I know of - it works if I put
>>>> HtmlUnit 1.11 in my classpath. You can also change it to <clicklink
>>>> lable="foo"/> - where foo is one of the links in the table.
>>>> 
>>>> Thanks,
>>>> 
>>>> Matt
>>>> 
>>> 
>>> 
>> 
>> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Upgrading-from-R_1454-to-R_1600-tf4319687.html#a12388396
Sent from the WebTest mailing list archive at Nabble.com.

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

Reply via email to