Please find the script below:

require 'watir'
ie=Watir::IE.new
ie.goto("www.makemytrip.com")
ie.link(:href,"http://www.makemytrip.com/international-
flights/").click
ie.text_field(:id,"departure_0").set("Delhi,India-Indira Gandhi Intl
(DEL)")
ie.text_field(:id,"arrival_0").set("Chicago,US-All airports-IL(CHI)")
ie.image(:src,"http://www.makemytrip.com/images/search-for-
flights.gif").click
ie.image(:src,"http://cheapfaresindia.makemytrip.com/international/img/
us/booknow.gif").click


This gets stuck at the second last action. :(

On May 8, 10:36 am, Isabel <joybe...@gmail.com> wrote:
> Hi all,
>
> i am unable to attach on the results page ofwww.makemytrip.com.
> Whenever I search for a particular flight and want to sort the
> results, watir apparently gets hung on the results page...
>
> Please let me know why this is so...
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Watir General" group.
To post to this group, send email to watir-general@googlegroups.com
Before posting, please read the following guidelines: 
http://wiki.openqa.org/display/WTR/Support
To unsubscribe from this group, send email to 
watir-general-unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/watir-general
-~----------~----~----~----~------~----~------~--~---

Reply via email to