[wtr-general] Re: Need help with verifying if text exists!

2009-01-27 Thread Karthikeyan Margam
Thank you. Margam On Tue, Jan 27, 2009 at 12:48 PM, Tiffany Fodor tcfo...@comcast.net wrote: Yep, you've got it right. In it's default form, you can't specify a success message for the verify method. If you really needed to, however, you could extend the method to do this. -Tiffany

[wtr-general] Re: How to create a Hash Table using CSV or FaterCSV

2009-01-14 Thread Karthikeyan Margam
Hi Alex, Thank you very much for the explanation. Margam On Tue, Jan 13, 2009 at 11:39 PM, Alex Collins a.j.collins...@gmail.comwrote: My apologies - knocked send whilst getting onto the train. In this case, you are using the CSV modules to load strings as key/ value pairs into a hash

[wtr-general] Re: How to store data from a CSV file into an array

2009-01-13 Thread Margam
the following, but did not work: array=[] CSV::Reader.parse(File.open('gmail.csv')) { |row| array [1][1] } CSV::Reader.parse(File.open('gmail.csv')) { |row| array ['r1c1'] } Can anyone help me? How should I be specifying the row and columns to be saved in the array? Thank you very much. Margam On Jan

[wtr-general] Re: How to store data from a CSV file into an array

2009-01-13 Thread Karthikeyan Margam
. Margam On Tue, Jan 13, 2009 at 12:32 PM, Bill Agee billa...@gmail.com wrote: Hey, One way to do this is to use a counter while iterating over the rows: require 'csv' array = [] row_count = 0 CSV::Reader.parse(File.open('foo.csv')) do |row| row_count += 1 # Don't save the value

[wtr-general] How to create a Hash Table using CSV or FaterCSV

2009-01-13 Thread Margam
the values in column 2 using the Key on column 1. I want to do this, as the CSV file may keep changing. Also how to access the Hash keys(or use them in the script)? Kindly provide guidance. Thank you Margam --~--~-~--~~~---~--~~ You received this message because you

[wtr-general] Re: How to create a Hash Table using CSV or FaterCSV

2009-01-13 Thread Margam
the output has the double quotes? Hope my questions are clear. Thank you. Margam On Jan 13, 3:58 pm, Margam nk.mar...@gmail.com wrote: Hello All, I have been recently learning to use both the CSV module and the FasterCSV gem to create an array from a CSV file. Say my CSV file(file.csv) looks

[wtr-general] Re: How to create a Hash Table using CSV or FaterCSV

2009-01-13 Thread Margam
Sorry for asking Ruby questions in Watir group. But figured, somebody would be able to help me. Thanks once again On Jan 13, 5:19 pm, Margam nk.mar...@gmail.com wrote: Follow Up Hello All, After googling for some time, I found an easy way to get the data into an Hash. Thanks to One Mr.Ryan

[wtr-general] How to store data from a CSV file into an array

2009-01-08 Thread Margam
element. Is there an easier and better (shorter) way to achieve this? Please help. Thank you Margam --~--~-~--~~~---~--~~ 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

[wtr-general] Re: Problem installing safariwatir on OS X version 10.5.5

2008-12-21 Thread Margam
Hello, Everything works fine now. I had to download and install the Xcode tool. Then SafariWatir installed fine. Thank you for the hint. Margam On Dec 19, 1:15 pm, Margam nk.mar...@gmail.com wrote: Hello, I am very new for Mac machines, and this is a loan machine. So I do not have any

[wtr-general] Re: Problem installing safariwatir on OS X version 10.5.5

2008-12-19 Thread Margam
. Margam On Dec 19, 1:02 pm, Alex Collins a.j.collins...@gmail.com wrote: Have you installed the developer tools? These are available on the OS   X install CD or you can download them from ADC. Alex On 19 Dec 2008, at 19:38, Margam nk.mar...@gmail.com wrote: Hello all, I am trying to install

[wtr-general] Re: How to handle file download popups in Firefox?

2008-12-18 Thread Margam
Hey guys, Thanks for the input. I will certainly try, as soon as I finish with my current project. Thanks. Margam On Dec 18, 3:56 am, al3kc aleks.kiev...@gmail.com wrote: onhttp://www.autoitscript.com/forum/index.php?showtopic=81915hl=firefo... I have found next code: ControlClick(Opening

[wtr-general] Re: How to handle file download popups in Firefox?

2008-12-17 Thread Margam
buttons (Open with and Save File) in the popup. The default being Save File works for me now. But how do I choose the other option? Also how to check a check box in the popup. Thank you very much once again. Margam On Dec 17, 2:41 am, al3kc aleks.kiev...@gmail.com wrote: Hi, I use next code

[wtr-general] Re: How to handle file download popups in Firefox?

2008-12-16 Thread Margam
Hello Everyone, Can someone help me with this issue please. I need this working very desperately for my project. Thank you very much. Margam On Dec 15, 2:40 pm, Margam nk.mar...@gmail.com wrote: Hello Everyone, I have been trying to handle File Download pops in FF browser. I had posted

[wtr-general] Re: It displays error message when I use method bring_to_front.

2008-12-15 Thread Margam
Hey Tony, Everything's working fine now. The regsvr32 file was located in C:\Windows\system32 folder. I had copied it to the folder where AutoItX3.dll file is located and executed the command. Scripts run fine now. I do NOT get the error anymore. Thank you for the help. Margam On Dec 13, 8:45

[wtr-general] How to handle file download popups in Firefox?

2008-12-15 Thread Margam
any errors. But the same code works great with IE. Can someone help in pointing the problem here? Also how to control Radio buttons using AutoIt (for the same file download popup). Thank you very much. Margam --~--~-~--~~~---~--~~ You received this message because

[wtr-general] Re: set watir_browser=ie is not working

2008-12-13 Thread Margam
), the script works fine with both IE and FF. Thank you everyone for the all the replies. Margam On Dec 12, 11:08 pm, marekj marekj@gmail.com wrote: On Thu, Dec 11, 2008 at 6:14 PM, Margam nk.mar...@gmail.com wrote: Hi John, So I tried using require 'watir/browser' in my script and set

[wtr-general] Re: It displays error message when I use method bring_to_front.

2008-12-12 Thread Margam
' is not a recognized as an internal or external command, operable program or batch file. I typed this command from C:\ruby\lib\ruby\gems\1.8\gems \watir-1.6.2\lib\watir Can anyone point out what mistake I am doing? Thank you Margam On Nov 13, 11:47 pm, Tony ynot...@gmail.com wrote: Hi Wesley, Try

[wtr-general] Re: set watir_browser=ie is not working

2008-12-11 Thread Margam
. Am I doing something wrong. Also for the time being I am doing to just change the default browser from the script itself (which works fine). Thank you Margam On Dec 11, 9:46 am, John Fitisoff jfitis...@yahoo.com wrote: I think the problem is that you are requiring watir rather than watir

[wtr-general] set watir_browser=ie is not working

2008-12-10 Thread Margam
=ie browser = Watir::Browser.new browser.goto(http://www.hotmail.com;) -- But keep getting the following error: - undefined method `set' for main:Object (NoMethodError) - What am I doing wrong? Should I require any other library? Thank you. Margam

[wtr-general] Re: set watir_browser=ie is not working

2008-12-10 Thread Margam
Helper Frameworkhttp://www.bitbucket.org/marekj/watirloo/ for IE, Firefox and others? On Wed, Dec 10, 2008 at 6:45 PM, Margam [EMAIL PROTECTED] wrote: HI All, I am trying to write one script that will work on both IE and FF. As per the link: http://wiki.openqa.org/display/WTR

[wtr-general] Popup is not shown and the script times out!

2008-11-24 Thread Margam
HI all, I am new to Watir and am still in the process of learning (with the examples in the site: http://wiki.seleniumhq.org/display/WTR/Tutorial). I am trying to handle a popup (when deleting email without actually selecting any email for deletion) from the Yahoomail web page. The popup does not