,
TestGroup Found, PASSED)else puts(TEST FAILED. + e.message + \n + e.backtrace.join(\n)) $logger.log_results(test_CreateGroupTest, TestGroup Found,
TestGroup NOT Found, FAILED)endAt 09:09 AM 8/30/2005, Ian Phillips wrote:Hi.I have the following assert below.When this code is executed I get both
PASSED
For one thing I cannot get it to work.
IanOn 8/31/05, Chris McMahon [EMAIL PROTECTED] wrote:
3. begin/assert/rescue is really a bad idea and we will stop suggesting it.I *like* begin/assert/rescue.It's my friend.Why is it a bad idea?-Chris___
HI Nishita.
I have added the code as it is but it does not find the window. Do I need to change anything the the code you supplied?
My test just stops when the popup window appears.
Any ideas?
Thanks for the help
Ian
On 8/30/05, Nishita Acharya [EMAIL PROTECTED] wrote:
hi Ian,
i
Thanks Nishita, I have now worked out what I was doing wrong. I was place the startClicker in the wrong place.
Thanks for all the help
IanOn 8/30/05, Nishita Acharya [EMAIL PROTECTED] wrote:
hi,
i am attaching a prog
that i tried initially for popupsHope it will be of some
help
Hi.
I have the following assert below. When this code is executed I get both PASSED and FAILED messages reported??
begin
assert($ie.contains_text(TestGroup))
$logger.log(test_CreateGroupTest-TestGroup Found-TestGroup Found-PASSED)
$logger.log_results(test_CreateGroupTest, TestGroup Found,
Hi.
Thanks for the suggestions. I have only just started with WATiR so
still feeling my way into it. OO is a bit of a new thing for me and I
need to get some thing up and running quickly to demostrate the
benefit of automation.
I have started with a driver script to call my test scripts. In
Hi.
I am deleting an item in my application and I have a 'Microsoft
Internet Explorer' popup window with Ok and Cancel.
I am unable to click the OK button. This is what I have tried so far:
1.
ie = Watir::IE.attach(:title, /Microsoft Internet Explorer/)
ie.button(:value, OK).click
2.
require
helps or links would be useful.
Thanks
Ian Phillips
___
Wtr-general mailing list
Wtr-general@rubyforge.org
http://rubyforge.org/mailman/listinfo/wtr-general