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
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
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
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 pop ups in my
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
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 ***
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
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
either that
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 ...endHope this
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
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
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
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,
Thanks Charley.
-
Posted via Jive Forums
http://forums.openqa.org/thread.jspa?threadID=3381messageID=9511#9511
___
Wtr-general mailing list
Wtr-general@rubyforge.org
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)?
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 opened.
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: wtr-general@rubyforge.org
Sent: Tuesday, August 08, 2006 7:55 AM
Subject: [Wtr-general] How to check for opened IE windows?
Hi,
I
17 matches
Mail list logo