some time back I posted a show_windows method
I have no idea when it might have been though.
Paul
- Original Message -
From: "Eric" <[EMAIL PROTECTED]>
To:
Sent: Tuesday, August 08, 2006 7:55 AM
Subject: [Wtr-general] How to check for opened IE windows?
> Hi,
>
> I have been trying t
use 1.5:
at_exit { close_browser() }
or
at_exit { IE.close_all }
dzen wrote:
> i have mass of ruby tests placed in some dirs. i have and a main ruby test
> from where i requre all of the other tests. but when i start the main test,
> after it finish i have a huge quantity of browsers opene
ie.divs.show
using 1.5, you can use name, id, text, class pretty much anything.
Max Russell wrote:
>
> A few more questions regarding Ajax drag and rop-
>
>
> Is there a command to show all divs in a particular page? What can
> they be accessed through, if not name? (ID)?
>
>
>
Thanks Charley.
-
Posted via Jive Forums
http://forums.openqa.org/thread.jspa?threadID=3381&messageID=9511#9511
___
Wtr-general mailing list
Wtr-general@rubyforge.org
http://rubyforge.org
It's a bug in the Watir codebase. As you pointed out, there is a workaround, but it should work with the existing code. It's been reported as a jira issue and we're working on it. -Charley
On 8/8/06, Bach Le <[EMAIL PROTECTED]> wrote:
Rand,ie.button(:src, 'https://www.entertainment.com/images/butto
Hi Vikash, You are several ways to do this depending on your particular needs, here's one, add your data directory to your load path in the script you're using: $LOAD_PATH.unshift File.join(File.dirname(__FILE__),'..','data')
This assumes your data directory is one up from the file you're trying
Rand,
ie.button(:src,
'https://www.entertainment.com/images/button_continue.gif').click
should be enough to click the button, however, for consistency reasons there
shouldn't be a reason why it works without the form specified when it is in
fact a form element. As I noted before, it does work
On 8/8/06, Chris McMahon <[EMAIL PROTECTED]> wrote:
x = 11x = x + 1object_name = 'A' + x.to_s=> "A12"
Thanks Chris, works like a treat
aidy
___
Wtr-general mailing list
Wtr-general@rubyforge.org
http://rubyforge.org/mailman/listinfo/wtr-general
I use similar mixed variables in my scripts but I use the 'succ' method rather than trying to manually figure it out.For your sample code below, I might rework it to something like:def enter_data x = 0 ; object_name = 'A10'
read_in_test_data... ... object_name.succ! p object_name ...en
On 8/8/06, aidy rutter <[EMAIL PROTECTED]> wrote:
>
> def enter_data
> x=0
> read_in_test_data.each { |x|
> line = x.chomp
> next if line.upcase == 'ADDRESS:'
>
> object_name = 'A' & "#{11+x}"
I think you want something like
object_name = 'A' + '11' + x.to_s
=> "A111
If there's only one form on the page, isn't:ie.button(:src, 'https://www.entertainment.com/images/button_continue.gif').clickenough to click the button?
Also, there was some discussion about images versus buttons. I can't recall if they were trying to reference images that were not "buttons", but
Hi, This is an example of a file that I read in. However the addresses entered could be 1 upto 7 lines. *** TESTID_10 Address: 30 Choyce Close
Atherstone Warwickshire Country: GB Search-Results: 20 **
Max, check out this link
http://zbarzone.blogspot.com/2006/05/drag-and-drop-with-watir.html
-Bach
Message was edited by:
beefandbachle
-
Posted via Jive Forums
http://forums.openqa.org/thread.jspa?threadID=3397&messageI
Hi Chintakrindi, You should be able to do this by creating a new WinClicker object: wc = WinClicker.new wc.clickWindowsButton("Microsoft Internet Explorer", "OK")-Charley
On 8/8/06, Chintakrindi Meghanath <[EMAIL PROTECTED]> wrote:
Hi AllI am using the "clickWindowsButton" to handle window
On 8/8/06, Paul Rogers <[EMAIL PROTECTED]> wrote:
> I dont think there is anything in watir to do it at the moment. I started
> looking into this, but the functionality was dropped from the app I was
> testing. It may come back again, in which case I will once again take a look
> at adding this fun
I dont think there is anything in watir to do it at the moment. I started
looking into this, but the functionality was dropped from the app I was
testing. It may come back again, in which case I will once again take a look at
adding this functionality into watir.
Paul
Could anyone point
Hi All
I am using the "clickWindowsButton" to handle window pop ups in my application.
But its throwing error "undefined method".
I even inculded winClicker.rb in my script.
Can anyone help me out ?
Thanks
Meghanath
___
Wtr-general mailing list
Wtr-ge
Hi-
A few more questions regarding Ajax drag and rop-
Is there a command to show all divs in a particular page?
What can they be accessed through, if not name? (ID)?
Max Russell
test
Analyst.
InPS
Tel:
01382 223900
Fax: 01382
204488
Visit our Web site at www.
Hi,
I have been trying to create a test for a website. A new window pops out
whenever I choose something from a select list. I cannot take control of that
new window by url nor by title. So I was wondering if there is another way for
Watir to take control of it? And is there a way (a command) f
Could anyone point me at a suitable method for interacting
with AJAX drag
and drop functionality using Watir?
Thanks
Max
Max Russell
test
Analyst.
InPS
Tel:
01382 223900
Fax: 01382
204488
Visit our Web site at www.inps.co.uk
The
information in this internet email is
Hi all,
i have mass of ruby tests placed in some dirs. i have and a main ruby test from
where i requre all of the other tests. but when i start the main test, after it
finish i have a huge quantity of browsers opened. i cant put close_browser()
method at the end of the tests because some of the
21 matches
Mail list logo