[wtr-general] Re: Get X and Y Coordinates of an Object

2009-10-13 Thread Pallavi Sharma
Thanks Alan. :) On Tue, Oct 13, 2009 at 7:50 AM, Alan Baird wrote: > Pallavi - > Here is how to do it with IE: > http://wiki.openqa.org/display/WTR/Right+Click+an+Element > > I don't know > how to do this in FireWatir although I'm sure t

[wtr-general] Check if a Print Dialog appears or not

2009-10-13 Thread Pallavi Sharma
Hi I have a scenario in which there is button "Print" clicking on it a "Print Dialog" appears. I need to check the appearance of the print dialog box, can anyone here tell me how do I do it? Should i use some AutoIT functionality for this? or is it possible to do using watir? Please do let me k

[wtr-general] Re: Summary wiki page

2009-10-13 Thread Željko Filipin
On Tue, Oct 6, 2009 at 5:06 AM, Bret Pettichord wrote: > The collection looks useful, but something is confusing about the > parentage of the collection. Look at the breadcrumbs on these pages. > > Dashboard > Watir > ...Project Home > Start Here > Tutorial > > Summary > Collections of HTML El

[wtr-general] Wiki cleanup: comments when editing pages

2009-10-13 Thread Željko Filipin
I have noticed that a lot of people edit wiki pages and does not enter comment when saving the edit. I see that the same as committing code with no comment. If you have done that in the past, please do not do it any more. Željko -- http://watirpodcast.com/ --~--~-~--~~~---

[wtr-general] Re: Does anyone have examples of using rspec with safariwatir

2009-10-13 Thread Željko Filipin
On Fri, Oct 9, 2009 at 1:46 PM, aidy lewis wrote: > I have written a new example here: > http://wiki.openqa.org/display/WTR/RSpec Aidy, I appreciate your contribution, but you broke Tutorial navigation. "Go to contents, previous, next page." text at the bottom of the page helps users to follow t

[wtr-general] Problem with startClicker

2009-10-13 Thread Bindhu
Hi All, I am using the startClicker which is been posted at http://wiki.openqa.org/display/WTR/JavaScript+Pop+Ups to handel popups. I am facing the 2 below mentioned problems. It'll be very helpful if any of you can provide me some solution. < ACtions> $ie.frame(:name, "mainFrame").

[wtr-general] Re: Wiki cleanup: comments when editing pages

2009-10-13 Thread Ethan
Can the wiki be configured to disallow blank edit comments? On Tue, Oct 13, 2009 at 05:30, Željko Filipin wrote: > I have noticed that a lot of people edit wiki pages and does not enter > comment when saving the edit. I see that the same as committing code with no > comment. If you have done tha

[wtr-general] Re: Summary wiki page

2009-10-13 Thread Bret Pettichord
Looks great. Željko Filipin wrote: > On Tue, Oct 6, 2009 at 5:06 AM, Bret Pettichord > wrote: > > The collection looks useful, but something is confusing about the > > parentage of the collection. Look at the breadcrumbs on these pages. > > > > Dashboard > Watir

[wtr-general] Re: Does anyone have examples of using rspec with safariwatir

2009-10-13 Thread Bret Pettichord
Željko Filipin wrote: > On Fri, Oct 9, 2009 at 1:46 PM, aidy lewis > wrote: > > I have written a new example here: > > http://wiki.openqa.org/display/WTR/RSpec > > Aidy, > > I appreciate your contribution, but you broke Tutorial navigation. "Go > to contents, p

[wtr-general] Re: Difference b/w Click_no_wait and .Click!

2009-10-13 Thread Shane
For Watir, the difference is that while click! does it's execution in the same ruby process, click_no_wait actually creates a new ruby script to attach to the current IE window and click on the specified control, and executes that in a completely new process using rubyw.exe. The problem this solv

[wtr-general] Re: Difference b/w Click_no_wait and .Click!

2009-10-13 Thread Bret Pettichord
Shane wrote: > So if no IE modal dialogs pop up, I would recommend you use click!, > because you don't have the overhead of starting up a new ruby process > each time. > And that has worked for me so far. > In this case, i would recommend using plain old "click". I have not seen a use case for

[wtr-general] Re: watir tests are not passing on my environment

2009-10-13 Thread Shlomit Gazit
I am still waiting for help. Please I am desperate. On Oct 2, 9:58 am, Shlomit Gazit wrote: > Hello, > > I have one watir environment that is well functioning (that I didn't > set up). > I was trying to set up a new watir environment but somehow the tests > that are running on the good envi

[wtr-general] Re: Wiki cleanup: comments when editing pages

2009-10-13 Thread Željko Filipin
On Tue, Oct 13, 2009 at 4:50 PM, Ethan wrote: > Can the wiki be configured to disallow blank edit comments? Good idea. I could not find that setting, maybe only Confluence admins have that option. In any case, even with that turned on, you can always enter just one empty space, or "comment" or so

[wtr-general] Re: Does anyone have examples of using rspec with safariwatir

2009-10-13 Thread Željko Filipin
On Tue, Oct 13, 2009 at 5:33 PM, Bret Pettichord wrote: > Maybe we need to write watir regression tests for the wiki? It would be really nice to have Watir test it's own web pages. :) I do not thing regression test is really needed, we do not change the pages so often. Željko --~--~-~-

[wtr-general] Re: watir tests are not passing on my environment

2009-10-13 Thread Željko Filipin
On Fri, Oct 2, 2009 at 6:58 PM, Shlomit Gazit wrote: > For example, a test that is well running on one environment is > breaking on the new environment when trying to find a url with regular > expression. In my experience, when people do not get the answer, the problem is that usually the questio

[wtr-general] Re: Wiki cleanup: comments when editing pages

2009-10-13 Thread Ethan
On Tue, Oct 13, 2009 at 18:11, Željko Filipin wrote: > On Tue, Oct 13, 2009 at 4:50 PM, Ethan wrote: > > Can the wiki be configured to disallow blank edit comments? > > Good idea. I could not find that setting, maybe only Confluence admins have > that option. In any case, even with that turned o

[wtr-general] Re: Wiki cleanup: comments when editing pages

2009-10-13 Thread Željko Filipin
On Wed, Oct 14, 2009 at 12:18 AM, Ethan wrote: > perhaps people just don't realize at a glance that they're supposed to put something in there. Popping up a message when the field is blank could clue them in. Sounds like a good idea. Would you try to locate that feature in Confluence and contact

[wtr-general] Re: Wiki cleanup: comments when editing pages

2009-10-13 Thread Bret Pettichord
Do we have a page where we give guidance on editing wiki pages? --~--~-~--~~~---~--~~ 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 postin

[wtr-general] Re: Wiki cleanup: comments when editing pages

2009-10-13 Thread Željko Filipin
On Wed, Oct 14, 2009 at 12:49 AM, Bret Pettichord wrote: > Do we have a page where we give guidance on editing wiki pages? Just "How to edit pages" on http://wiki.openqa.org/display/WTR/How+Can+I+Help Željko --~--~-~--~~~---~--~~ You received this message because

[wtr-general] Re: Wiki cleanup: comments when editing pages

2009-10-13 Thread Bret Pettichord
Željko Filipin wrote: > On Wed, Oct 14, 2009 at 12:49 AM, Bret Pettichord > wrote: > > Do we have a page where we give guidance on editing wiki pages? > > Just "How to edit pages" on > http://wiki.openqa.org/display/WTR/How+Can+I+Help Updated http://wiki.openqa.org/pa

[wtr-general] Re: Wiki cleanup: comments when editing pages

2009-10-13 Thread Željko Filipin
On Wed, Oct 14, 2009 at 1:08 AM, Bret Pettichord wrote: > Updated Thanks. Nice touch with adding a comment for you change. :) Željko --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Watir General" group. To post to

[wtr-general] Re: watir tests are not passing on my environment

2009-10-13 Thread Bill Agee
Yes, please paste the exception you get (if that's what's happening). And the line of code causing the exception will be helpful too. Also, you can compare the Ruby and Watir versions on each machine by running these on the command line: ruby -e "require 'watir' ; puts Watir::IE::VERSION" ruby

[wtr-general] Re: watir tests are not passing on my environment

2009-10-13 Thread Shlomit Gazit
Thank you for the replies. I checked the version and the new environment has a newer version: old: 1.5.6.1263 | 1.8.6 (2007-03-13 patchlevel 0) [i386-mswin32] new: 1.6.2 | ruby 1.8.6 (2007-09-24 patchlevel 111) [i386-mswin32] I dont know if a downgrade will solve the problem. The problem is

[wtr-general] Running couples tests as a suite

2009-10-13 Thread Shlomit Gazit
I want to run couples of tests from one test, like a suite. Is it possible to do it? If yes, how? Thank you, Shlomit --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Watir General" group. To post to this group, send

[wtr-general] Re: Running couples tests as a suite

2009-10-13 Thread Wesley Chen
Hi, Guy, I think you can get hundreds of replies about your question in the group. Would you please search it in google or in the group? Thanks. Wesley Chen. For life, the easier, the better. On Wed, Oct 14, 2009 at 8:16 AM, Shlomit Gazit wrote: > > I want to run couples of tests from one test

[wtr-general] Re: Unable to create a new IE instance

2009-10-13 Thread Prince3105
Thanks Bret, Your statement is absolutely true. Just i killed the remaining IE instances before starting a new IE instance. Problem solved. Thanks, Prince3105 On Oct 13, 6:59 am, Bret Pettichord wrote: > 60 IE instances is a lot. My first guess would be that IE7 uses more > memory that IE6 a