David Kahn
2010-Sep-02 00:31 UTC
Webrat click_link does not handle links with a query string?
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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.