bhatpajju13 — 2012-05-20T02:17:37-04:00 — #1
actually i created a mechanize action with a rake tasks a typed it in console now how to check it in the browser localhost:3000 i am confused please help i am new to ruby on rails.
bhatpajju13 — 2012-05-20T03:20:30-04:00 — #2
After Fetching a Page in rails Console How do i check it in browser please help.
bhatpajju13 — 2012-05-21T10:48:12-04:00 — #3
I am actually a new to ruby on rails i wrote a mechanize action in rails console tell me how to check it in localhost 3000 i dont have any idea please help.
parkint — 2012-05-21T10:53:14-04:00 — #4
In the command window, in your Rails project directory, type
This will start the local (development) server
Then, open your favorite browser and point it to http://localhost:3000
The '3000' is the port your Rails project will respond to requests from your local browser.
bhatpajju13 — 2012-05-21T13:03:42-04:00 — #5
I FETCHED A PAGE IN RAILS CONSOLE USING MECHANIZE ACTION JUST TELL ME SIR WHERE IT GOES AND HOW TO TEST IT I MEAN HOW TO KNOW WHEATHER THE ACTION I CREATED IN RAILS CONSOLE IS FINE OR NOT HOW TO TEST IT IN LOCALHOST BEACUSE WHEN I USE IT NEVER DISPLAYS ANYTHING SHOULD I CREATE ANY MODEL CONTROLLER VIEW FOR IT I AM CONFUSED ........ IT WOULD BE GREAT HELP IF YOU HELP ME.
markbrown4 — 2012-05-26T09:57:35-04:00 — #6
Hi, please don't make multiple posts for the same question.
Mechanise doesn't open the browser and is used for accessing remote sites (not localhost)
capybara and selenium-webdriver do open up the browser and show you what is happening.
If you are trying to run scripts that open up the browser and test your application use Cucumber and selenium-webdriver