Can you elaborate the problem a little more, may be some screenshots, so that I can have an idea about what you are trying to do.
On Tue, Aug 4, 2009 at 11:05 PM, Valeria <[email protected]> wrote: > I tried it, but I got same result :( > I dont know what else can i do... > > > 2009/8/4 Smruti Ranjan Kar <[email protected]> > >> Try click_no_wait instead of click. >> >> On Tue, Aug 4, 2009 at 9:17 PM, Valeria <[email protected]> wrote: >> >>> May be its important to say that the windows are not modal >>> >>> 2009/8/4 Valeria <[email protected]> >>> >>> Thanks a lot Smruti but I try use: >>>> >>>> require 'watir/contrib/enabled_popup' >>>> >>>> -------- >>>> hwnd1 = $ie.enabled_popup(10) >>>> $ie.link(:url, "the url").click >>>> -------- >>>> >>>> and I get this error message: >>>> >>>> "Timed out after 10.5 seconds" >>>> >>>> what can i do? >>>> thks >>>> valeria >>>> >>>> pd.: same error if I put: >>>> $ie.link(:url, "the url").click >>>> hwnd1 = $ie.enabled_popup(10) >>>> >>>> >>>> >>>> 2009/8/4 Smruti Ranjan Kar <[email protected]> >>>> >>>> Either use >>>>> >>>>> require 'watir/contrib/enabled_popup' >>>>> >>>>> >>>>> >>>>> >>>>> and >>>>> hwnd1 = browser.enabled_popup(5) >>>>> >>>>> Or use AutoITand WinGetHandle method >>>>> >>>>> >>>>> On Tue, Aug 4, 2009 at 7:55 PM, Vale <[email protected]> wrote: >>>>> >>>>>> >>>>>> Hello everyone Im new at ruby/watir and im trying to do a performance >>>>>> test. >>>>>> To do this I have to run a lot of script concurrently. >>>>>> My problem is: >>>>>> when I do >>>>>> ie.link(:url,"the url").click >>>>>> this opens a pop up, but how do I now which pop up has open this >>>>>> instance? >>>>>> >>>>>> if I do >>>>>> >>>>>> iePopUp = Watir::IE.attach(:title,"titulo de la pagina") >>>>>> >>>>>> then iePopUp is attached to any of the pages opened concurrently and >>>>>> sometimes two or more attach to the same!! >>>>>> >>>>>> I've seen that I can use attach with hwnd, but how can I know the >>>>>> hwnd of the >>>>>> ie.link(:url,"the url").click ? >>>>>> >>>>>> thanks a lot in advice! >>>>>> valeria santini >>>>>> Uruguay >>>>>> >>>>>> >>>>>> >>>>> >>>>> >>>>> >>>> >>> >>> >>> >> >> >> > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Watir General" group. To post to this group, send email to [email protected] Before posting, please read the following guidelines: http://wiki.openqa.org/display/WTR/Support To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/watir-general -~----------~----~----~----~------~----~------~--~---
