Hi Sikander, Google should be your friend on the search for some good ruby tutorials. The archive of this mailing list has always been a good resource for me.
Christian On 12/4/06, sikander <[EMAIL PROTECTED]> wrote: > > > > 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) > > ie.text_field(:name, "q").set("pickaxe") > ie.button(:name, "btnG").click > > [Note: In QTP to parameterize the above value, we write the following code > Browser("Google").Page("Google").WebEdit("q").Set > DataTable("p_Text", dtGlobalSheet) > Browser("Google").Page("Google").WebButton("Google > Search").Click > > So can anybody replace the above code with ruby syntax? > > > _______________________________________________ > Wtr-general mailing list > [email protected] > http://rubyforge.org/mailman/listinfo/wtr-general > > _______________________________________________ Wtr-general mailing list [email protected] http://rubyforge.org/mailman/listinfo/wtr-general
