[wtr-general] Re: how simulate click the calendar day?

2009-05-27 Thread Željko Filipin
I do not see the select list that has option 12 in the image you have sent. Željko --~--~-~--~~~---~--~~ 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@googlegroup

[wtr-general] Re: how simulate click the calendar day?

2009-05-26 Thread Željko Filipin
On Tue, May 26, 2009 at 5:33 AM, wrote: > ie.select_list(:id,"begdate").click > ie.select_list(:id,"calendaryear").select("2009") > ie.select_list(:id,"calendarmonth").select("06") My Watir script can not find this elements on the page that you have sent the link to. Are you sure you have sent th

[wtr-general] Re: how simulate click the calendar day?

2009-05-25 Thread Željko Filipin
On Mon, May 25, 2009 at 3:55 AM, lnl wrote: > like this date control,top of the web,how to simulate click the'12'? This worked for me: browser.link(:text, "12").click Please read this: http://wiki.openqa.org/display/WTR/Links Željko -- http://watirpodcast.com/ --~--~-~--~~---

[wtr-general] Re: how simulate click the calendar day?

2009-05-24 Thread lnl
It is a table,thanks On 5月25日, 上午10时23分, Wesley Chen wrote: > It is not enough if you just provide the JS. > Generally, if you would like to click the calendar, we have to do: > 1. Identity what the calendar is, a frame? or just a table; > 2. If it is a frame, you have to: > $ie.frame( ).table(

[wtr-general] Re: how simulate click the calendar day?

2009-05-24 Thread Wesley Chen
It is not enough if you just provide the JS. Generally, if you would like to click the calendar, we have to do: 1. Identity what the calendar is, a frame? or just a table; 2. If it is a frame, you have to: $ie.frame( ).table( )[3][4].click Thanks. Wesley Chen. --~--~-~--~~---

[wtr-general] Re: how simulate click the calendar day?

2009-05-24 Thread lnl
like this date control,top of the web,how to simulate click the'12'? thanks. http://www.cnblogs.com/qianbao/archive/2008/03/12/1102470.html On 5月22日, 下午5时46分, Željko Filipin wrote: > On Fri, May 22, 2009 at 5:53 AM, lnl wrote: > > In date control,I could simulate select 'year',select 'month', >

[wtr-general] Re: how simulate click the calendar day?

2009-05-22 Thread Željko Filipin
On Fri, May 22, 2009 at 5:53 AM, lnl wrote: > In date control,I could simulate select 'year',select 'month', > but how to simulate click the day? And you expect us to guess how your date control looks like? :) Please, share a link, html and/or screen shot (all three if possible). Also, your code