[wtr-general] Re: Extension for testing flash applications with Watir
There is also great framework available for IE (I don't know if it works for Firefox too) called funfx. It has API similar to Watir, which makes it a great tool for testing flex (flash): http://funfx.rubyforge.org/ On Dec 21, 12:41 pm, sai wrote: > You must be able to test any kind of flash application with it as long > as you are able to expose the method you want to test on the flash > using ExternalInterface. I have tested a flex application which I > wrote. > > You can give it a try. If you have any questions or get into some > problem please let me know. > > Regards, > Sai > > On Dec 19, 8:44 pm, maven999 wrote: > > > Hi Sai, > > > Great effort! Can you tell me if I can test different types of Flash > > apps with your extension? For example, Flex graphs? > > > Thanks! > > > On Dec 19, 8:24 am, Wilson Xu wrote: > > > > Thank you for your response quickly, it makes sense. > > > > Wilson Xu > > > > On Dec 19, 7:05 pm, sai wrote: > > > > > Sorry. I meant you will not be able to test any flash application on > > > > internet :). > > > > My mistake. Please refer the ExternalInterface section of the wiki to > > > > understand the testability of flash application. > > > > > Regards, > > > > Sai > > > > > On Dec 19, 1:55 pm, sai wrote: > > > > > > You will be able to test any flash application available on the > > > > > internet. Checkout the ExternalInterface section of the doc in the > > > > > project. You must be able to get info about testability in flash > > > > > application. Please let me know if you need any info. > > > > > > Regards, > > > > > Sai > > > > > > On Dec 19, 9:46 am, Wilson Xu wrote: > > > > > > > Can you write the sample code to show me how do you verify the add > > > > > > method in the following > > > > > > website.http://www.terrence.com/flash/calculator.html > > > > > > > Thank you very much. > > > > > > Wilson Xu > > > > > > > On Dec 19, 12:27 pm, sai wrote: > > > > > > > > Doing validations is up to you. You can work with and get the > > > > > > > result > > > > > > > from the flash app using flash watir and then user assert for > > > > > > > comparison if you use any xunit framework. > > > > > > > If not you can use a simple if statement for comparison > > > > > > > > Please let me know if you need more info. > > > > > > > > Regards, > > > > > > > Sai > > > > > > > > On Dec 19, 12:23 pm, Wilson Xu > > > > > > > wrote: > > > > > > > > > Is there any validation methods that verify actual and expect > > > > > > > > result? > > > > > > > > For example, there is a flash calculator in the webpage, I want > > > > > > > > to > > > > > > > > verify one add one is equal two, can flash-watir can support > > > > > > > > these > > > > > > > > operations? > > > > > > > > > Wilson > > > > > > > > > On Dec 17, 7:10 pm, sai wrote: > > > > > > > > > > Hi Guys, > > > > > > > > > > I have written an extension for Watir for testing flash > > > > > > > > > applications. > > > > > > > > > You > > > > > > > > > can get more details athttp://code.google.com/p/flash-watir. > > > > > > > > > As of > > > > > > > > > now it > > > > > > > > > supports only firefox. I am working on the IE version now. > > > > > > > > > The documentation of usage as well its working is available > > > > > > > > > in the > > > > > > > > > wiki > > > > > > > > > pages of the project. The source is available for download as > > > > > > > > > gem as > > > > > > > > > well as > > > > > > > > > in SVN for checkout. > > > > > > > > > > Please let me know your thoughts and feedback. > > > > > > > > > > Also I will be writing about this in Watir wiki for people to > > > > > > > > > refer. > > > > > > > > > > Thank you > > > > > > > > > > Regards, > > > > > > > > > Sai > > > > > > > > > > P.S. I am also working on Silverlight extension for watir :) --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Watir General" group. To post to this group, send email to watir-general@googlegroups.com Before posting, please read the following guidelines: http://wiki.openqa.org/display/WTR/Support To unsubscribe from this group, send email to watir-general-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/watir-general -~--~~~~--~~--~--~---
[wtr-general] Unable to Identify Frame in watir 1.6.2.
Hi All, My Scripts use to work fine on watir 1.5.6 without any problem. I have recently installed 1.6.2 on another machine and tried to run the same script on the new version. I have got the following error ">`method_missing': document (WIN32OLERuntimeError)" Unable to indetify frame. Here is my Script: Leftframe=$ie.frame(:name, "middle").frame(:name, "left").form(:name, "edesk_menu").div(:id, "mainPanel") Leftframe.button(:src, "http://192.168.0.192/edesk50.p/images/ ProductButtons/prdct_btn_chargeback_active.gif").click What could be the problem. Is scripts generated in 1.5.6 version are not compatible with 1.6.2? Please help. Thanks and Regards, Parvez Ahammed. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Watir General" group. To post to this group, send email to watir-general@googlegroups.com Before posting, please read the following guidelines: http://wiki.openqa.org/display/WTR/Support To unsubscribe from this group, send email to watir-general-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/watir-general -~--~~~~--~~--~--~---
[wtr-general] Re: persistant 'about:blank' window on Vista.
ie=Watir::IE.attach(:title,//) ie.goto("www.gmail.com") Thanks. Wesley Chen. On Mon, Dec 29, 2008 at 9:52 AM, wesley chen wrote: > > Thanks. > Wesley Chen. > > > > On Sat, Dec 27, 2008 at 10:40 PM, aidy lewis wrote: > >> >> Hi, >> >> I am not currently at home, so I am on a Vista machine. >> >> Has anyone seen a persistant 'about:blank' ie window on Vista? >> >> require 'watir' >> Watir::Browser.default = "ie" >> browser = Watir::Browser.new >> browser.goto("www.gmail.com") >> >> (left with two ie windows: about:blank and gmail) >> >> Aidy >> >> >> >> > --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Watir General" group. To post to this group, send email to watir-general@googlegroups.com Before posting, please read the following guidelines: http://wiki.openqa.org/display/WTR/Support To unsubscribe from this group, send email to watir-general-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/watir-general -~--~~~~--~~--~--~---
[wtr-general] Re: persistant 'about:blank' window on Vista.
Thanks. Wesley Chen. On Sat, Dec 27, 2008 at 10:40 PM, aidy lewis wrote: > > Hi, > > I am not currently at home, so I am on a Vista machine. > > Has anyone seen a persistant 'about:blank' ie window on Vista? > > require 'watir' > Watir::Browser.default = "ie" > browser = Watir::Browser.new > browser.goto("www.gmail.com") > > (left with two ie windows: about:blank and gmail) > > Aidy > > > > --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Watir General" group. To post to this group, send email to watir-general@googlegroups.com Before posting, please read the following guidelines: http://wiki.openqa.org/display/WTR/Support To unsubscribe from this group, send email to watir-general-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/watir-general -~--~~~~--~~--~--~---
[wtr-general] FireWatir Installation
Hi, Can anyone please have a quick look at this to see if it is accurate? http://github.com/aslakhellesoy/cucumber/wikis/setting-up-firewatir I am explicitly using the word FireWatir because: 1. Many people still think Watir is just Windows and IE 2. Many of the Rspec guys use Macs and\or GNU\Linux. Thanks Aidy --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Watir General" group. To post to this group, send email to watir-general@googlegroups.com Before posting, please read the following guidelines: http://wiki.openqa.org/display/WTR/Support To unsubscribe from this group, send email to watir-general-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/watir-general -~--~~~~--~~--~--~---
[wtr-general] Re: figured it out Re: stupid install problem
I didn't think so either. I had just installed it a few weeks ago on the exact same configuration. -- Lisa On Sat, Dec 27, 2008 at 10:49 PM, Charley Baker wrote: > Strange, you shouldn't have to do that in Windows. The one click installer > used to do it. > -c > > > On Fri, Dec 26, 2008 at 1:43 PM, Lisa Crispin wrote: > >> I had to add RUBYOPT -rubygems to my environment variables - I have NO >> memory of ever doing that before, did Watir or Ruby change, or are my brain >> cells just dying off faster than usual? Sigh. >> >> On Fri, Dec 26, 2008 at 2:29 PM, Lisa Crispin wrote: >> >>> Hi all, >>> My mac had a hard disk disaster, and only after that did I discover I had >>> had a time machine backup disaster earlier, so I didn't have a backup from >>> after I got watir working on my vmware windows xp on the mac. >>> >>> I reinstalled using the same steps I had done a few weeks back, but my >>> watir scripts don't work, I get an error that watir isn't found. When I do >>> irb and require 'watir', I get this: >>> irb(main):001:0> require 'watir' >>> LoadError: no such file to load -- watir >>> from (irb):1:in `require' >>> from (irb):1 >>> >>> I see emails on this list saying you have to require 'rubygems' before >>> require 'watir', and that *does* work, however, I never did that before. >>> >>> Do I now have to go edit every Watir script I have and add require >>> 'rubygems'? And is that going to work on a real PC? (I'm at home where I >>> don't have a PC right now). >>> >>> I've never had problems like this installing watir - I have the latest of >>> both Ruby and Watir >>> ruby 1.8.6 patch level 287 >>> watir 1.6.2 >>> >>> I installed per the instructions on >>> http://wtr.rubyforge.org/install.html >>> >>> This stuff only happens to me when I'm at home and have no other options! >>> :-< >>> >>> Thanks, >>> Lisa >>> >>> Thanks, >>> Lisa >>> >>> >> >> >> >> >> >> > > > > -- Lisa Crispin Co-author with Janet Gregory, _Agile Testing: A Practical Guide for Testers and Agile Teams_ (Addison-Wesley 2009) http://lisacrispin.com --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Watir General" group. To post to this group, send email to watir-general@googlegroups.com Before posting, please read the following guidelines: http://wiki.openqa.org/display/WTR/Support To unsubscribe from this group, send email to watir-general-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/watir-general -~--~~~~--~~--~--~---
[wtr-general] Re: Framework
Hi, 2008/12/28 Charley Baker : > There are also some frameworks built around watir which you might take a > look at, here are a couple of links: > Cucumber - the next generation of RSpec story runner, Aidy also posted an I have done some work on this today: Instead of mapping objects in an external folder as exampled here: http://wiki.openqa.org/display/WTR/Framework+that+objects+models+AUT I have encapsulated each object\action within a step and re-used the steps for more declarative acceptance criteria. I have also added an 'After' hook to close the browser after each scenario. http://code.google.com/p/cucumber-and-watir/ Thanks Aidy --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Watir General" group. To post to this group, send email to watir-general@googlegroups.com Before posting, please read the following guidelines: http://wiki.openqa.org/display/WTR/Support To unsubscribe from this group, send email to watir-general-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/watir-general -~--~~~~--~~--~--~---