@browser.send_keys :return Might work too Roman Rodriguez <[email protected]> wrote: > > >On Fri, Sep 26, 2014 at 11:53 AM, Sudarshan Study <[email protected]> >wrote: > >def search_emp(id) > > >#self.emp_id = id > > >@browser.send_keys [self.emp_id=id , :enter] > >end > > >I think you could try something like this: > > > > >def search_emp(id) > > > self.emp_id_element.clear > > > > >self.emp_id = id > > > self.emp_id_element > >.send_keys [ :enter] > >end > > >Regards > > > > >Román Rodriguez > > > >Skype: roman.g.rodriguez > > >Por favor tome en cuenta el medio ambiente antes de imprimir este e-mail, >recicle hojas, imprima de ambos lados. > >-- >-- >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.
