Ruby on Rails
Wednesday, September 1, 2010
New to webrat. Like it but the thing which I either don't understand is in an apparent inability to handle clicking links which have a query string. This seems to happen on anything with a query string.
For example:
With this command:
click_link "SM SERVICING"
This is the error I get:
test_supplement_dialog_process(MeridianlinkSupplementTest):
URI::InvalidURIError: bad URI(is not URI?): /supplements/new?supplement[comparison_id]=37036189&supplement[order_detail_report_id]=25841&supplement[trade_creditor]=SM SERVICING&supplement[trade_account_number]=ACCT000030
I have verified that webrat works with a simple link. Is this the best I can get, and maybe should go to Selenium, which seems to handle this better? I see that Selenium and Webrat work together, just want to make sure I am not missing something.
Thanks,
David
-- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment