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

Reply via email to