Hi All, I finally was able to do the coding and set the values for the desired field. Below is the code that I used:
browser.div(:id => "context-wrapper").frame(:id => "ConcertoContext").div(:id => "cpo-folder").div(:class => "cpo-content-wrapper").div(:class => "cpo-content").frame(:id => "application-content").frame(:name => "SearchFilter").div(:class => "dt-filter filter").form(:id => "filterForm").text_field(:id => "attribute.Name-given").set "DEMO" browser.div(:id => "context-wrapper").frame(:id => "ConcertoContext").div(:id => "cpo-folder").div(:class => "cpo-content-wrapper").div(:class => "cpo-content").frame(:id => "application-content").frame(:name => "SearchFilter").div(:class => "dt-filter filter").form(:id => "filterForm").text_field(:id => "attribute.Name-surname").set "HIEONE" browser.div(:id => "context-wrapper").frame(:id => "ConcertoContext").div(:id => "cpo-folder").div(:class => "cpo-content-wrapper").div(:class => "cpo-content").frame(:id => "application-content").frame(:name => "SearchFilter").div(:class => "dt-filter filter").div(:class => "actions").span(:id => "default-button").span(:class => "first-child").button(:id => "default-button-button").click All of the above 3 lines of code takes 3-4 minutes each to execute and by the time the last line executes the browser session expires. Please let me know if there is a quicker and smarter solution. thanks in advance...!!! On Wednesday, January 8, 2014 1:48:45 AM UTC-5, Sanjeev Singh wrote: > > Hi All, > > I am getting the below error when I type the below code > irb > require "watir" > ie = Watir::Browser.new :ie > ie.goto "http://www.google.com" > #till this point it works fine > > ie.show_all_objects gives the error "NoMethodError: undefined method > 'show_all_objects' for #<Watir::Browser:0x28.............." > > Any help on this will be greatly appreciated. > > > thanks..!! > -- -- Before posting, please read http://watir.com/support. In short: search before you ask, be nice. [email protected] http://groups.google.com/group/watir-general [email protected] --- You received this message because you are subscribed to the Google Groups "Watir General" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/groups/opt_out.
