[wtr-general] Re: Connecting Watir to an IE control in a dotnet app?

2009-03-20 Thread Alister Scott
Hi David, Did you ever get this to work? I am trying to do a similar thing with an embedded IE automation object inside a powerbuilder app. Thanks, Alister Scott http://watirmelon.wordpress.com/ On Aug 4 2007, 12:26 am, David Pollack davidspoll...@gmail.com wrote: thanks, we will give this a

[wtr-general] Maximizng the Browser

2009-03-20 Thread Shweta
When i am trying to maximize the ie with the folllowing code am getting this error message can anyone pls guide me where am doing mistake ie = Watir::IE.start(http://groups.google.com/group;) ie.goto(http://http://groups.google.com/group;) $ie.maximize() am getting the following error message

[wtr-general] Re: Test Set

2009-03-20 Thread JArkelen
You can use Rake to execute multiple tests. On Mar 20, 12:28 am, vladimir...@hotmail.com vladimir...@hotmail.com wrote: How to execute multiple functional Watir scripts unattended in a test set? Do I need to use Test::Unit even the test cases are not unit tests? Thanks, Vladimir

[wtr-general] Re: Calling classes in a defined order

2009-03-20 Thread Željko Filipin
On Fri, Mar 20, 2009 at 12:05, GJHmf graham.harb...@googlemail.com wrote: require 'C.rb' require 'A.rb' require 'B.rb' Instead of that, you will have to do something like: require 'test/unit/testsuite' require 'tc_myfirsttests' require 'tc_moretestsbyme' require 'ts_anothersetoftests'

[wtr-general] Script not running and not showing error message also

2009-03-20 Thread Shweta
Hi all I am trying with this sccript to handle jaava pop ups can any one pls help me regarding this? If i run this script its not clicking on OK button and not displaying any errors also require 'watir' $ie = Watir::IE.new $ie.goto('http://www.google.com/preferences?hl=en')

[wtr-general] Re: Calling classes in a defined order

2009-03-20 Thread GJHmf
Thanks Željko, I'm getting the following error with that example: uninitialized constant Test::Unit::UI::Console (NameError) What extras would I need to have installed to make this work? As its not entirely clear (to me) on the Test::Unit page you highlighted. Adding in require

[wtr-general] Re: Maximizng the Browser

2009-03-20 Thread Charley Baker
In a few of your recent posts, the code you're using is mixing local variables (ie) and global variables ($ie). You need to first understand the difference between these two, the Ruby Pickaxe guide has information on variable types in Ruby. ie = Watir::IE.start(http://groups.google.com/group;)

[wtr-general] IE freezes up

2009-03-20 Thread Mark Lehky
Hello all. I have noticed an odd behaviour. When I am developing a new test in Watir, often it will not work on the first try - various things crash. I go back to my code, fix things up and re-run the test. However, I noticed that after a test crashes, the next time my test opens an IE, it seems

[wtr-general] Re: Calling classes in a defined order

2009-03-20 Thread Željko Filipin
On Fri, Mar 20, 2009 at 16:17, GJHmf graham.harb...@googlemail.com wrote: How embarrassing. :) I learn a lot when I make mistakes in public. :) Željko --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Watir General

[wtr-general] Re: IE freezes up

2009-03-20 Thread Tiffany Fodor
Hi Mark! The only time I've seen anything remotely like that, it's due to issues with my application under test. Try following your automated test steps manually to see if you can reproduce the problem without Watir. Also, have you tried clearing the browser cache when you restart your tests?

[wtr-general] Re: Different Methods

2009-03-20 Thread Tiffany Fodor
Hi Vikas! I think many of your issues can be solved using autoIt commands: http://www.autoitscript.com/autoit3/ I haven't tried drag and drop functionality, but it looks like it's possible if you have a very good understanding of how it's implemented: http://tinyurl.com/cw3co7 Hope this

[wtr-general] Re: IE freezes up

2009-03-20 Thread Mark Lehky
This problem occurs _only_ under Watir. Clearing the cache does fix the issue ... most of the time. It appears, and please keep in mind that this is way outside of my knowledge, as if Watir ties up some resources in order to start up IE and keep track of everything - it must in order to be able

[wtr-general] Re: Count table Element

2009-03-20 Thread Tiffany Fodor
Without knowing how your application works, it's hard to say how to delete an item, but you can count the rows and columns in a table like this: num_rows = browser.table(:id, 'tableID').row_count num_columns = browser.table(:id, 'tableID').column_count -Tiffany On Mar 20, 9:05 am, maximore

[wtr-general] Excel Issue?

2009-03-20 Thread Jason Shelton
All, I have a routine in my program that compares files in two directories with the same name. For example, lets say I have 'Directory1' and 'Directory2'. The routine looks in each directory, and if a file name exists in both directories I compare the files. I then print the results

[wtr-general] Re: Excel Issue?

2009-03-20 Thread Tiffany Fodor
Hi! I think Excel's row limit is 65536, if you're trying to write more rows than that, this could be your problem. If you really want to keep working with Excel, you could check to see if rows are available and if they're not, add a new tab or use new columns in the current tab. -Tiffany On

[wtr-general] help: click on nest tag link of jsp page using xpath

2009-03-20 Thread anssirius
hello need some help here... trying to click on a link on jsp page using xpath but tried a few and none are working... here's the html tag from IE Developer tool bar: A title=To Operate On Sensor Points href=javascript:window.open('/ sirius/SiteMgrs.jsp?

[wtr-general] Re: Test Set

2009-03-20 Thread Tiffany Fodor
Hi! Watir is a Ruby library, not a framework - you can use any framework you like to run Watir tests. Some that come to mind are Test::Unit, RSpec, WatirCraft, Taza, Watirloo, Rasta and Cucumber. Most people are moving away from Test::Unit and implementing RSpec (although I still use and like

[wtr-general] Re: help: click on nest tag link of jsp page using xpath

2009-03-20 Thread anssirius
thanks Tiffany we've spend some time on #watir irc and got it to work with frame for this page, will see how it goes with later pages... $ie.frame(:name, menu).link(:text, 'Operate on Sensor Points').click On Mar 20, 9:33 am, Tiffany Fodor tcfo...@comcast.net wrote: Hi! Have you tried :text

[wtr-general] Cucumber, Celerity FireWatir

2009-03-20 Thread aidy lewis
http://video.google.com/videoplay?docid=470645360297935233 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

[wtr-general] Re: Test Set

2009-03-20 Thread vladimir...@hotmail.com
Thank you very much to ALL. On Mar 20, 10:27 am, Tiffany Fodor tcfo...@comcast.net wrote: Hi! Watir is a Ruby library, not a framework - you can use any framework you like to run Watir tests.  Some that come to mind are Test::Unit, RSpec, WatirCraft, Taza, Watirloo, Rasta and Cucumber.  

[wtr-general] Re: Hover image

2009-03-20 Thread Chuck van der Linden
is this a UI within IE? or a windows file browser UI? if the latter you'll need to look at something like using AutoIt to click on it. if it's in the browser the 'tool-tip' effect is generally done via either ALT or TITLE attributes on the object.. view the source and seach for some portion of

[wtr-general] WatirRecorder++ Playback question

2009-03-20 Thread Boyd Ivey
Can anyone answer this? I uninstalled Ruby and watirrecorder++ and reinstalled Ruby hoping that would help. After reinstalling Ruby I ran a .rb file and after running the .rb file from a dos box WatirRecorder installed it's self and opened a WatirRecorder++ window. Of course, I'm still getting

[wtr-general] Re: Different Methods

2009-03-20 Thread Chuck van der Linden
1) see this (unfortunatey poorly tited) topic from a day or so ago. http://groups.google.com/group/watir-general/browse_thread/thread/d9e4ba1cd54fffbf?hl=en 2) huh? I don't think I've ever seen stuff inside a browser that is doubleclicked.. pretty much everything in a 'web interface' is

[wtr-general] Re: Excel Issue?

2009-03-20 Thread Chuck van der Linden
As an aside, I'm not sure what file system you are using, but in my experience for a lot of file systems putting that many files into a singe directory can cause system performance to suffer immensely.. I don't recall the exact number (it's been several years, and I found it the hard way) but I