On 1/24/07, sarita [EMAIL PROTECTED] wrote:
An image link is there. when it's clicked, the Date picker appears where
date, month, year are there. When u click on a date, that date is inserted
in the text box immediately the Date picker disappears.
And, where is the problem? What can you do,
TABLE cellSpacing=0 cellPadding=0 width=71% border=0
TBODY
TR
TD width=38% style=height: 24pxinput
name=ctl00$ContentPlaceHolder1$txtCreateDate type=text
id=ctl00_ContentPlaceHolder1_txtCreateDate class=Input style=WIDTH:
I got this error while running a test thru testsuite:
Loaded suite C:/TESTSU~1.RB
Started
FE
Finished in 15.124 seconds.
1) Failure:
default_test(TC_newprojectso)
[c:/ruby/lib/ruby/1.8/Test/Unit.rb:278
C:/TESTSU~1.RB:44]:
No tests were specified.
2) Error:
Another way to say this is:
t.each {|x| puts x[0]}
I'm enjoying this thread, heres another way. Sans 0!
for element in (t.index(t.first)..t.index(t.last))
puts t[element].first
end
-
Posted via Jive Forums
On 23/01/07, Bret Pettichord wrote:
This is largely because Watir is stupid in this area. We made a bad
design choice with Watir 1.0. We'd now like to make Watir consistent and
start with 0 everywhere (like everything else in Ruby) but this would
raise compatibility issues. We welcome your
Can you post the complete code for your unit tests? I notice the `ie` not found
variable; I'm assuming you have either:
a) tried to create a Watir IE object like: myIE = ie.start( www.url.com ) -
in this case the Watir IE object must be capitalized
b) created your Watir IE object correctly like
Try this:
t = ie.table( :id, ctl00_MasterContentPlaceHolder_DomainGridView )
t.row_values(1)
Let me know if this is what you're looking for.
Hope this helps,
Nathan Christie
-
Posted via Jive Forums
Hi Nathan,
I also came to that conclusion after writing my first question (see my first
br response after first question). I don't understand why the 'header' is
not shown whenbr I do a '.to_a'. Do you understand why it's not shown when
doing '.to_a' br (see result in first question).
Try changing the name of the test method from
'newprojectso' to 'test_01_newprojectso'. Test::Unit
looks for methods that start with 'test_'.
John
--- sarita [EMAIL PROTECTED] wrote:
I got this error while running a test thru
testsuite:
Loaded suite C:/TESTSU~1.RB
Started
FE
Finished
Whoever you are, you are FREAKING FUNNY and made an excellent point
here:-)
So, Paul, how many children do you have? Well, my first boy would
be 0, and my second son would be 1, so I guess I have 1 child. Even
the Cat in the Hat's best friends are Thing 1 and Thing 2. I
would have like
Hi All,
I have a problem with getting handle of a popup window.
I use Ruby 185-21
Watir 1.5.1.1145
Watir is installed with gem install watir on Ruby and directory looks
like:C:\ruby\lib\ruby\gems\1.8\gems\watir-1.5.1.1145
Popup window is written in JavaScript: SCRIPT LANGUAGE=JavaScript
I think you should be able to trigger the date picker with one of these:
ie.image(:id, /imgCalCrDate/).click
or
ie.image(:id, /imgCalCrDate/).fire_event('onClick')
I've seen where the calendar can show up in a new ie popup window, as
well as just another layer in the same window, I can't tell
Hi All,
Does Watir work on HTTP Authentication logon popup windows?
Thank you
-
Posted via Jive Forums
http://forums.openqa.org/thread.jspa?threadID=6264messageID=17616#17616
___
Željko Filipin wrote:
We'd now like to make Watir consistent and start with 0 everywhere
(like everything else in Ruby) but this would raise compatibility
issues. We welcome your thoughts in this area.
I vote for start with 0 everywhere.
Here is where you and everyone with an
do we have the ability to vote
'Yes - with no backwards compatability'
'Yes - with backwards compatability'
or 'No'
or just yes or no
Ive just grepped my code and found 196 occurrances of :index :-(
Paul
- Original Message -
From: Bret Pettichord [EMAIL PROTECTED]
Date: Wednesday,
Paul Rogers wrote:
do we have the ability to vote
'Yes - with no backwards compatability'
'Yes - with backwards compatability'
or 'No'
or just yes or no
I created two sub tickets. Vote for the one you want.
Without backwards compatibility
http://jira.openqa.org/browse/WTR-135
With
sarita wrote:
def self.suite
suite = Test::Unit::TestSuite.new
suite TC_newprojectso.suite
return suite
end
end
Why are you doing this?
___
Wtr-general mailing list
Wtr-general@rubyforge.org
http://rubyforge.org/mailman/listinfo/wtr-general
Hi,
I'm using https to do the test, and I want to push the security alert
automatically when it popups, which of the following function is available?
clearSecurityAlertBox (WinClicker)
file:///C:/watir1145/rdoc/classes/WinClicker.html#M23
push_security_alert_yes (WindowHelper)
I replaced ie with $ie throughout the code. The second error didn't come, but
the first one still coming. This time in testsuite, I used two tests the
following error came:
C:\testsuite.rb
Loaded suite C:/TESTSU~1.RB
Started
FF
Finished in 34.139 seconds.
1) Failure:
19 matches
Mail list logo