That command is not working. just check the website www.cleartrip.com and please let me know. and i used this command to recognize one calendar, and i need to recognize one more. b.image(:src, "/images/global/calendar_icon.gif").click b.link(:text, 5).click Regards, Madhu
On Tue, Aug 3, 2010 at 6:14 PM, Željko Filipin < zeljko.fili...@wa-research.ch> wrote: > 2010/8/3 madhu kumar <madhu....@gmail.com> > > > Ok but two calendars are there in that website, we can use this one for > one calendar, how can i recognise second one. > > This should work: > > browser.image(:alt => "Calendar", :index => 2).click > > but something is wrong with the page, I can not get the second calendar to > show up even manually. > > Željko > > -- > Before posting, please read http://watir.com/support. In short: search > before you ask, be nice. > > You received this message because you are subscribed to > http://groups.google.com/group/watir-general > To post: watir-general@googlegroups.com > To unsubscribe: > watir-general+unsubscr...@googlegroups.com<watir-general%2bunsubscr...@googlegroups.com> > -- Before posting, please read http://watir.com/support. In short: search before you ask, be nice. You received this message because you are subscribed to http://groups.google.com/group/watir-general To post: watir-general@googlegroups.com To unsubscribe: watir-general+unsubscr...@googlegroups.com