Re: [Wtr-general] a common error

2007-01-10 Thread sarita
I hadn't started the timeclock server. So, port 9002 wasn't listening. - Posted via Jive Forums http://forums.openqa.org/thread.jspa?threadID=6063&messageID=17039#17039 ___ Wtr-general ma

Re: [Wtr-general] Speed of Firewatir vs. Watir

2007-01-10 Thread Chris McMahon
On 1/10/07, Angrez Singh <[EMAIL PROTECTED]> wrote: Hi, Yeah we have been working on improving the performance of FireWatir for last few months. The performance has been improved significantly and it runs faster than IE on windows. FireWatir has been tested just on Windows with different Firefo

Re: [Wtr-general] Speed of Firewatir vs. Watir

2007-01-10 Thread Angrez Singh
Hi, Yeah we have been working on improving the performance of FireWatir for last few months. The performance has been improved significantly and it runs faster than IE on windows. FireWatir has been tested just on Windows with different Firefox versions like 1.5, 1.5.0.4, 1.5.0.7 , 2.0 and 2.0.0.

Re: [Wtr-general] Error with file_field in a modal window (using

2007-01-10 Thread Angrez Singh
Hi Bret, I would like to add something here. 1. In the file 'winClicker.rb' and method 'clickJSDialog_NewProcess()' myapp = "[EMAIL PROTECTED]/clickJSDialog.rb #{button}" winsystem(" start #{myapp}") Now this thing will not work if user has configured to open the files with '.rb' extensio

Re: [Wtr-general] a common error

2007-01-10 Thread Chris McMahon
Also, and this goes for everybody, spell "please" and "your" and all the other words (especially the name of the person who answered your question) correctly. Make your subjects agree with your verbs, and use articles and pronouns appropriately. You are not sending this from a cell phone, there

Re: [Wtr-general] a common error

2007-01-10 Thread Chris McMahon
Nobody is listening on port 9002 on localhost. Why are you using drb? On 1/10/07, sarita <[EMAIL PROTECTED]> wrote: Thanks Charly, ur solution worked, but again one more error came: c:/ruby/lib/ruby/1.8/drb/drb.rb:736:in `open': druby://localhost:9002 - # (DRb::DRbConnError) from c:/r

Re: [Wtr-general] a common error

2007-01-10 Thread sarita
Thanks Charly, ur solution worked, but again one more error came: c:/ruby/lib/ruby/1.8/drb/drb.rb:736:in `open': druby://localhost:9002 - # (DRb::DRbConnError) from c:/ruby/lib/ruby/1.8/drb/drb.rb:729:in `each' from c:/ruby/lib/ruby/1.8/drb/drb.rb:729:in `open' from c:/rub

Re: [Wtr-general] Alert box - hangs

2007-01-10 Thread usha
I'm using IE 6 I registered AutoItX3.dll using regsvr32 Ruby 1.8, Watir 1.5 Alert box title is 'Microsoft Internet Explorer' Thanks - Posted via Jive Forums http://forums.openqa.org/thread.jspa?threadID=6061&messageID=17030#17

Re: [Wtr-general] Alert box - hangs

2007-01-10 Thread Cain, Mark
What version of IE are you using? Because in IE7 Microsoft changed the tile bar name of all popups from "Microsoft Internet Explorer" to "Windows Internet Explorer" this would cause a Hang as you described. --Mark -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Beh

Re: [Wtr-general] Multiple Javascript Dialog boxes.

2007-01-10 Thread Balakrishna
HI all Can some throw some light on this type of problem ? Balu -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Balakrishna Sent: Wednesday, January 10, 2007 11:37 AM To: wtr-general@rubyforge.org Subject: [Wtr-general] Multiple Javascript Dialog boxes.

Re: [Wtr-general] What does IE.down_load_time really measure?

2007-01-10 Thread Bret Pettichord
Paul Carvalho wrote: > I've got a script that walks through a simple web application and > retrieves the page size and page download times. (By "simple web app" > I mean no frames and only about a dozen pages - mostly reports and a > Personal Settings page.) The script outputs these values to

Re: [Wtr-general] Error with file_field in a modal window (using

2007-01-10 Thread Bret Pettichord
John Lolis wrote: > I registered AutoItX3.dll using regsvr32 and it got rid of the error message, > the problem now is it doesn't fill in the field with any text. I can flash > it, so i know I have the right field - I just can't put anything in there. > > any more ideas? > Today I checked in

Re: [Wtr-general] What does IE.down_load_time really measure?

2007-01-10 Thread Paul Carvalho
Hmm, okay, so it looks like there are two interesting sub-measures then. From a user's perspective, a web page's "response time" would equal down_load_time + render time. How much faith should we put in the IE.down_load_time attribute if it doesn't include the render time? I mean, I *watched*

Re: [Wtr-general] Alert box - hangs

2007-01-10 Thread usha
[u]html -[/u] https://thisway-ui.integ.alder.com/adido/actions/DisplayPIAction.do?awscredential=eJwBYgCd%2FwACkbS%2BiXVqp%%3D%3D&allowBA=false&skipDisplay=true&returnSuccessURL=http%3A%2F%2Fabcd-5101.abba.com%3A8088%2Faccount%2Fdetails%account%2%3Frnd%3D1168464261773%26gid%3D24&awssig=SV3c%2BCyrHc

Re: [Wtr-general] OT: Need help Trapping Errors in Ruby

2007-01-10 Thread Paul Carvalho
Got the answer I need from the Programming Ruby 2nd Edition book and thought I would share it here. From the "Handling Exceptions" section (p. 361), I got that I should add the "rescue" block to the end of my site-walking methods, and not the calling method (i.e. page_set_to_check()). Basicall

Re: [Wtr-general] What does IE.down_load_time really measure?

2007-01-10 Thread Chris McMahon
@down_load_time = Time.now - start_load_time in def wait line 1519/1476 in watir.rb in 1.5.1127. :) difference is probably render time On 1/10/07, Paul Carvalho <[EMAIL PROTECTED]> wrote: I've got a script that walks through a simple web application and retrieves the page size and page downlo

[Wtr-general] What does IE.down_load_time really measure?

2007-01-10 Thread Paul Carvalho
I've got a script that walks through a simple web application and retrieves the page size and page download times. (By "simple web app" I mean no frames and only about a dozen pages - mostly reports and a Personal Settings page.) The script outputs these values to an output CSV file so that I ca

Re: [Wtr-general] OT: Need help Trapping Errors in Ruby

2007-01-10 Thread Paul Carvalho
page_set is just a local variable used to call the method name that I want to execute. I'm basically calling a method (e.g. 'walk_Public_Pages') from within a method (page_set_to_check) that is supposed to trap the errors/exceptions. However, if there's an error in the 'walk_Public_Pages' method

Re: [Wtr-general] OT: Need help Trapping Errors in Ruby

2007-01-10 Thread John Lolis
> ## Main script snippet: > ... > # open the IE browser > $ie = IE.new > # A) Walk the Public Pages. => Need to Trap this so > the > something_went_wrong" variable works correctly > page_set_to_check( walk_Public_Pages ) > --- > > # Here's the page_set_to_check() method: > > module site_w

[Wtr-general] OT: Need help Trapping Errors in Ruby

2007-01-10 Thread Paul Carvalho
Hi there, I've got more of a Ruby question than a Watir one, so I hope you don't mind if I post it here first. I am in the process of rewriting my first Ruby/Watir scripts from a year ago - a site-map walkthrough script to collect some simple Performance metrics. When I first wrote the script, I

[Wtr-general] Speed of Firewatir vs. Watir

2007-01-10 Thread Bach Le
Hello all, I recently installed firewatir and modified one of my tests that was using watir to use FireWatir and the tests ran very fast. I read in some other posts that firewatir was supposedly slower due to using jssh to send messages to the browser. When I ran the the unit tests for firew

[Wtr-general] Multiple Javascript Dialog boxes.

2007-01-10 Thread Balakrishna
Friends : I have multiple levels of security acceptance to my website. First it shows a digital ceritificate dialog box, then a security dialog box and the an alert message box. I need to click on all these dialog boxes before I can proceed with the application. All these occur sequentially after

Re: [Wtr-general] Error with file_field in a modal window (using

2007-01-10 Thread Bret Pettichord
John Lolis wrote: > any more ideas? > I am seeing the same behavior and looking into it. Bret ___ Wtr-general mailing list Wtr-general@rubyforge.org http://rubyforge.org/mailman/listinfo/wtr-general

Re: [Wtr-general] Error with file_field in a modal window (using 1.8.2 / 1.5.1.1127 )

2007-01-10 Thread Charley Baker
From command line in the Watir directory where the AutoIt dll lives, run regsvr32 AutoItX3.dll -Charley On 1/10/07, Paul Carvalho <[EMAIL PROTECTED]> wrote: And you do this how...? Perhaps you should include a link, reference or example of how to do this in your response. On 10/01/07, Ang

Re: [Wtr-general] how to connect with Microsoft Access database

2007-01-10 Thread Charley Baker
Take a look at dbi, you can use odbc to connect to Access: http://rubyforge.org/projects/ruby-dbi/ Tutorial: http://www.kitebird.com/articles/ruby-dbi.html -Charley On 1/10/07, Maloy kanti debnath <[EMAIL PROTECTED]> wrote: hi, I am not able to connect with Microsoft Access database .. plea

Re: [Wtr-general] Error with file_field in a modal window (using

2007-01-10 Thread John Lolis
Thanks for the information! I registered AutoItX3.dll using regsvr32 and it got rid of the error message, the problem now is it doesn't fill in the field with any text. I can flash it, so i know I have the right field - I just can't put anything in there. any more ideas? ---

Re: [Wtr-general] a common error

2007-01-10 Thread Charley Baker
Your required files need to be in a directory that's in your load path. According to the file below you could put the toolkit directory (which I assume contains testhook.rb) in the same directory as your script, lab5_1.rb and it should work. If not, do a google search on ruby load path, you'll fin

Re: [Wtr-general] Error with file_field in a modal window (using 1.8.2 / 1.5.1.1127 )

2007-01-10 Thread Paul Carvalho
And you do this how...? Perhaps you should include a link, reference or example of how to do this in your response. On 10/01/07, Angrez Singh <[EMAIL PROTECTED]> wrote: Hi John, You can manually install AutoIt dll using regsvr32 command. Regards, Angrez ___

Re: [Wtr-general] Alert box - hangs

2007-01-10 Thread Cain, Mark
Can you send your code and html? --Mark -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of usha Sent: Tuesday, January 09, 2007 4:31 PM To: wtr-general@rubyforge.org Subject: [Wtr-general] Alert box - hangs Hi, I've been trying to click on the Alert box wi

Re: [Wtr-general] Error with file_field in a modal window (using 1.8.2 / 1.5.1.1127 )

2007-01-10 Thread Angrez Singh
Hi John, You can manually install AutoIt dll using regsvr32 command. Regards, Angrez On 1/10/07, John Lolis <[EMAIL PROTECTED]> wrote: Having some problems using file_field in a modal window. Like the subject says i do have 1.8.2 installed (just installed it) and Watir 1.5.1.1127(from the g

[Wtr-general] Error with file_field in a modal window (using 1.8.2 / 1.5.1.1127 )

2007-01-10 Thread John Lolis
Having some problems using file_field in a modal window. Like the subject says i do have 1.8.2 installed (just installed it) and Watir 1.5.1.1127 (from the gem) and I'm getting the following error. The AutoIt dll must be correctly registered for this feature to work properly c:/program files/ru

Re: [Wtr-general] [Wtr-general Digest] - Watir Segementation Fault, Core Dump

2007-01-10 Thread Devesh Verma, HCL-Industry Solutions
Uninstall ruby 1.8.4 and install ruby 1.8.2. It should work !! From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Dhrubojyoti Biswas Sent: Wednesday, January 10, 2007 4:59 PM To: wtr-general@rubyforge.org Subject: [Wtr-general] [Wtr-general Digest]

[Wtr-general] [Wtr-general Digest] - Watir Segementation Fault, Core Dump

2007-01-10 Thread Dhrubojyoti Biswas
On 1/9/07, Dhrubojyoti Biswas <[EMAIL PROTECTED]> wrote: I just downloaded Watir 1.5.1.1127 and I was running some of the tests that I had written using Watir 1.4. But time and again I keep getting a segmentation fault (core dump) at Watir.rb line 1212. Here's the Error Message that i get: "C

[Wtr-general] how to connect with Microsoft Access database

2007-01-10 Thread Maloy kanti debnath
hi, I am not able to connect with Microsoft Access database .. please help me with this thank you. - Posted via Jive Forums http://forums.openqa.org/thread.jspa?threadID=6070&messageID=16995#16995 __

Re: [Wtr-general] Two queries in Watir

2007-01-10 Thread Maloy kanti debnath
hi, thank you very much ,using your answer we were able to work with that "Go" button. maloy - Posted via Jive Forums http://forums.openqa.org/thread.jspa?threadID=6069&messageID=16994#16994 _

Re: [Wtr-general] Two queries in Watir

2007-01-10 Thread Anupama Kaple
Hi Maloy, Try to access the Go button using the following ie.goto('http://mail.rediff.com/cgi-bin/login.cgi') Regards, Anupama From: "Devesh Verma, HCL-Industry Solutions" <[EMAIL PROTECTED]> Reply-To: wtr-general@rubyforge.org To: Subject: Re: [Wtr-general] Two queries in Watir Date: Wed,

Re: [Wtr-general] Two queries in Watir

2007-01-10 Thread Anupama Kaple
Hi Maloy, Here are the steps to create and view the log file To create a log file you need to do the following include the following Include the logger which is present in the following path C:\Watir\watir-v1_4\examples\logging require 'example_logger1' filePrefix = "Test_log" $logger =

Re: [Wtr-general] Two queries in Watir

2007-01-10 Thread Devesh Verma, HCL-Industry Solutions
Hi Maloy, Try this for accessing the "Go" button.. ie.button(:src, "http://im.rediff.com/uim/news/go-btn.gif";).click Regards Devesh -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Maloy kanti debnath Sent: Wednesday, January 10, 2007 12:53 PM To: wtr-g