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="//table[@id='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