On May 6, 6:02 am, Etsap aaron.di...@gmail.com wrote:
Make sure you are using Ruby 1.8.6-26, not 1.8.6-27.
Can you please tell me how I can check this? Thanks.
--
Before posting, please read http://watir.com/support. In short: search before
you ask, be nice.
You received this message because
On Apr 14, 4:30 pm, Michael Hwee michael_h...@yahoo.com wrote:
Can you use click!
Click! just launches the popup just like click by itself would do. So
performance wise it is no different from click.
--
Before posting, please read http://watir.com/support. In short: search before
you ask, be
On Apr 14, 9:05 am, Rats crapats...@yahoo.com.au wrote:
As per my previous posts I am having problems with click_no_wait.
Apparently the following patch will fix the problem:
http://jira.openqa.org/browse/WTR-320
I can't seem to find any info on how to apply the patch on this page.
All
I've been looking at ways of handling pop ups and it appears the way
to go is via click_no_wait. Unfortunately this is not working for me
as when I run the click_no_wait command it just flashes the button and
does not click it hence no popup window.
I'm running:
ruby 1.8.6 (2007-09-24 patchlevel
On Apr 13, 8:57 am, Eric Mathiesen mathiese...@gmail.com wrote:
Might be a simplistic answer, but have you set focus to the child popup
window?
I am fairly sure it's not a hidden pop up or anything like that as if
I manually click the button (after click_no_wait flashes it) the pop
up is
On Apr 13, 9:11 am, Ethan notet...@gmail.com wrote:
Is the popup triggered by an onclick event, or an onmouseup or onmousedown
event? If it's the latter, watir won't trigger it; #click and #click_no_wait
don't do those events. you'll have to explicitly
fire_event_no_wait('onmousedown') or
Ok, I've done much research into this and it appears to be a current
issue:
http://jira.openqa.org/browse/WTR-320
It was thought to have been resolved but the ticket was reopened in
later March as many people are still reporting issues with
click_no_wait.
--
Before posting, please read
Given I simply cannot get click_no_wait working with my current
configuration are there any other ways of handling js popups?
Currently I'm using:
Win7
IE8
Watir 1.6.5
Ruby 1.8.6 (1 click installer version)
--
Before posting, please read http://watir.com/support. In short: search before
you
I'm trying to check if a field is populated on a page. This command
works fine and returns found it:
if ie.text_field(:value,'some value').exists?
puts 'found it
else
puts did not find it
end
However this one doesn't:
if ie.text_field(:id,mytextfield).value == 'some value'
puts 'found it
On Apr 8, 1:47 pm, Wesley Chen cjq@gmail.com wrote:
ie.text_field(:id,mytextfield).value will get the value in the text field.
You can't get the text_field attribute value by it.
Wesley.
For life, the easier, the better.
So what you're saying is that I need to get the attribute value of
On Apr 8, 12:16 pm, sal salem.m.ja...@gmail.com wrote:
I am loading a form with an embedded table using Ajax. I am having
trouble locating elements that are part of the form. I tried re-
reading the dom and waiting using the following:
@b=Watir::Browser.attach(:title,'sample')
So what you're saying is that I need to get the attribute value of the
field? Can you please tell me how the syntax will look? Thanks.
Don't worry, I figured it out. This will return the value set for
mytextfield:
ie.text_field(:id, 'mytextfield').attribute_value('value')
--
Before posting,
On Apr 8, 2:59 pm, Sal Jamil salem.m.ja...@gmail.com wrote:
I just tried that and I am getting the same error.
Is this page published on the web? If so then please provide a URL so
we can have a look at it. It is very strange that firebug displays the
element name yet Watir cannot find it. I've
On Apr 6, 7:26 pm, Wesley Chen cjq@gmail.com wrote:
For file upload button, there is a ready method, named:
$ie.file_field(:name, ).set(your file.txt)
Wesley.
For life, the easier, the better.
Indeed, red face
Thanks very much. That works perfectly. ;-)
--
Before posting, please read
On Apr 7, 2:37 am, Adam Reed reed.a...@gmail.com wrote:
You're selecting the first element in a drop down box? If not, can
you please provide a little bit more info on exactly what you're
interacting with?
ie.select_list(:id, /Request_Salutation_I/).set First Value Name
Thanks,
Adam
Hi,
I have a text field which has a mask in it to check for valid phone
numbers e.g. (__) ___
When I send this command it does not populate this field:
ie.text_field (:name, RequestDemoContact1_HomePhone_I).set
(091234567)
The field just flashes yellow and you see some characters being typed
On Apr 2, 4:27 am, orde ohil...@gmail.com wrote:
Use autoit (http://www.autoitscript.com).
Here's the function list for
Send:http://www.autoitscript.com/autoit3/docs/functions/Send.htm
Example syntax: browser.send_keys({TAB}{DOWN})
Thanks for your reply. I am however a little bit confused
I'm having some issues with setting focus to fields on different
computers.
I scripted some stuff over the weekend on my home computer where I set
focus to a field and then did some send_keys on the field. This
worked perfectly however on my work computer the same .focus command
sets focus to the
On Apr 6, 5:47 am, orde ohil...@gmail.com wrote:
autoit is installed with watir. You don't need to require it, but
you'll need to make sure the .dll is registered correctly. If you run
into problems, check
outhttp://wiki.openqa.org/display/WTR/FAQ#FAQ-HowdoIfixaWIN32OLERuntimeE...
On Apr 6, 8:42 am, Rats crapats...@yahoo.com.au wrote:
I'm having some issues with setting focus to fields on different
computers.
I scripted some stuff over the weekend on my home computer where I set
focus to a field and then did some send_keys on the field. This
worked perfectly however
Firstly, I should have probably mentioned in my previous posts I am a
Watir newbie. However I have done a fair bit or programming so have
some knowledge when it comes to using Watir.
Ok, my latest problem is to do with handling a windows file upload
dialog box. I've done searches through this NG
Ok, I've successfully clicked on a link and a new page opens. All I
want to do now is to send two keystokes i.e. tab and then a down
arrow.
Is there a way to do this using Watir?
--
Before posting, please read http://watir.com/support. In short: search before
you ask, be nice.
You received
22 matches
Mail list logo