[wtr-general] Re: bring_to_front

2009-02-18 Thread venky
Hi, I am using watir 1.6.2(installed yesterday-17/Feb/2009). ie.bring_to_front() is not working. application is not coming front but the script runs fine. wats the problem. Thanks, Venkat On Feb 18, 2:08 pm, venky venkatesh...@gmail.com wrote: Hi, I am using watir 1.6.2(installed

[wtr-general] dd element of HTML

2009-02-18 Thread Niharika Patro
Hi, I have a dd (Data Definition) element inder a dl (Definition list). The x-path for it is : /html/body/d...@id='vidmn']/d...@id='content']/d...@id='vid_pnp']/div[2]/d...@id='onecol']/d...@id='rel_outer']/div/d...@id='pnp_relvid1']/d...@id='rvid4']/d...@id='rel_4']/dl/dd[1] I want to declare

[wtr-general] Re: click_no_wait firefox walkaround not working

2009-02-18 Thread Angrez Singh
Looks like bug to me .. could you please log this into JIRA - Angrez On Tue, Feb 17, 2009 at 11:04 PM, zeng0030 zeng0...@gmail.com wrote: Hi guys, I tried the click_no_wait walkaround for firefox posted on the firewatir compability page, def click_no_wait(object_name)

[wtr-general] Re: click_no_wait firefox walkaround not working

2009-02-18 Thread Angrez Singh
Just went through the code for click_no_wait don't think that if it is supported right now you can use startClicker for dealing with js pop ups. Look at the unit tests for more details. - Angrez On Wed, Feb 18, 2009 at 4:28 PM, Angrez Singh ang...@gmail.com wrote: Looks like bug to me .. could

[wtr-general] Failed to start because msvcr80-ruby18.dll was not found

2009-02-18 Thread al3kc
When I try to require watir and run this file I got the error This application failed to start because msvcr80-ruby18.dll was not found. Re-installing the application may fix this problem. I reinstalled ruby and watir gem two times but still have this error. Windows-pr gem is installed too.

[wtr-general] Re: dd element of HTML

2009-02-18 Thread Niharika Patro
Thanks John :) Yes, I would shorten the xpath to //d...@id='rel_outer']/div/d...@id='pnp_relvid1']/d...@id='rvid4']/d...@id='rel_4']/dl/dd[1] Regards Niharika On Wed, Feb 18, 2009 at 4:26 PM, John Kolokotronis johnj...@gmail.comwrote: I don't think there is a class for a dd element - but

[wtr-general] Re: dd element of HTML

2009-02-18 Thread Darin Duphorn
I had the same thing. Goto C:\ruby\lib\ruby\gems\1.8\gems\watir-1.6.2\lib\watir Open non_control_elements Find This: # this class is used to deal with Div tags in the html page. http://msdn.microsoft.com/workshop/author/dhtml/reference/objects/div.as p?frame=true # It

[wtr-general] Win32::API::Error

2009-02-18 Thread magnujf
Hello, untill recently Watir worked fine, but today, when I run a script I get the Error message: c:/ruby/lib/ruby/gems/1.8/gems/windows-api-0.3.0/lib/windows/api.rb: 333:in 'initialize' : Attempt to format message failed (Win32::API::Error) In my script I have: require 'win32ole' How do I

[wtr-general] problem accessing textfield property

2009-02-18 Thread TCBlues
I don't know why but it takes 20 seconds to do this, anybody knows another way to do it? The problem comes up when you try to access a property like for example 'name' 20.times{ nameFields=ie.text_fields.each { |t| t.name } } Thanks in advance

[wtr-general] installing Firewatir and running tests

2009-02-18 Thread Sachin
Please guide me in installing Firewatir and Safarwatir on Linux and Mac OS. I have installed it looking into each and every doc/link available on net, and also posted but no solution and its really testing my patience.. so plz tell me in detail (step by step) how to install and run tests on

[wtr-general] Re: Win32::API::Error

2009-02-18 Thread Bret Pettichord
you may need to reinstall a gem. please see the recent notice, gem recall. bret magn...@ifi.uio.no wrote: Hello, untill recently Watir worked fine, but today, when I run a script I get the Error message: c:/ruby/lib/ruby/gems/1.8/gems/windows-api-0.3.0/lib/windows/api.rb: 333:in

[wtr-general] Code to Create Test Suite/Set in Watir or Run Series of scripts

2009-02-18 Thread jimamdg
Hi I'm a tester who is new to Watir. I set up Watir on my machine just last week. I know only a little bit of coding and was looking for some code or explanation on how to run a series of test scripts in Watir. Would anyone be willing to share some code or anyone care to elaborate on how to

[wtr-general] Re: Code to Create Test Suite/Set in Watir or Run Series of scripts

2009-02-18 Thread Darin Duphorn
I would go to the Start Here section of the following link. http://wiki.openqa.org/display/WTR/Project+Home -Original Message- From: watir-general@googlegroups.com [mailto:watir-gene...@googlegroups.com] On Behalf Of jimamdg Sent: Wednesday, February 18, 2009 1:49 PM To: Watir

[wtr-general] Re: Popup clicknowait question

2009-02-18 Thread Jason Shelton
All, I have tried all of the proposed methods on the Watir OpenQa site, but for some reason click_no_wait is not accessing the specified button. When I try it, whatever popup scheme I am using just times out. What is wrong with my code!!! Below is a snippet of my last attempt. Any new

[wtr-general] Re: Popup clicknowait question

2009-02-18 Thread Darin Duphorn
Do you have the following? require 'watir/dialog' require 'watir/winClicker' require 'watir\contrib\enabled_popup' Can you get Popup Text? #Get popup text puts popup.getStaticText_hWnd(hwnd) Are you getting the Popup button clicked? #Click button on the popup

[wtr-general] Re: Code to Create Test Suite/Set in Watir or Run Series of scripts

2009-02-18 Thread John Fitisoff
One thing that might be useful is to look at the Watir unit tests. For 1.6.2 on Windows the path to the files would be something like this: C:\ruby\lib\ruby\gems\1.8\gems\watir-1.6.2\unittests Start with all_tests.rb and setup.rb. BTW, not sure if the unit tests are all running successfully

[wtr-general] Playback Issue

2009-02-18 Thread Boyd Ivey
I'm new to Watir and have a question. When I click on the playback button in WatirRecorder++ it pops up a new WatirRecorder++ dialog box with the same text. It does not playback. I just downloaded Ruby and installed Watir last week, so it should be the latest version. I'm sure this is a very

[wtr-general] Re: Prolems with starting FireWatir on Mac

2009-02-18 Thread jbgene
Is there another workaround. When I add require rubygems' I get: `gem_original_require': no such file to load -- unittests/setup/lib (LoadError) It just seems to transfer what are incompatible or outdated file references somewhere else. I've tried both the built-in Leopard Ruby and the

[wtr-general] Re: Does Watir 1.6.2 install on Mac OS X?

2009-02-18 Thread Bret Pettichord
Many of us are running fine on OSX. If you give us some more information about your problem maybe we can help you. It seems like you are having a different problem than John. Bret jbgene wrote: Was the lack of full support for watir on OSX ever resolved. I've tried both the built-in

[wtr-general] Re: Prolems with starting FireWatir on Mac

2009-02-18 Thread Bret Pettichord
The firewatir unit tests won't run from the gem install on any platform. Bret jbgene wrote: Is there another workaround. When I add require rubygems' I get: `gem_original_require': no such file to load -- unittests/setup/lib (LoadError) It just seems to transfer what are incompatible or

[wtr-general] Re: dd element of HTML

2009-02-18 Thread Niharika Patro
Thanks Darin, the info is very useful :) Regards Niharika On Wed, Feb 18, 2009 at 7:50 PM, Darin Duphorn dduph...@redbrickhealth.comwrote: I had the same thing. Goto C:\ruby\lib\ruby\gems\1.8\gems\watir-1.6.2\lib\watir Open non_control_elements Find This: # this class

[wtr-general] Help....

2009-02-18 Thread venky
Hi, Kindly help me in this issue. Iam using Watir 1.6.2 installed on 17- Feb-09. The Problem is $ie.bring_to_front() is not working application does't comes to front but the script is running fine. Please help me in this. Is it a problem in Gem Thanks, Venkat

[wtr-general] Re: installing Firewatir and running tests

2009-02-18 Thread Angrez Singh
Isn't this helpful? http://wiki.openqa.org/display/WTR/FireWatir+Installation What is the exact problem that you are facing while running Firewatir? A detail description would be helpful in solving your problem. - Angrez On Wed, Feb 18, 2009 at 8:59 PM, Sachin mali04.sac...@gmail.com wrote: