I recently updated the watir-webdriver gem and i was pretty surprised that
the execution speed of my has significantly decreased.
Does anyone else experiences this issue or/and know how to overcome this?
Stack:
Mac OS 10.9.5
Ruby 2.1.5p273 (2014-11-13 revision 48405) [x86_64-darwin13.0]
Yes, I'm using page-object gem. Could you provide some example?
About typing into any text field. I had this problem also and I resolved
this just change IE driver from x64 to x32.
--
--
Before posting, please read http://watir.com/support. In short: search before
you ask, be nice.
, 2015 8:12:34 PM UTC+2, niartseoj wrote:
what happens when you remove
sleep 2?
On Thursday, December 25, 2014 11:51:42 AM UTC-5, Andrew Petrenko wrote:
Hello.
I have popups with frames (not iframes). And when I set values into
textboxes, selectlists and others it takes about 5 seconds
, January 5, 2015 8:12:34 PM UTC+2, niartseoj wrote:
what happens when you remove
sleep 2?
On Thursday, December 25, 2014 11:51:42 AM UTC-5, Andrew Petrenko wrote:
Hello.
I have popups with frames (not iframes). And when I set values into
textboxes, selectlists and others it takes about 5
Yes, the same. I use watir-webdriver v0.6.11.
--
--
Before posting, please read http://watir.com/support. In short: search before
you ask, be nice.
watir-general@googlegroups.com
http://groups.google.com/group/watir-general
watir-general+unsubscr...@googlegroups.com
---
You received this
Hello.
I have popups with frames (not iframes). And when I set values into
textboxes, selectlists and others it takes about 5 seconds for every
control.
I wonder, is this a defect of watir or there is some other way for
workaround?
Here is my code:
@browser.window(:title = Add New Plan).use do
In Ruby, I'm trying to scrape a page's visible text, save it to a database,
and be able to reference the containing element later on. The problem is
that all the text methods return formatted text and collapse tags that no
longer match the markup. Consider the following example:
div id=el_id
Hello Kamal,
Can you provide the HTML you're trying to work with as well as the
Watir-Webdriver code that is giving you difficulties?
Andrew
On Tuesday, May 27, 2014 5:55:53 AM UTC-5, kamal nalla wrote:
Hi All,
While selecting radio button in Watir Web driver, it is getting selected
On Wednesday, February 12, 2014 5:58:17 AM UTC-6, Fayaz Sk wrote:
Tried as below as well but still its not selecting the active currentdate:
@browser.span(:class = add-on sm-icon-calendar).click
@browser.a(:class = ui-state-default ui-state-highlight
ui-state-active).click
There are
.
- https://leanpub.com/cucumber_and_cheese
--
Andrew
--
--
Before posting, please read http://watir.com/support. In short: search before
you ask, be nice.
watir-general@googlegroups.com
http://groups.google.com/group/watir-general
watir-general+unsubscr...@googlegroups.com
---
You received
to the
browser would fail
# In irb, all of this code works as expected.
@browser.goto yahoo.com
@browser.execute_script alert()
--
Andrew
--
--
Before posting, please read http://watir.com/support. In short: search before
you ask, be nice.
watir-general@googlegroups.com
http://groups.google.com/group/watir
On Monday, June 3, 2013 9:28:50 AM UTC-5, enroxorz wrote:
So I know that this issue was resolved here:
https://groups.google.com/d/msg/watir-general/FqVBzjNuOqA/7HtFJoJYzzkJ
but when I tested it I was running on Windows XP SP 3 with IE 8. We just
got new testing servers in that are
dismisses
the modal for the user. Without page HTML when the modal is visible and an
indication of which line is giving the failure in your Watir code, it's
difficult to provide any further guidance.
If you have HTML available, paste it in so we can further troubleshoot.
Andrew
--
--
Before
You're welcome, however, I had a copy and paste failure there.
browser = Watir::Browser.start url
is the same as
browser = Watir.new
browser.goto url
On Friday, May 10, 2013 11:04:09 AM UTC-5, Dan wrote:
Thanks Andrew! You learn something new everyday!
On Friday, May 10, 2013 11:58:31
One last correction:
browser = Watir::Browser.start url
is the same as
browser = Watir::Browser.new
browser.goto url
--
--
Before posting, please read http://watir.com/support. In short: search before
you ask, be nice.
watir-general@googlegroups.com
Thanks for the words of caution with the FFI gem.
Cheers,
Andrew
On Monday, March 18, 2013 12:13:23 PM UTC-5, Chuck van der Linden wrote:
On Friday, March 8, 2013 12:32:44 AM UTC-8, Željko Filipin wrote:
On Thu, Mar 7, 2013 at 5:58 PM, Andrew Leaf and...@clockwork.net wrote:
Ruby 2.0
Thank you for the guidance, Željko. Ruby 2.0 it is!
Cheers,
Andrew
--
--
Before posting, please read http://watir.com/support. In short: search before
you ask, be nice.
watir-general@googlegroups.com
http://groups.google.com/group/watir-general
watir-general+unsubscr...@googlegroups.com
?
Regards,
★
Andrew Leaf Leaf, Software Test Engineer
Clockwork Active Media Systems
Twitter: @avleaf
Strategy ★ Design ★ Technology ★ Content
http://www.clockwork.net
--
--
Before posting, please read http://watir.com/support. In short: search before
you ask, be nice.
watir
pm, Andrew Vida andrewjv...@gmail.com wrote:
I was experiencing issues with Watir::IE#send_keys after upgrading to
Watir 1.9.2 (IE 8/Windows 7). After installing Watir 1.9.2.rc1, my
test suite passes. Thanks to all on the team for fix!
Andy
--
Before posting, please read http
I was experiencing issues with Watir::IE#send_keys after upgrading to
Watir 1.9.2 (IE 8/Windows 7). After installing Watir 1.9.2.rc1, my
test suite passes. Thanks to all on the team for fix!
Andy
--
Before posting, please read http://watir.com/support. In short: search before
you ask, be
Hi All,
I'm having an issue with the following script not returning the status_code
of the current response page. I'm probably not applying the correct method
for the browser object. Any help would be most appreciated.
Regards,
Andrew G.
require 'rubygems'
require 'watir-webdriver'
browser
to
get the HTTP status code, I want to avoid using celerity as it is headless
and I want to be able to use a real browser for the testing. I originally
thought that watir and celerity shared the same api.
Thanks,
Andrew G.
#
# @return [Fixnum] status code of the last request
#
def
Just to give you more info on this. I'm trying to migrate my tests written
in celerity over to watir-webdriver. Unfortunately, I'm finding that a few
of the methods in celerity are missing in watir-webdriver.
Andrew G.
On Thu, Mar 3, 2011 at 12:15 PM, Andrew Gallo gallo.and...@gmail.comwrote
Getting an error while starting up the program on this code where I am
extending SelectList (file name is watir_or.rb)
require 'rubygems'
require 'watir'
require 'win32ole'
module Watir
class Picker SelectList
# picker specific methods
end
end
The error is
./watir_or.rb:8:
I got past this error, but not all of the tests appear to be working
yet. After getting the latest code from git, I copied the watir
\commonwatir\unittests\setup folder to Ruby\lib\ruby\gems\1.8\gems
\watir-1.6.2\unittests. However, core_tests.rb won't run any tests,
but window_test.rb will run
Thanks, I'll check that out.
On Jun 3, 9:29 am, Željko Filipin zeljko.fili...@wa-research.ch
wrote:
On Wed, Jun 3, 2009 at 3:17 PM, Andrew andre...@gmail.com wrote:
If the ñ character is anywhere in my html file, it appears to be
breaking the xpath selectors I'm using.
A long time ago I
Looks like that fixed it in my initial testing. Thanks!
On Jun 3, 9:29 am, Željko Filipin zeljko.fili...@wa-research.ch
wrote:
On Wed, Jun 3, 2009 at 3:17 PM, Andrew andre...@gmail.com wrote:
If the ñ character is anywhere in my html file, it appears to be
breaking the xpath selectors I'm
Just for the sake of having a complete question/answer, you just need
to add the following two lines to your ruby script:
require “win32ole”
WIN32OLE.codepage = WIN32OLE::CP_UTF8
Source: http://zeljkofilipin.com/2006/03/15/utf-8-and-ruby/
On Jun 3, 9:36 am, Andrew andre...@gmail.com wrote
I have a field which should be defined as
class ViewActivityPatternPage Taza::Page
field(:class) {logon_frame.span
(:id, /.*:ActivityClass$/)}
...
end
but as soon as the page object is instantiated I get
undefined method `class_field' for
Thanks, It worked - except that before_text and after_text seem to be
reversed in watir 1.6.3. I used after_text and got what I needed.
Andy
On Apr 13, 7:09 pm, orde ohil...@gmail.com wrote:
Looks like this would do it:
puts browser.link(:index, 1).before_text
On Apr 13, 2:31 pm,
I have a large tree of nested divs, and I want to get an array of just
the direct children of any particular div. I do not know ahead of time
how many divs there will be at any level. Starting from a div, what is
the Watir code for getting the divs that are direct children (and yes,
there are
How can xpath be used to return an array of divs? What would the xpath
look like?
On Apr 14, 10:30 am, Michael Hwee michael_h...@yahoo.com wrote:
Can you try xpath?
- Original Message
From: andrew.d...@lthree.com andrew.d...@lthree.com
To: Watir General
if I have some html that looks like
span id='myid'
text1
a link text/a
text 2
select.../select
text 3
/span
what is the Watir command to pull out just 'text 2'?
Andy
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
IEEXPLORE.EXE – Application Error
The instruction at “0x0580715d” referenced memory at “0x8ccc0082”. The
memory could not be “written”.
Click on OK to terminate the program
Click on CANCEL to debug the program
Andrew
--~--~-~--~~~---~--~~
You received this message because
uidewire ClaimCenter text'
By putting some traces in frame.rb inside the watir 1.6.3 project, I
know that it is never entering the for loop that loops over all the
frames.
On Apr 8, 12:11 pm, Tiffany Fodor tcfo...@comcast.net wrote:
Hi Andrew!
Could you please provide a sample of your code
is because the
testing responsibility changed to someone other than me. If you have your
watir script(s) created, this is pretty easy and inexpensive--at least to drive
the load.
Andrew McFarlane
Date: Thu, 2 Apr 2009 14:37:21 -0600
Subject: [wtr-general] Re: Performance Testing
From: lisa.cris
I have a table cell that sometimes holds a span and sometimes holds a
select list. I was trying a begin/rescue like this;
begin
puts looking for select list
@row.cell(:index, 2).select_list(:index, 1)
rescue Exception = e
puts looking for span
1) The column def is part of a larger table def. I would have to
either repeat the column def or the entire table to handle the two
types.
2) Defining multiple columns would make it impossible for me to scan
down that column and choose a row based on a value in that column.
3) Defining multiple
What follows is a working solution and some lessons learned in
handling popups. Thanks for everyone that has helped along the way.
I needed to handle confirmation popups. After trying autoit based
solutions without success, I decided to try a solution that has worked
for me in the past -
Yea, I've tried passing it as a parm with no luck also. Everything
says it is supposed to work, but I can't get it.
On Mar 12, 12:11 pm, Andy Sipe ajs.gene...@gmail.com wrote:
Take a look at this W3 schools link, it may
help:http://www.w3schools.com/jsref/jsref_onkeypress.asp
Note how they
When I tried this I got
undefined method `Document' for #Watir::IE:0x4288648
(NoMethodError)
Is Watir::IE the correct object to be using here?
On Mar 11, 8:53 am, Andy Sipe ajs.gene...@gmail.com wrote:
You should be able to read it using xpath or some other technique.
I don't believe
Here is a sample. This code does not throw any exceptions. js1,2,3 all
result in a popup. js 4 does not - indicating that it is not finding
the element I want. I gaurantee that the html element I am looking for
is a child of top_frame. In fact, the code that calls this block
checks that the html
Just no luck. Still not seeing any popup.
roles_page.bottom_delete.click_no_wait# = no popup
displayed
but if I use
roles_page.bottom_delete.click #=== popup comes right
up
On Mar 5, 10:17 am, Jim Matthews jim_m...@swbell.net wrote:
One thing I forgot to mention:
I was basing my code on example 4. Use click_no_wait on a button I
know will cause a popup, and then call enabled_popup. The call from
enabled_popup never returns. I can post the entire exception trace if
that helps.
On Mar 4, 8:26 am, Jim Matthews jim_m...@swbell.net wrote:
From your first
Trying to execute enabled_popup and it is throwing an exception
undefined local variable or method `hwnd' for #Watir::Frame:
0x3d7b4d4
I checked the source for enabled_popup and it does seem to have an
undeclared variable. Is this working for other people. Working on
latest version of watir.
45 matches
Mail list logo