Adam - Titus -

A couple of hunches.

1. Very possible that Bananascrum is a Rails app.
2. We've had success clearing the headers to submit Rails forms.

I can successfully login if I clear_extra_headers()

>>> import twill.commands as t
>>> t.go("http://demo.bananascrum.com";)
==> at http://demo.bananascrum.com/profile/loginform
'http://demo.bananascrum.com/profile/loginform'
>>> t.code("200")
>>> t.clear_extra_headers()
>>> t.fv(1, "login", "admin")
>>> t.fv(1, "password", "test")
>>> t.submit()
Note: submit is using submit button: name="commit", value="Log in"
>>> t.get_browser().get_url()
'http://demo.bananascrum.com/bananascrum/sprint/show/311806534'
>>>

Titus, I swear Pam sent in a patch to Twill to clear up this problem. Pam?

t.

_______________________________________________
twill mailing list
[email protected]
http://lists.idyll.org/listinfo/twill

Reply via email to