Same performance for Firefox and chrome? What version of watir webdriver? On Jan 6, 2015 4:11 AM, "Andrew Petrenko" <[email protected]> wrote:
> Thanks for reply, but performance is the same. I used your method before, > but it was not helpful. > P.S.: I use watir-webdriver. > > On Monday, January 5, 2015 8:25:16 PM UTC+2, Titus Fortner wrote: >> >> My first question here is to always verify you are using watir-webdriver >> because I can't help with watir-classic. >> >> It looks like you are using several helper methods? What is the >> performance of: >> >> @browser.window(title: 'Add New Plan') do >> @browser.frame(name: 'fraContainer').text_field(id: cntrPlanName).set >> 'Lorem Ipsum' >> @browser.frame(name: 'fraContainer').button(id: 'btnOK').click >> end >> >> Titus >> >> On Mon, Jan 5, 2015 at 12:12 PM, niartseoj <[email protected]> wrote: >> >>> what happens when you remove >>> sleep 2? >>> >>> >>> >>> On Thursday, December 25, 2014 11:51:42 AM UTC-5, Andrew Petrenko wrote: >>>> >>>> Hello. >>>> I have popups with frames (not iframes). And when I set values into >>>> textboxes, selectlists and others it takes about 5 seconds for every >>>> control. >>>> I wonder, is this a defect of watir or there is some other way for >>>> workaround? >>>> >>>> Here is my code: >>>> @browser.window(:title => "Add New Plan").use do >>>> on(AddNewPlan) do |page| >>>> page.in_frame(:name => 'fraContainer') do |frame| >>>> page.text_field_element(:id => 'cntrPlanName', :frame => >>>> frame).value = "Lorem Ipsum" >>>> page.button_element(:id => 'btnOK', :frame => frame).click >>>> sleep 2 >>>> end >>>> end >>>> end >>>> >>> -- >>> -- >>> 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/d/optout. >>> >> >> -- > -- > 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/d/optout. > -- -- 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/d/optout.
