Shouldn't be a problem.
-Original Message-
From: watir-general@googlegroups.com
[mailto:watir-gene...@googlegroups.com] On Behalf Of Darryl (gem dandy)
Brown
Sent: Monday, June 08, 2009 8:41 AM
To: Watir General
Subject: [wtr-general] Office 2007 - Excel
We have developed several
Browser.link(:text,/Click This Link/).click
-Original Message-
From: watir-general@googlegroups.com
[mailto:watir-gene...@googlegroups.com] On Behalf Of James
Sent: Wednesday, June 03, 2009 11:08 AM
To: Watir General
Subject: [wtr-general] Finding a specific instance of a repeated link
Baker
blog:http://blog.charleybaker.org/
Lead Developer, Watir,http://wtr.rubyforge.org
QA Architect, Gap Inc Direct
On Wed, Jun 3, 2009 at 10:10 AM, Darin Duphorn
dduph...@redbrickhealth.comwrote:
Browser.link(:text,/Click This Link/).click
-Original Message-
From: watir
on. :)
Charley Baker
blog: http://blog.charleybaker.org/
Lead Developer, Watir, http://wtr.rubyforge.org
QA Architect, Gap Inc Direct
On Wed, Jun 3, 2009 at 10:41 AM, Darin Duphorn
dduph...@redbrickhealth.com wrote:
Navigate to this thread, if you have any question feel free to keep
asking.
http
That is nice.
From: watir-general@googlegroups.com
[mailto:watir-gene...@googlegroups.com] On Behalf Of Charley Baker
Sent: Monday, June 01, 2009 10:56 AM
To: watir-general@googlegroups.com
Subject: [wtr-general] Re: Multiple Attributes for Text Fields
I had that issue once,I ended up using a different button attribute.
Try using index and see if you can get the click_no_wait to work using
that.
-Original Message-
From: watir-general@googlegroups.com
[mailto:watir-gene...@googlegroups.com] On Behalf Of satish
Sent: Tuesday, May 19,
My bad, you want to get the current value correct?
Current_item = Listbox(:id,'blah).getSelectedItems.to_s
From: watir-general@googlegroups.com
[mailto:watir-gene...@googlegroups.com] On Behalf Of Darin Duphorn
Sent: Thursday, May 14, 2009 8:51 AM
Like this?
excel_value = 05-07-2009 * AM
regxmyvar = Regexp.new excel_value.gsub(*,.*)
-Original Message-
From: watir-general@googlegroups.com
[mailto:watir-gene...@googlegroups.com] On Behalf Of Bret Pettichord
Sent: Friday, May 08, 2009 12:57 PM
To:
Have you been to igoogle? Those information boxes are widgets.
The html is basically Div(:id,widget_blah), but when a page open they
use ajax to load the information on the widgets separately from the rest
of the page.
As for button_id is the a variable I use for a button button_id =
Yep found it two shortly after I posted.
I'm currently installing.
On 4/26/09 4:25 PM, Jason Trebilcock jason.trebilc...@gmail.com wrote:
Here's a thread to look at:
http://groups.google.com/group/watir-general/browse_thread/thread/2870724cfa
c1f1aa
-Original Message-
I did see those posts that said it was included, but I'm not sure how to
find out if it exists or how to even open a existing .rb file with
eclipse.
I think it more my understanding of macs.
I just got it and it a little different that PC.
My brain hurts.
:). Thanks
Bret for figuring this out. I think we should release this as soon as
possible.
- Angrez
Darin Duphorn wrote:
I tried both of the below, but I'm still getting the message
undefined method 'attach' for FireWatir::Firefox:Class
To get current value you can use
Text_value = $ie.text_field(:id=id name,:index=index).value
From: watir-general@googlegroups.com
[mailto:watir-gene...@googlegroups.com] On Behalf Of Durgesh Nadkarni
Sent: Friday, April 17, 2009 7:57 AM
To:
- 3.0.5
jssh - 0.9
On Apr 13, 3:31 pm, Darin Duphorn dduph...@redbrickhealth.com
wrote:
What version of FF are you using?
Even if I run from irb using system or exec it hangs.
-Original Message-
From: watir-general@googlegroups.com
[mailto:watir-gene...@googlegroups.com
I'm also using Firefox 3.08.
From: watir-general@googlegroups.com
[mailto:watir-gene...@googlegroups.com] On Behalf Of Darin Duphorn
Sent: Thursday, April 16, 2009 9:57 AM
To: watir-general@googlegroups.com
Subject: [wtr-general] Re: firewatir and jssh
How do dou start Jssh?
I've tried the below, but the attach still fails.
system('C:\Program Files\Mozilla Firefox\firefox.exe -jssh')
$ie = FireWatir::Firefox.attach(:title,Google)
Thanks,
From: watir-general@googlegroups.com
'
(You already have a reference to the page in 'ff')
If you want another reference to the same page, you would say:
ff1=ff.attach(:title, /something in the title/)
Now you have a second reference to the page...
On Apr 13, 11:30 am, Darin Duphorn dduph...@redbrickhealth.com
wrote:
How do dou start
originial process will hang.
all my test machines are set up using a perl script and one of the
setup processes launches FF. The system command I tried above was from
irb and it came back and nothing hung.
On Apr 13, 12:31 pm, Darin Duphorn dduph...@redbrickhealth.com
wrote:
Actually, when I try
I saw this, but I'm not getting that error.
http://jira.openqa.org/browse/WTR-271
I'm just unable to populate the listbox.
Is it because of the modal/thickbox?
-Original Message-
From: watir-general@googlegroups.com
[mailto:watir-gene...@googlegroups.com] On Behalf Of Moochie
Sent:
Sorry it was checked instead of set. If you want to validate it true or
false remember to set it to string.
if $ie.checkbox(:name,blah).checked?.to_s = 'true'
end
-Original Message-
From: watir-general@googlegroups.com
[mailto:watir-gene...@googlegroups.com] On Behalf Of Darin Duphorn
user_name = joe smith
puts $ie.div(:text,/#{user_name}/).exists?.to_s
#or maybe
puts $ie.div(:id='legend',:text=/#{user_name}/).exists?.to_s
-Original Message-
From: watir-general@googlegroups.com
[mailto:watir-gene...@googlegroups.com] On Behalf Of Chuck van der
Linden
Sent:
Brett,
Within this synchronization, is there a way to handle issues where the
page doesn't fully load? (insert a page refresh after a certain time?)
We have a situation where if a separate browser maybe opened in IE 7.0
and the automation is running on the an active browser the page doesn't
need to modify the wait method.
Bret
Darin Duphorn wrote:
Brett,
Within this synchronization, is there a way to handle issues where the
page doesn't fully load? (insert a page refresh after a certain
time?)
We have a situation where if a separate browser maybe opened in IE 7.0
I ran your code and it worked for me.
What Version of ruby did you load?
Type in command prompt
ruby -v
What gems do you have installed?
gem list
-Original Message-
From: watir-general@googlegroups.com
[mailto:watir-gene...@googlegroups.com] On Behalf Of
vladimir...@hotmail.com
)
win32-file (0.5.4)
win32-file-stat (1.2.7)
win32-process (0.6.0, 0.5.3)
win32-sapi (0.1.4)
win32-sound (0.4.1)
windows-api (0.3.0, 0.2.0)
windows-pr (1.0.2, 0.7.2)
xml-simple (1.0.12)
On Mar 18, 6:02 pm, Darin Duphorn dduph...@redbrickhealth.com
wrote:
I ran your code and it worked for me.
What
I created a function to do it, I asked the same question at the
beginning of the week.
Take account I wrote it for just the body of the table and some tables
we work with have multiple body section.
def get_row_from_cell_text(table_id,cell_text)
row_counter = 1
b_counter = 1
row_num = 0
TFOOT
table.foot
-Original Message-
From: watir-general@googlegroups.com
[mailto:watir-gene...@googlegroups.com] On Behalf Of Moochie
Sent: Friday, March 13, 2009 10:18 AM
To: Watir General
Subject: [wtr-general] How do you recommend working with table THEAD or
TFOOT?
TBODY works nice
Ok,
I found the body tag
C:\Ruby\lib\ruby\gems\1.8\gems\watir-1.6.2\lib\watir
-Original Message-
From: watir-general@googlegroups.com
[mailto:watir-gene...@googlegroups.com] On Behalf Of Darin Duphorn
Sent: Friday, March 13, 2009 10:21 AM
To: watir-general@googlegroups.com
Subject
I've also tried to ignore the BR by using Regexp and wildcards
#Excel Value
123 fake street*
Crookston, MN 56716
#I'm trying to replace * in excel with a wild card to ingnore the BR
tag
regxmyvar = Regexp.new text.gsub(*,/\.*/) - Does this look correct?
puts regxmyvar
?-mix:123 fake
I figured it out.
regxmyvar = Regexp.new text.gsub(*,.*)
-Original Message-
From: watir-general@googlegroups.com
[mailto:watir-gene...@googlegroups.com] On Behalf Of Darin Duphorn
Sent: Wednesday, March 04, 2009 9:38 AM
To: watir-general@googlegroups.com
Subject: [wtr-general] Re
Like
#0|0|0|3# #0|0|1|3#
-Original Message-
From: watir-general@googlegroups.com
[mailto:watir-gene...@googlegroups.com] On Behalf Of Mark Anderson
Sent: Friday, February 27, 2009 2:30 PM
To: watir-general@googlegroups.com
Subject: [wtr-general] Re: slice question
-Original
question
excel_value.sub!('-','')
On Feb 27, 2:31 pm, Darin Duphorn dduph...@redbrickhealth.com
wrote:
Like
#0|0|0|3# #0|0|1|3#
-Original Message-
From: watir-general@googlegroups.com
[mailto:watir-gene...@googlegroups.com] On Behalf Of Mark Anderson
Sent: Friday, February 27
I moved the to_s and strip before the format and that worked.
I'll take it.
DD
label_id.document.lastChild.nodeValue.to_s.strip[0,excel_value.index(*).to_i]
-Original Message-
From: watir-general@googlegroups.com [mailto:watir-gene...@googlegroups.com] On
Behalf Of Moochie
Sent:
That worked
Thanks
Darin
-Original Message-
From: watir-general@googlegroups.com
[mailto:watir-gene...@googlegroups.com] On Behalf Of Ravi
Sent: Wednesday, February 25, 2009 9:39 AM
To: Watir General
Subject: [wtr-general] Re: slice question
.slice(/\*.*\*/)
On Feb 25, 9:30 am,
be
easier to troubleshoot there and send the results to the list when we
know what's happening.
Charley Baker
blog: http://charleybakersblog.blogspot.com/
Lead Developer, Watir, http://wtr.rubyforge.org
QA Architect, Gap Inc Direct
On Mon, Feb 23, 2009 at 11:21 AM, Darin Duphorn
dduph
Could you post the button properties?
Also I've seen it where you actual need to include a ''
Example:
#This didn't work
ie.button(:text,close).click_no_wait
#But this did
ie.button(:text,close).click_no_wait
From:
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
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
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
Below is what I use. I don't have any issues.
#---
#Handles
I had to do the same thing.
I created my own Demo, by downloading ruby watir.
And we are continuing to use it today, and it can work with you short
list of requirements.
-Original Message-
From: watir-general@googlegroups.com
[mailto:watir-gene...@googlegroups.com] On Behalf Of
Have you tried using :index?
-Original Message-
From: watir-general@googlegroups.com
[mailto:watir-gene...@googlegroups.com] On Behalf Of Saterus
Sent: Tuesday, February 10, 2009 2:59 PM
To: Watir General
Subject: [wtr-general] Duplicate Table Ids
I'm working on a screen scraping
if $ie.span(:text, /span text/).exists?
ref_nbr_str = $ie.p(:text, /span text:/).text.split( ) #Use split
puts ref_nbr_str[1] #Change the value until you get the number
#Stores value as a global variable
eval($#{New Variable}='#{ref_nbr_str[2]}')
end
statement?
On Feb 9, 8:10 am, Darin Duphorn dduph...@redbrickhealth.com
wrote:
if $ie.span(:text, /spantext/).exists?
ref_nbr_str = $ie.p(:text, /spantext:/).text.split( ) #Use split
puts ref_nbr_str[1] #Change the value until you get the number
#Stores value as a global variable
C:\\ruby\\lib\\ruby\\gems\\1.8\\gems\
On 28 Jan., 14:56, sHiVa krapa.ph...@gmail.com wrote:
Hi all,
i am trying to use roo for reading Excel file.
When i am trying to invoke 'roo' package using
require 'roo' the following error is displayed. Plase help me in
this.-- Thanks
Don't you need a attribute value for the frame?
ie.frame(:id,main).link(:text,Add New).click.
-Original Message-
From: watir-general@googlegroups.com
[mailto:watir-gene...@googlegroups.com] On Behalf Of malar
Sent: Friday, January 23, 2009 1:15 AM
To: Watir General
Subject:
Thanks,
Very helpful.
DD
From: watir-general@googlegroups.com
[mailto:watir-gene...@googlegroups.com] On Behalf Of Andy Sipe
Sent: Wednesday, January 21, 2009 12:07 PM
To: watir-general@googlegroups.com
Subject: [wtr-general] Re: How can I use a
JQuery
-Original Message-
From: watir-general@googlegroups.com
[mailto:watir-gene...@googlegroups.com] On Behalf Of Paul Rogers
Sent: Thursday, January 15, 2009 4:38 PM
To: watir-general@googlegroups.com
Subject: [wtr-general] Re: Drag and Drop with widgets
Ive been working on getting
#Keyboard Click
$ie.send_keys({enter])
-Original Message-
From: watir-general@googlegroups.com
[mailto:watir-gene...@googlegroups.com] On Behalf Of Natasha
Sent: Friday, January 16, 2009 8:45 AM
To: Watir General
Subject: [wtr-general] Need to automate pressing of Enter key
Hello
wrote:
Thanks Darin.
Just to sum up, the following statement worked:
$ie.send_keys({ENTER})
Thanks,
Natasha
On Jan 16, 2:46 pm, Darin Duphorn dduph...@redbrickhealth.com
wrote:
#Keyboard Click
$ie.send_keys({enter])
-Original Message-
From: watir-general
on the keyboard and the window goes away but I
can not get my script to identify the window.
so another questions how to identify an non IE window?
How can you see all windows available?
Thank you
Louie
On Jan 16, 10:33 am, Darin Duphorn dduph...@redbrickhealth.com
wrote:
You would just replace the $ie
Yep,
That worked, but is there a way to replace BR tags with carriage
returns?
Thanks,
DD
-Original Message-
From: watir-general@googlegroups.com
[mailto:watir-gene...@googlegroups.com] On Behalf Of Paul Rogers
Sent: Tuesday, January 13, 2009 11:19 AM
To:
Also would that work if we had multiple links with the same name?
(example)
ie.link(:text=/Cholestorol/,:index=2).click
Thanks,
DD
-Original Message-
From: watir-general@googlegroups.com
[mailto:watir-gene...@googlegroups.com] On Behalf Of Paul Rogers
Sent: Tuesday, January 13, 2009
I've figured out a solution.
I'm just keeping focus on the button after I click it so it doesn't
return
to the text_field.
Button.click
Button.focus()
If there is a better solution, please post.
Thanks,
-Original Message-
From: watir-general@googlegroups.com
Nope, that doesn't work.
If the button brings me to another page it will bomb out when I try to
put focus on the button.
ick
-Original Message-
From: watir-general@googlegroups.com
[mailto:watir-gene...@googlegroups.com] On Behalf Of Darin Duphorn
Sent: Friday, January 09, 2009 3:18 PM
Ok, this $ie.focus() worked
-Original Message-
From: watir-general@googlegroups.com
[mailto:watir-gene...@googlegroups.com] On Behalf Of Darin Duphorn
Sent: Friday, January 09, 2009 3:24 PM
To: watir-general@googlegroups.com
Subject: [wtr-general] Re: blur
Nope, that doesn't work
That actually what I'm using
$ie.label(:text,label.to_s).exists?
-Original Message-
From: watir-general@googlegroups.com [mailto:watir-gene...@googlegroups.com] On
Behalf Of Tiffany Fodor
Sent: Thursday, January 08, 2009 3:43 PM
To: Watir General
Subject: [wtr-general] Re: if
suggested changing the
variable name and modifying it outside of the object identifier.
-Tiffany
On Jan 8, 2:44 pm, Darin Duphorn dduph...@redbrickhealth.com
wrote:
That actually what I'm using
$ie.label(:text,label.to_s).exists?
-Original Message-
From: watir-general
http://groups.google.com/group/watir-general/browse_thread/thread/98fb1b
7130202d21/c6c736f43c6589e7?hl=enlnk=gstq=cookies#c6c736f43c6589e7
-Original Message-
From: watir-general@googlegroups.com
[mailto:watir-gene...@googlegroups.com] On Behalf Of Jim
Sent: Monday, December 29, 2008
Try \\
$drive+\\+env+\\Test_Results\\+$file_name+_Results.xls
-Original Message-
From: watir-general@googlegroups.com
[mailto:watir-gene...@googlegroups.com] On Behalf Of
jas.shel...@hotmail.com
Sent: Tuesday, December 16, 2008 3:08 PM
To: Watir General
Subject: [wtr-general]
Relax
-Original Message-
From: watir-general@googlegroups.com [mailto:watir-gene...@googlegroups.com] On
Behalf Of HAHAHA
Sent: Friday, December 12, 2008 9:14 AM
To: Watir General
Subject: [wtr-general] Re: button.Click_No_Wait only highlights the button,
does not click
Why I cannot
I'm learning something new everyday.
This is awesome.
From: watir-general@googlegroups.com
[mailto:watir-gene...@googlegroups.com] On Behalf Of marekj
Sent: Friday, December 12, 2008 1:47 PM
To: watir-general@googlegroups.com
Subject: [wtr-general]
a plain text editor - notepad
for example.
On 1 Dec 2008, at 22:29, Darin Duphorn [EMAIL PROTECTED]
wrote:
The value in the listbox is displayed as Filter by Coach...
selected=selected
Filter by Coach.../option
The problem seems to be when I read the value from a excel cell
Will this work?
ie.text_field(:name, autoGenId) = tempValue
Is the code within the same .rb file? Are you passing tempValue
correctly?
-Original Message-
From: watir-general@googlegroups.com
[mailto:[EMAIL PROTECTED] On Behalf Of Jaggi
Sent: Tuesday, December 02, 2008 8:05 AM
To:
Of
Darin Duphorn
Sent: Tuesday, December 02, 2008 8:28 AM
To: watir-general@googlegroups.com
Subject: [wtr-general] Re: Unable to find the value blah... within a listbox.
Value is retrieved from excel cell
I've tried both copying it from and entering manually and I'm always getting 'à'
I've also
Did you change the cell range. I was testing it on a spreadsheet where
the range a1 - a3 was populated.
DD
From: watir-general@googlegroups.com
[mailto:[EMAIL PROTECTED] On Behalf Of Jason Shelton
Sent: Monday, December 01, 2008 2:36 PM
To:
The actuall value is Filter by Coach...
The ... That follow the work coach are displaying as á.
I believe in excel that ... Means á
Not sure though.
-Original Message-
From: watir-general@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf Of
Chuck vdL
Sent: Monday, December 01,
Of
Chuck vdL
Sent: Monday, December 01, 2008 4:27 PM
To: Watir General
Subject: [wtr-general] Re: Unable to find the value blah... within a listbox.
Value is retrieved from excel cell
Can you show us the HTML that defines the listbox and its items?
On Dec 1, 2:24 pm, Darin Duphorn [EMAIL PROTECTED
68 matches
Mail list logo