<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/'><id>tag:blogger.com,1999:blog-4025315227623560366.post40653090823215616..comments</id><updated>2009-05-04T21:54:01.378-07:00</updated><title type='text'>Comments on Peter's to did: Use FunFX together with Watir</title><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://peternic.blogspot.com/feeds/40653090823215616/comments/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4025315227623560366/40653090823215616/comments/default'/><link rel='alternate' type='text/html' href='http://peternic.blogspot.com/2008/06/use-funfx-together-with-watir.html'/><author><name>Peter Motzfeldt</name><uri>http://www.blogger.com/profile/05638980545092364514</uri><email>noreply@blogger.com</email></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>5</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-4025315227623560366.post-6491505460055077533</id><published>2009-05-04T21:54:00.000-07:00</published><updated>2009-05-04T21:54:00.000-07:00</updated><title type='text'>hi Peter,
Could you please tell me the process to ...</title><content type='html'>hi Peter,&lt;br /&gt;Could you please tell me the process to access the widgets in a module container. I have one module container in that i am having two widgets CustSearch,ItemSearch. so could you please help me.....</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4025315227623560366/40653090823215616/comments/default/6491505460055077533'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4025315227623560366/40653090823215616/comments/default/6491505460055077533'/><link rel='alternate' type='text/html' href='http://peternic.blogspot.com/2008/06/use-funfx-together-with-watir.html?showComment=1241499240000#c6491505460055077533' title=''/><author><name>FunFXLerner</name><uri>http://www.blogger.com/profile/04444389150733208101</uri><email>noreply@blogger.com</email></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://peternic.blogspot.com/2008/06/use-funfx-together-with-watir.html' ref='tag:blogger.com,1999:blog-4025315227623560366.post-40653090823215616' source='http://www.blogger.com/feeds/4025315227623560366/posts/default/40653090823215616' type='text/html'/></entry><entry><id>tag:blogger.com,1999:blog-4025315227623560366.post-6539771226715561764</id><published>2008-10-20T09:35:00.000-07:00</published><updated>2008-10-20T09:35:00.000-07:00</updated><title type='text'>And one more problem. I'm testing an application, ...</title><content type='html'>And one more problem. I'm testing an application, which have flex and javascript parts in one window. So, in this case, I use watir to get to the flex part. But don't know how to do this. In examples, it's describes, how to test pure flex window, without javascript or html parts</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4025315227623560366/40653090823215616/comments/default/6539771226715561764'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4025315227623560366/40653090823215616/comments/default/6539771226715561764'/><link rel='alternate' type='text/html' href='http://peternic.blogspot.com/2008/06/use-funfx-together-with-watir.html?showComment=1224520500000#c6539771226715561764' title=''/><author><name>LanOK</name><uri>http://www.blogger.com/profile/10806518455366737496</uri><email>noreply@blogger.com</email></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://peternic.blogspot.com/2008/06/use-funfx-together-with-watir.html' ref='tag:blogger.com,1999:blog-4025315227623560366.post-40653090823215616' source='http://www.blogger.com/feeds/4025315227623560366/posts/default/40653090823215616' type='text/html'/></entry><entry><id>tag:blogger.com,1999:blog-4025315227623560366.post-3670056464457574668</id><published>2008-10-16T04:29:00.000-07:00</published><updated>2008-10-16T04:29:00.000-07:00</updated><title type='text'>Hi, in application I'm testing, main window is wri...</title><content type='html'>Hi, in application I'm testing, main window is written in javascript, and most of flex objects are new windows with buttons "Save", so when my test click "Save", I have an error:&lt;BR/&gt;Error:&lt;BR/&gt;test_control(Test_Administration_analitics_report):&lt;BR/&gt;WIN32OLERuntimeError: unknown property or method `item'&lt;BR/&gt;    HRESULT error code:0x80010108&lt;BR/&gt;      Вызванный объект был отключен от клиентов.&lt;BR/&gt;    C:/ruby/lib/ruby/gems/1.8/gems/FunFX-0.0.4/lib/ie.rb:40:in `method_missing'&lt;BR/&gt;    C:/ruby/lib/ruby/gems/1.8/gems/FunFX-0.0.4/lib/ie.rb:40:in `flex_object'&lt;BR/&gt;    C:/ruby/lib/ruby/gems/1.8/gems/FunFX-0.0.4/lib/funfx.rb:52:in `get_flex_object'&lt;BR/&gt;    C:/ruby/lib/ruby/gems/1.8/gems/FunFX-0.0.4/lib/flex.rb:87:in `flex_object'&lt;BR/&gt;    C:/ruby/lib/ruby/gems/1.8/gems/FunFX-0.0.4/lib/flex.rb:106:in `is_sync'&lt;BR/&gt;    C:/ruby/lib/ruby/gems/1.8/gems/FunFX-0.0.4/lib/xml_parser.rb:157:in `click'&lt;BR/&gt;    C:\Documents and Settings\RubyWorkSpace\Necessary_Minimal_Test/NMT_Administration_analitics_report.rb:73:in `test_control'&lt;BR/&gt;    C:/ruby/lib/ruby/1.8/test/unit/testcase.rb:78:in `__send__'&lt;BR/&gt;    C:/ruby/lib/ruby/1.8/test/unit/testcase.rb:78:in `run'&lt;BR/&gt;    C:/ruby/lib/ruby/1.8/test/unit/testsuite.rb:34:in `run'&lt;BR/&gt;    C:/ruby/lib/ruby/1.8/test/unit/testsuite.rb:33:in `each'&lt;BR/&gt;    C:/ruby/lib/ruby/1.8/test/unit/testsuite.rb:33:in `run'&lt;BR/&gt;    C:/ruby/lib/ruby/1.8/test/unit/testsuite.rb:34:in `run'&lt;BR/&gt;    C:/ruby/lib/ruby/1.8/test/unit/testsuite.rb:33:in `each'&lt;BR/&gt;    C:/ruby/lib/ruby/1.8/test/unit/testsuite.rb:33:in `run'&lt;BR/&gt;    C:/ruby/lib/ruby/1.8/test/unit/ui/testrunnermediator.rb:46:in `run_suite'&lt;BR/&gt;    C:/ruby/lib/ruby/1.8/test/unit/ui/console/testrunner.rb:67:in `start_mediator'&lt;BR/&gt;    (eval):6:in `start'&lt;BR/&gt;    (eval):3:in `__send__'&lt;BR/&gt;    (eval):3:in `start'&lt;BR/&gt;    C:/ruby/lib/ruby/site_ruby/1.8/test/unit/ui/reporter.rb:67:in `run'&lt;BR/&gt;    C:/Documents and Settings/RubyWorkSpace/Necessary_Minimal_Test/NMT_Runner.rb:83</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4025315227623560366/40653090823215616/comments/default/3670056464457574668'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4025315227623560366/40653090823215616/comments/default/3670056464457574668'/><link rel='alternate' type='text/html' href='http://peternic.blogspot.com/2008/06/use-funfx-together-with-watir.html?showComment=1224156540000#c3670056464457574668' title=''/><author><name>LanOK</name><uri>http://www.blogger.com/profile/10806518455366737496</uri><email>noreply@blogger.com</email></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://peternic.blogspot.com/2008/06/use-funfx-together-with-watir.html' ref='tag:blogger.com,1999:blog-4025315227623560366.post-40653090823215616' source='http://www.blogger.com/feeds/4025315227623560366/posts/default/40653090823215616' type='text/html'/></entry><entry><id>tag:blogger.com,1999:blog-4025315227623560366.post-1363853054869362566</id><published>2008-07-09T11:54:00.000-07:00</published><updated>2008-07-09T11:54:00.000-07:00</updated><title type='text'>class InternetExplorer    def initialize(visible, ...</title><content type='html'>class InternetExplorer&lt;BR/&gt;    def initialize(visible, hwnd=nil)&lt;BR/&gt;&lt;BR/&gt;Mistake in my last comment. Forgot to default the hwnd to nil...</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4025315227623560366/40653090823215616/comments/default/1363853054869362566'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4025315227623560366/40653090823215616/comments/default/1363853054869362566'/><link rel='alternate' type='text/html' href='http://peternic.blogspot.com/2008/06/use-funfx-together-with-watir.html?showComment=1215629640000#c1363853054869362566' title=''/><author><name>hmcgowan</name><uri>http://www.blogger.com/profile/15334659140398923852</uri><email>noreply@blogger.com</email></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://peternic.blogspot.com/2008/06/use-funfx-together-with-watir.html' ref='tag:blogger.com,1999:blog-4025315227623560366.post-40653090823215616' source='http://www.blogger.com/feeds/4025315227623560366/posts/default/40653090823215616' type='text/html'/></entry><entry><id>tag:blogger.com,1999:blog-4025315227623560366.post-7101174249299386072</id><published>2008-07-09T08:55:00.000-07:00</published><updated>2008-07-09T08:55:00.000-07:00</updated><title type='text'>I just started using FunFx with some existing Wati...</title><content type='html'>I just started using FunFx with some existing Watir code. Because the Flex widgets are not the main thing I'm testing it was easier for me to attach to them on the fly. &lt;BR/&gt;&lt;BR/&gt;@watir = Watir::IE.new&lt;BR/&gt;@flex = Funfx.instance&lt;BR/&gt;@flex.attach(@watir.ie, true)&lt;BR/&gt;@flex.set_flex_object("flexapplication")&lt;BR/&gt;...etc...&lt;BR/&gt;&lt;BR/&gt;&lt;BR/&gt;These are the extensions to the Flex Framework:&lt;BR/&gt;&lt;BR/&gt;class Funfx &lt; Flex::Base&lt;BR/&gt;  def attach(hwnd, visible=false, browser_type = nil)&lt;BR/&gt;     @browser = Browsers.get_browser(browser_type).new(visible, hwnd)&lt;BR/&gt;  end&lt;BR/&gt;end&lt;BR/&gt;&lt;BR/&gt;class InternetExplorer&lt;BR/&gt;  def initialize(visible, hwnd)&lt;BR/&gt;    sleep($sleep_between_tests)&lt;BR/&gt;    if hwnd&lt;BR/&gt;      @ie = hwnd&lt;BR/&gt;    else&lt;BR/&gt;      @ie = WIN32OLE.new('InternetExplorer.Application')&lt;BR/&gt;    end&lt;BR/&gt;    @ie.visible = visible&lt;BR/&gt;  end&lt;BR/&gt;end</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4025315227623560366/40653090823215616/comments/default/7101174249299386072'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4025315227623560366/40653090823215616/comments/default/7101174249299386072'/><link rel='alternate' type='text/html' href='http://peternic.blogspot.com/2008/06/use-funfx-together-with-watir.html?showComment=1215618900000#c7101174249299386072' title=''/><author><name>hmcgowan</name><uri>http://www.blogger.com/profile/15334659140398923852</uri><email>noreply@blogger.com</email></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://peternic.blogspot.com/2008/06/use-funfx-together-with-watir.html' ref='tag:blogger.com,1999:blog-4025315227623560366.post-40653090823215616' source='http://www.blogger.com/feeds/4025315227623560366/posts/default/40653090823215616' type='text/html'/></entry></feed>