[wtr-general] firewatir- I cannot close the second popup.

2009-11-13 Thread Shlomit Gazit
Hello, I am trying to handle popups with firewatir. My scenario is clicking on delete button, a popup confirmation will open and I should click "ok". After that a second popup will open and I should write the reason and click "ok". So far I was able to click on the delete button and the second

[wtr-general] Re: Calling def cases into a Class

2009-11-13 Thread orde
Also, check out http://www.ruby-doc.org/core/classes/Test/Unit.html. Hope it helps. On Nov 13, 3:10 pm, Tiffany Fodor wrote: > Also, you'll need to require the test file (with a relative path, if > it's not in the same directory): > > require 'test' > > In case it helps, I've posted an example

[wtr-general] Re: Calling def cases into a Class

2009-11-13 Thread Tiffany Fodor
Also, you'll need to require the test file (with a relative path, if it's not in the same directory): require 'test' In case it helps, I've posted an example of a simple Test::Unit framework on the examples page. http://tinyurl.com/yjrrj5a -Tiffany On Nov 13, 4:03 pm, Ethan wrote: > The meth

[wtr-general] Re: Calling def cases into a Class

2009-11-13 Thread Ethan
The method in the Test::Unit::TestCase subclass needs to start with 'test', which 'my_TestCase' does not. On Fri, Nov 13, 2009 at 16:45, tester86 wrote: > > I have one file called test.rb which contains: > > require 'Watir' > > def test_text_verfication > > ie=Watir::IE.start("go to url"

[wtr-general] Calling def cases into a Class

2009-11-13 Thread tester86
I have one file called test.rb which contains: require 'Watir' def test_text_verfication ie=Watir::IE.start("go to url") sleep 5 if ie.text.include? "User Login" puts " at login page" else puts " not at login page"

[wtr-general] Re: Watir Help

2009-11-13 Thread ravi pulipaka
Hi Al snow, it worked, you are awesome thanx a lot ravi On Thu, Nov 12, 2009 at 7:53 PM, Al Snow wrote: > Try > this:http://sameshirteveryday.com/2009/04/18/missing-a-character-on-windows-with-rspec-and-cucumber/ > > Thanks, > Al Snow > > === > Date: Thu, 12 Nov 20

[wtr-general] take screenshot and append to a Word document

2009-11-13 Thread Rodrigo Gomes
Hi, I'm new in this group (and with Watir, and Ruby too). I was trying to take a screenshot of some steps that I run with watir and append them to a word file, but I didn't know how to do it. Then, I read this thread http://groups.google.com/group/watir-general/browse_thread/thread/4b50e70019e1609

[wtr-general] Firewatir with jssh is slower

2009-11-13 Thread Shlomit Gazit
Does anyone noticed firewatir is slower when starting it with jssh? I am login to my web project without -jssh and it is faster than running the project through firewatir (with -jssh). --~--~-~--~~~---~--~~ You received this message because you are subscribed to

[wtr-general] Re: run firewatir from terminal

2009-11-13 Thread Shlomit Gazit
Thank you!!! On Nov 12, 1:47 pm, Ethan wrote: > I'm assuming you're on OSX from the Terminal reference, which would have > been a useful thing for you to mention. > The way you're running it, bash is going to try to execute your ruby script > as a bash script, I expect, rather than ruby. You hav

[wtr-general] Re: Example of assertions

2009-11-13 Thread Ethan
That is a tricky question. There are two much easier questions which may help you. 1. Does the piece of text exist on the page? If being visible is synonymous with existing on your page, it is much easier, and the browser.text.include?(piece_of_text) code will work. But it sounds like this doesn't

[wtr-general] Re: install for 1.6.2 doesn't work after 1.6.5 release

2009-11-13 Thread Charley Baker
Sounds reasonable to me, I don't see any downside of doing a simple 1.6.3 quiet release, and you're right, people already do want to bounce back and forth if they see issues in 1.6.5. -Charley On Fri, Nov 13, 2009 at 9:13 AM, Bret Pettichord wrote: > > Alan, > > You are seeing a problem that we

[wtr-general] Re: Example of assertions

2009-11-13 Thread QAguy
Can you give me an example of code (generic example) that would allow be to check if a piece of text is visible on not on the browser page? Thanks in advance On Nov 12, 5:38 pm, Ethan wrote: > This is incorrect. #text returns a string, not an element, and it has no > #visible? method. > The sim

[wtr-general] Re: install for 1.6.2 doesn't work after 1.6.5 release

2009-11-13 Thread Bret Pettichord
Alan, You are seeing a problem that we also saw with Watir 1.6.5RC1. We fixed it in the first 1.6.5 by changing the way watir does dependencies. Here are the dependencies for Watir 1.6.2 C:\work\common_ground>gem dependency watir Gem watir-1.6.2 win32-process (>= 0.5.5, runtime) windows-pr

[wtr-general] Re: Is it impossible to use bring_to_front without @autoit = WIN32OLE.new("AutoItX3.Control")

2009-11-13 Thread Bret Pettichord
Actually, I think I know the problem. There was a bug with autoit registration, fixed in Watir 1.6.5. I bet that is what you ran into. Bret Bret Pettichord wrote: > Thanks for the report. The autoit line should not be needed. We'd need > to be able to reproduce the problem you encountered befo

[wtr-general] Re: Is it impossible to use bring_to_front without @autoit = WIN32OLE.new("AutoItX3.Control")

2009-11-13 Thread Bret Pettichord
Thanks for the report. The autoit line should not be needed. We'd need to be able to reproduce the problem you encountered before we could advise on what should be done about it. Bret Emre Sevinc wrote: > Hi, > > I tried to use bring_to_front as described in cheat sheet: > http://wiki.openqa.o

[wtr-general] Are you using watir in an open source project?

2009-11-13 Thread casopi
Hi all, I'm trying to find in which open source projects, tools like watir or selenium are used to automate acceptance tests. If you are using any tool for performing this test in an open source project, please tell me the name of the project. Best regards. Casopi --~--~-~--~~---

[wtr-general] Re: does Safariwatir works on Windows XP?

2009-11-13 Thread Željko Filipin
On Fri, Nov 13, 2009 at 12:48 PM, shradha_Dalvi wrote: >I have tried to install as versions ofsafari watir.but getting:- > O.S. is windows XP. SafariWatir woks only on Mac. Željko -- watir.com - community manager watirpodcast.com - host --~--~-~--~~~---~--~~

[wtr-general] does Safariwatir works on Windows XP?

2009-11-13 Thread shradha_Dalvi
Hi, I have tried to install as versions ofsafari watir.but getting:- ERROR: Safari require rb-appscript >= 0". I have tried installing gem of rb-appscript but it is giving: "'sudo' is invalid command" O.S. is windows XP. Kindly help to resolve ASAP. Regards, Shraddha. --~--~-~--~

[wtr-general] Re: Is there a way to use Funfx to send mouseUp/mouseDown/mouseMove events to the Canvas?

2009-11-13 Thread Željko Filipin
On Fri, Nov 13, 2009 at 11:17 AM, Kaustubh wrote: >Is there a > way to > use Funfx Why do you think people at Watir group will know anything about Funfx? Did you try their support group? Željko -- watir.com - community manager watirpodcast.com - host --~--~-~--~~~---

[wtr-general] please ignore my previous post related to funfx.

2009-11-13 Thread Kaustubh
I am sorry! I will post it in funfx group --~--~-~--~~~---~--~~ 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 fol

[wtr-general] Is there a way to use Funfx to send mouseUp/mouseDown/mouseMove events to the Canvas?

2009-11-13 Thread Kaustubh
Hi, I'm working on an application that draws on a flex canvas. Is there a way to use Funfx to send mouseUp/mouseDown/mouseMove events to the Canvas? I tried to modify the AutomationGenericEnv.xml by adding the following event to the canvas (following the example in DisplayObject for MouseMove)