[wtr-general] Re: Cannot use the index in SafariWatir

2009-10-04 Thread Željko Filipin
On Sat, Oct 3, 2009 at 4:37 AM, yuping zhong littlezhong...@gmail.com wrote: Doesn't work. My mistake. 1 should not be quoted. Try this: sf.button(:value=Enter,:index=1).click sf.button(:index=1).click - Željko --~--~-~--~~~---~--~~ You received this

[wtr-general] Re: File Field Help

2009-10-04 Thread Raveendran P
Hi Bill, That code sets properly. Its working exactly . But i need alternate way to do this. Because The upload button is not enabled automatically after set the p[ath via like this. For more details 1. Login youtube. 2. Uninstall Fal;sh player in your machine 3. Goto upload video page. 4.

[wtr-general] Re: File Field Help

2009-10-04 Thread Raveendran P
Hi Bill, For more details, The same code working in WATIR: $ie.file_field(:name, field_uploadfile).set($video_files[0]) $ie.span(:text, 'Upload Video').click Here i can able to click the Upload Video span . Because it is enabled after set the file_field path. But the same code not