Ruby on Rails
Wednesday, February 5, 2014
On Wednesday, February 5, 2014 2:26:45 PM UTC, paul h wrote:
Hi All,I need to post data from my rails app to an external web form I do not have any control over. There is no public API, so I was wondering if anyone had had a similar problem, and was it possible to to utilize Selenium in production in order to automate the form filling - similar to tagging a cuke scenario with a @javascript tag in order to automate page interaction.
I don't think you want to use selenium - unless you actually want something to be launching browser instances and so on (and then you end up having to install an X server etc. on your production machines)
Have you looked at the mechanize gem? I've used it in the past to fill in forms as part of a load testing script.
Fred
I will start looking into Selenium this weekend, but was wondering if anyone had any ideas that might point me in one or other direction.ThanksPaul Hollyer
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/867f7016-73e4-4d5c-9412-58ee00abe360%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment