[Wtr-general] How do i check the sorting of Date?

2007-06-01 Thread watir-user watir-user
Hi All, I need help for checking the sorting date. I have a link called Job Date below of this link displays list of Date, clicking on this link it sorts the date field, like follow 05/31/2007 09:36 AM 05/31/2007 09:36 AM 05/31/2007 09:13 AM 05/30/2007 03:20 PM 05/30/2007 11:16 AM 05/30/2007

Re: [Wtr-general] How to run all the steps defined in a method even if any of step fails?

2007-04-11 Thread watir-user watir-user
Hi Charley and Paul, If I use rescue true in the method, i wont be getting any error all the methods will execute. But, the method which has error does not shows what actual error it has. Here is the code which i executed def test_yahooSite test_site = 'http://www.mail.yahoo.com' $ie

[Wtr-general] How to run all the steps defined in a method even if any of step fails?

2007-04-09 Thread watir-user watir-user
Hi, Following methods i want to call in another method def assertButton assert($ie.button(:caption, Click Me).enabled?) end def assertLink assert($ie.link(:text, Click Me).exists? end def assertTextfield assert($ie.text_field(:name, field1).exists?) end def assertRbutton

[Wtr-general] How to check presence of link by using begin - until method

2007-03-29 Thread watir-user watir-user
Hi, I need to check presence of a link after some process begin ... ... end until (link appears) This is quite simple, but got struck Thanks in advance, - Here’s a new way to find what you're looking for - Yahoo!

[Wtr-general] How to check presence of link by using begin - until method

2007-03-29 Thread watir-user watir-user
Hi, In a web page after entering a specific value in a text field, some links appears. So i wanted to keep entering a value in a text field unless the links appears on a page. So how do i check the appearance of a link after specific value entered in a text field. I have used following code do