Hi All,

I'm trying to execute the following code.

url = "https://xxx.com";(some url)
ebay_data = Scrubyt::Extractor.define :agent => :firefox  do
 fetch(url)
 fill_textfield field name, value
 record "//tab...@id='header']" do
   name "//inp...@class='req']"
 end
end

Code executes properly for static name of textfield

But the url which i'm trying to fetch is having dynamic name so when i
try to run the code it gives me error:

  Unable to locate element, using :name, ""
(Watir::Exception::UnknownObjectException)

Every time the name changes on refresh. Please suggest me how should I
fill the text field of a url with dynamic text_field name. (Using
Scrubyt)

Thanks
Saurabh
-- 
Posted via http://www.ruby-forum.com/.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to