Yes, it is not required to use test unit.
However, it seems that test unit encapsulate some methods could handle error,
as well as include some statistics for the test result.
What is the suggestion if I want to write about 200~300 standalone test cases,
which will run in a sequence, should
On 1/19/07, minal [EMAIL PROTECTED] wrote:
For some strange resons ie.cell(:id, 10TD37).click doesn't work on my
application.
I think you need to have watir 1.5 for that.
--
Zeljko Filipin
zeljkofilipin.com
___
Wtr-general mailing list
On 1/21/07, David Appledore [EMAIL PROTECTED] wrote:
the text entered into text boxes does not fire key events properly in the
IE DOM
Take a look at FAQ, section Triggering JavaScript events
http://wiki.openqa.org/display/WTR/FAQ#FAQ-TriggeringJavaScriptevents
--
Zeljko Filipin
On 1/22/07, Jason He [EMAIL PROTECTED] wrote:
However, it seems that test unit encapsulate some methods could handle
error
You can also handle errors in ruby without test unit. Take a look at
Exceptions,
Catch, and Throw section of Programming Ruby (
I think Ive tried to do this and never made it work...
Hi,
I enjoyed using Watir, I have one problem.
When automating tests, the text entered into text boxes does not fire key
events properly in the IE DOM, the key codes are always zero. I am testing a
browser plugin, that captures keystrokes
Jason He wrote:
Yes, it is not required to use test unit.
However, it seems that test unit encapsulate some methods could handle
error, as well as include some statistics for the test result.
What is the suggestion if I want to write about 200~300 standalone
test cases, which will run in a
When you say, ...it's working for the general urls, but not for the ajax
links..., what exactly to you mean by not working. Does it seem the click()
method is not being called and the page is not changing, or is there a runtime
object [link] identification error?
This COM code will work if you're having trouble getting exactly what you want
from Watir:
my_header = $browser.table( :id,
'ctl00_MasterContentPlaceHolder_DomainGridView' ).getOLEObject().rows( 0
).innerText().to_a()
Unfortunately, this returns escaped characters as well.
You can also
Hello,
I am new to Watir and need to select an item in a dropdown box.
This dropdown is a table and located in a body, written in javascript.
I tried regular $ie.select_list( :name , search_clientid).select(qaone),
but it doesn't work.
Please help!
body
script type=text/javascript
Howdy,
Does your select box appear as a Popup?
If my assumption is correct you can use something like this:
@ie.link(:text, link to JS Pop Up).click
ie2 = IE.attach(:title, Title of the Pop Up)
assert(ie2.selectBox(:name, search_clientid).exists?)
Do these test cases are compatible both running in IE and firefox? How about it
to the test cases with/without using test unit?
Should each test cases need to be changed, or just change the browser name at
the control list.
Regards,
Jason
From: [EMAIL
If you really like test unit, Bret made a patch for it so methods are
run in order you define them, but I did not try it. Take a look.
http://wiki.openqa.org/display/WTR/Test-Unit+Patch
https://neo/display/WTR/Test-Unit+Patch,DanaInfo=wiki.openqa.org+
This is in the latest Development gems.
Hi,
I tried to use Verification methods
verify file:///C:/watir1145/rdoc/classes/Watir/Assertions.html#M000186
verify_equal file:///C:/watir1145/rdoc/classes/Watir/Assertions.html#M000187
verify_match
file:///C:/watir1145/rdoc/classes/Watir/Assertions.html#M000188
Included
sorry, i keep forgetting that the array starts at 0:-(
mi wrote:
t = [[a, b], [aa, bb]]
0.upto (t.length) { |x|
puts t[x][0]
}
For some reason i'm getting the following error at the end of the
loop, any idea WHY??? a
aa
undefined method `[]' for nil:NilClass (NoMethodError)
Thanks
t = [[a, b], [aa, bb]]
0.upto (t.length) { |x|
puts t[x][0]
}
For some reason i'm getting the following error at the end of the loop,
any idea WHY???
a
aa
undefined method `[]' for nil:NilClass (NoMethodError)
Thanks in advance!
___
Wtr-general
There is a read-only text box where date is inserted from a Date picker thru
java script. How to automate this?
-
Posted via Jive Forums
http://forums.openqa.org/thread.jspa?threadID=6231messageID=17524#17524
16 matches
Mail list logo