Re: [Wtr-general] Automation annoyingness

2006-06-09 Thread Jeff Wood
actually, I would code up a when functionality just like endfix if or unless ... then you could do ie.link( :text, Second ).click when ie.link( :text, Second ).exists? ... or something like that. --jw. On 6/8/06, Jeff Fry [EMAIL PROTECTED] wrote: Bret Pettichord wrote: Specifically, I

Re: [Wtr-general] Automation annoyingness

2006-06-09 Thread Bret Pettichord
On 6/9/06, Jeff Wood [EMAIL PROTECTED] wrote: actually, I would code up a when functionality just like endfix ifor unless ... then you could doie.link( :text, Second ).click when ie.link( :text, Second ).exists? ... or something like that.I don't know how to do this. Can you provide example code?

[Wtr-general] running multiple ie session with diff user id for same server

2006-06-09 Thread Manish Sapariya
Hi, Is there any workaround or trick know to run multiple ie to the same server with different user ids? I need to run same test simultaneously but with different user credentials. But when I tried to do it expires one of the users session. Thanks and Regards, Manish

Re: [Wtr-general] Test::Unit Reports?

2006-06-09 Thread polleu
Hi there, I had the same problem. To fix it I import: require 'test/unit/testsuite' require 'test/unit/testsuite' require 'test/unit/ui/reporter' require 'fileutils' require 'test/unit/collector/objectspace' . In my setup file ( I have a setup file defined which is called by all test suit

Re: [Wtr-general] Test::Unit Reports?

2006-06-09 Thread Adrian Rutter
polleu wrote I had the same problem. Just this second, I was going to post back. I included this require 'stringio' (as someone did mention), and the code ran. code example: snip require 'test/unit' require 'test/unit/ui/reporter' require 'test/unit/ui/console/testrunner' require 'stringio'

Re: [Wtr-general] WATIT with AJAX.

2006-06-09 Thread Zeljko Filipin
http://wiki.openqa.org/display/WTR/Comparison+of+Watir+with+Silk+TestOn 6/9/06, Prashanth Krishnamurthy [EMAIL PROTECTED] wrote: 2.Has anyone done any comparison amongst products likeQTP, SIlktest, WATIR etc. ___ Wtr-general mailing list

Re: [Wtr-general] Automation annoyingness

2006-06-09 Thread Lonny Eachus
Then there definitely was some confusion. I thought I had read that thread carefully . . . but the only example I saw was while not ($ie.link(:text,"Second").exists?) sleep 0.5 end $ie.link(:text,"Second").click and from the discussion, it very much appeared to me that you were

[Wtr-general] Table Row Bug -- How to fix?

2006-06-09 Thread Bret Pettichord
inetdavid (6/8/2006 9:38:31 PM): Just found a problem with row_count with embedded tables. row_count counts *all* the rows, even rows in sub-tables, while show_tables shows the correct count because it uses a different method. I've first added a test to show the problem (using table_test on

Re: [Wtr-general] RPC Server unavailable

2006-06-09 Thread Lillis, Dara
Sorry,beenmeaningtoreplyonthis, I don't think this method exists in my version of watir (1.5.1.1017) attempting to call the method results in "undefined method `persist_ole_connection' for #Watir::IE:0x2a9a520 (NoMethodError)" A search on the contents of all files in my "c:\ruby"

Re: [Wtr-general] Table Row Bug -- How to fix?

2006-06-09 Thread Michael Moore
inetdavid (6/8/2006 9:38:31 PM): Just found a problem with row_count with embedded tables. row_count counts *all* the rows, even rows in sub-tables, while show_tables shows the correct count because it uses a different method. I've first added a test to show the problem (using table_test on

Re: [Wtr-general] Wtr-general Digest, Vol 31, Issue 20

2006-06-09 Thread Lonny Eachus
There are ways to do this but the specifics depends on what exactly it is you are trying to do, your local network setup, and on what the server defines as a "session". Depending on things at the server end, a "session" might be one user on one IP on one browser (so you could run IE and

[Wtr-general] Subject:, running multiple ie session with diff user id for same server

2006-06-09 Thread Lonny Eachus
I apologize again. My reply was intended for Manish, with this subject line. Lonny Eachus == ___ Wtr-general mailing list Wtr-general@rubyforge.org http://rubyforge.org/mailman/listinfo/wtr-general

Re: [Wtr-general] Wtr-general Digest, Vol 31, Issue 20

2006-06-09 Thread Bret Pettichord
Actually this is a common question. The solution is in the FAQ.http://wiki.openqa.org/display/wtr/FAQ#FAQ-concurrentie On 6/9/06, Lonny Eachus [EMAIL PROTECTED] wrote: There are ways to do this but the specifics depends on what exactly it is you are trying to do, your local network

Re: [Wtr-general] RPC Server unavailable

2006-06-09 Thread Bret Pettichord
On 6/9/06, Lillis, Dara [EMAIL PROTECTED] wrote: Sorry,beenmeaningtoreplyonthis, I don't think this method exists in my version of watir (1.5.1.1017) attempting to call the method results in undefined method `persist_ole_connection' for #Watir::IE:0x2a9a520 (NoMethodError) A search on

Re: [Wtr-general] running multiple ie session with diff user id for same server

2006-06-09 Thread Lonny Eachus
I might have misunderstood you. By "user credentials" I thought you meant you were using different Windows user accounts. That is the trick to getting around this problem. But Windows does not make automating that easy, and this is probably a bit off-topic. Unless others express an interest,

Re: [Wtr-general] RPC Server unavailable

2006-06-09 Thread Lillis, Dara
I actually had tried IE.persist_ole_connection = true as well. it didn't work either. Slightly different error message, but the same general idea: "undefined method `persist_ole_connection=' for Watir::IE:Class (NoMethodError)" here is the code I ran to generate the above error message:

Re: [Wtr-general] running multiple ie session with diff user id for same server

2006-06-09 Thread Lonny Eachus
Well, no, actually his question was not about how to run multiple IEs, but how to run them so that they can have different "session" IDs on the server. That is another matter entirely. It is possible to do, though. Lonny Eachus == Subject:

Re: [Wtr-general] running multiple ie session with diff user id for same server

2006-06-09 Thread Lonny Eachus
To clarify: "Session IDs" are a server-side issue. Exactly what constitutes a "session" depends on server configuration. On some sites, you can have an IE window open and a Firefox window open, both in different sessions. Some servers will not allow more than session per IP address, at all.

Re: [Wtr-general] Automation annoyingness

2006-06-09 Thread Jeff Fry
Hey Jeff, nice suggestion - very intuitive syntax (not that I would know how to code it). Hope you're enjoying yourself. Life is good here. Jeff F Jeff Wood wrote: From: [EMAIL PROTECTED] Bcc: Message-ID: [EMAIL PROTECTED] X-OriginalArrivalTime: 09 Jun 2006 06:35:36.0947 (UTC)

Re: [Wtr-general] Table Row Bug -- How to fix?

2006-06-09 Thread David Schmidt
Bret Pettichord wrote: inetdavid (6/8/2006 9:38:31 PM): Just found a problem with row_count with embedded tables. row_count counts *all* the rows, even rows in sub-tables, while show_tables shows the correct count because it uses a different method. I've first added a test to

Re: [Wtr-general] RPC Server unavailable

2006-06-09 Thread Bret Pettichord
require_gem 'watir', 1.5.1.1017include WatirIE.persist_ole_connection = true is there another require required?There is a typo in the Watir code. In 1.5.1.1017. it is actually IE.persist_ole_connect = trueI will be fixing this momentarily. It really should be IE.persist_ole_connection.This

Re: [Wtr-general] Table Row Bug -- How to fix?

2006-06-09 Thread Bret Pettichord
On 6/9/06, David Schmidt [EMAIL PROTECTED] wrote: Bret, do you want me to start on this?Yes. I will reply to your design comments on the wtr-development list, which we created specifically to discuss these kinds of details.In addition to making sure that rows actually belong to their tables, we

[Wtr-general] Watir Automator Needed

2006-06-09 Thread Bret Pettichord
My company may have some contract work for someone with Watir experience. If you might be interested, please send me (off list) a summary of your credentials, including your experience with Watir and other test automation tools. Ideally, you are located in Austin or Houston, but elsewhere

[Wtr-general] Watir 1.5 getOLEObject method problem

2006-06-09 Thread Jonathan Ni
Hi All: I have little problem with release 1.5 getOLEObject method. I found the problem when I using checkboxes[1].getOLEObject. In 1.4 version, for the same code I am able to getting object and can perform some ole methods. But in 1.5 the getOLEObject method return me with nil. I am