Hi Ethan, Can you please explain how can i integrate Vapir in my Watir framework? I just want to use attach method from vapir.
Can you show me sample command for attaching a window in Vapir? Thank you On Tue, Aug 3, 2010 at 5:13 AM, Ethan <[email protected]> wrote: > Vapir should be almost entirely compatible with Watir, so a framework > written for Watir should not require much change, if any, to work with > Vapir. see > > http://wiki.github.com/vapir/vapir/coming-from-watir > > and > > http://wiki.github.com/vapir/vapir/differences-from-watir-api > > > On Wed, Jul 28, 2010 at 02:06, Amit Kumar <[email protected]> wrote: > >> Hi Ethan, >> >> My whole framework has been written in Watir.. So, at this point i can't >> use Vapir. >> >> Guys, is there any other solution to attach multiple browser at a time? >> >> Thank You >> >> >> >> >> >> On Mon, Jul 26, 2010 at 10:58 PM, Ethan <[email protected]> wrote: >> >>> I'd recommend Vapir-Firefox, which is a fork of FireWatir which I have >>> updated and improved a lot. See the site for Vapir at http://vapir.org/ >>> >>> -Ethan >>> >>> On Mon, Jul 26, 2010 at 07:07, Amit Kumar <[email protected]> wrote: >>> >>>> Hi All! >>>> >>>> I'm using Firewatir 1.6.5 >>>> I want to test an web application which open a pop up window. >>>> I want to attach this pop up window with firewatir. So, i have written >>>> below code: >>>> >>>> require 'firewatir' >>>> ff =FireWatir::Firefox.new >>>> ff.goto("www.example.com") >>>> ff.link(:text,"Pop_up).click >>>> ff2= FireWatir::Firefox.attach(:title,"New Pop Up Window") >>>> >>>> Now, the problem is... After attaching new pop up window, firewatir >>>> loose control over parent window. It remember only pop up window which have >>>> attached recently and forget parent window. So, i can't access parent >>>> application anymore. >>>> >>>> eg: puts ff.title ==> "New Pop Up Window" >>>> puts ff2.title ==> "New Pop Up Window" >>>> >>>> It doesn't return window title of parent window. >>>> >>>> Any comments or solution?? >>>> >>>> Thank You >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> -- >>>> Before posting, please read http://watir.com/support. In short: search >>>> before you ask, be nice. >>>> >>>> You received this message because you are subscribed to >>>> http://groups.google.com/group/watir-general >>>> To post: [email protected] >>>> To unsubscribe: >>>> [email protected]<watir-general%[email protected]> >>>> >>> >>> -- >>> Before posting, please read http://watir.com/support. In short: search >>> before you ask, be nice. >>> >>> You received this message because you are subscribed to >>> http://groups.google.com/group/watir-general >>> To post: [email protected] >>> To unsubscribe: >>> [email protected]<watir-general%[email protected]> >>> >> >> -- >> Before posting, please read http://watir.com/support. In short: search >> before you ask, be nice. >> >> You received this message because you are subscribed to >> http://groups.google.com/group/watir-general >> To post: [email protected] >> To unsubscribe: >> [email protected]<watir-general%[email protected]> >> > > -- > Before posting, please read http://watir.com/support. In short: search > before you ask, be nice. > > You received this message because you are subscribed to > http://groups.google.com/group/watir-general > To post: [email protected] > To unsubscribe: > [email protected]<watir-general%[email protected]> > -- Before posting, please read http://watir.com/support. In short: search before you ask, be nice. You received this message because you are subscribed to http://groups.google.com/group/watir-general To post: [email protected] To unsubscribe: [email protected]
