Re: [Wtr-general] Parameterization

2006-11-27 Thread Željko Filipin
On 11/27/06, sikander <[EMAIL PROTECTED]> wrote: could u expalin me how to do that in detail? -- *From:* <[EMAIL PROTECTED]>jackei** I suggest that you can use CSV or XML I suggest that you use yaml (http://yaml4r.sourceforge.net/cookbook/). I use it. -- Zeljko

Re: [Wtr-general] Parameterization

2006-11-27 Thread Christian Baumann
:* wtr-general@rubyforge.org *Subject:* Re: [Wtr-general] Parameterization I suggest that you can use CSV or XML rather than Excel, because the Watir's script won't execute if your machines haven't installed Excel. On 11/27/06, *Željko Filipin* <[EMAIL PROTECTED] <ma

Re: [Wtr-general] Parameterization

2006-11-27 Thread sikander
could u expalin me how to do that in detail? _ From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of jackei Sent: Monday, November 27, 2006 7:20 PM To: wtr-general@rubyforge.org Subject: Re: [Wtr-general] Parameterization I suggest that you can use CSV or XML rather than

Re: [Wtr-general] Parameterization

2006-11-27 Thread jackei
I suggest that you can use CSV or XML rather than Excel, because the Watir's script won't execute if your machines haven't installed Excel. On 11/27/06, Željko Filipin <[EMAIL PROTECTED]> wrote: I do not know how to use Excel, but this is how you could simplify your code (tested). searches

Re: [Wtr-general] Parameterization

2006-11-27 Thread Željko Filipin
I do not know how to use Excel, but this is how you could simplify your code (tested). searches = ["pickaxe", "Ruby", "Watir", "Watir and Ruby"] searches.each do |search| ie.text_field(:name, "q").set(search) ie.button(:name, "btnG").click end -- Zeljko Filipin zeljkofilipin.com ___

[Wtr-general] Parameterization

2006-11-27 Thread sikander
Hi All! Here is the my code, for which i need parameterization require 'watir' require 'win32ole' include Watir test_site = 'http://www.google.com' ie = IE.new ie.goto(test_site) #Search 1 ie.text_field(:name, "q").set("pickaxe") ie.button(:name, "btnG").click

Re: [Wtr-general] Parameterization of data in the watir

2006-09-21 Thread Adrian Lewis
> We are using watir in our project, and we want to do the > Parameterization for few things in the script using excel sheet. Before I run my tests, I input test data through the GUI, using a CSV. Here is some code, but a pretty simple thing to do. def enter_employees() ObjectMap.new.instance_

Re: [Wtr-general] Parameterization of data in the watir

2006-09-21 Thread Sathya Shankar
Hi, Its seems that you have got throughly confused with WET-UI and WET-core.  WET-core support almost all types of HTML objects.  WET-UI helps the scriptors to reduce the learning curve and is still in the beta stage/development stage.  That is the reason why you don't find enough documentatio

Re: [Wtr-general] Parameterization of data in the watir

2006-09-21 Thread Zeljko Filipin
The last two times you asked this question, you were suggested to take a look at these pages:http://wiki.rubygarden.org/Ruby/page/show/ScriptingExcel http://www.rubycentral.com/book/win32.htmlThey were not helpful? ___ Wtr-general mailing list Wtr-genera

[Wtr-general] Parameterization of data in the watir

2006-09-21 Thread Sanjay kumar Rai
Hi, We are using watir in our project, and we want to do the Parameterization for few things in the script using excel sheet, if possible then can anyone share there code or the procedure to how to do the Parameterization using the excel sheet. Earlier also I have asked the same question and I wa

Re: [Wtr-general] Parameterization of data in watir.

2006-08-31 Thread Chris McMahon
We are using watir in our project, and we want to do the Parameterization for few things in the script using excel sheet, if possible then can anyone share there code or the procedure to how to do the Parameterization using the excel sheet. Any help would be highly appreciated. http://wiki.rubyga

Re: [Wtr-general] Parameterization of data in watir.

2006-08-31 Thread Sathya Shankar
Title: Parameterization of data in watir. Hi, Look at wet the framework for watir.  This has got all the options pertaining to the datatable. Let me know any issues. Sanjay kumar Rai wrote: Hi, We are using watir in our project, and we want to do the Parameterization fo

[Wtr-general] Parameterization of data in watir.

2006-08-31 Thread Sanjay kumar Rai
Title: Parameterization of data in watir. Hi, We are using watir in our project, and we want to do the Parameterization for few things in the script using excel sheet, if possible then can anyone share there code or the procedure to how to do the Parameterization using the excel sheet. An