[Wtr-general] How to implement this function

2006-01-16 Thread che jim
Hi all     Sometimes I found that the page was loading so slowly even more then 10 minutes.     So I want to refresh the page when met this problem.Could anybody give me some advice to do it?     For example        ie.link(:text,"abc").click      if (the time of page loading more than

Re: [Wtr-general] Link that can not be found

2006-01-16 Thread Bret Pettichord
It really depends on what kind of documentation you are writing. You originally asked whether these notions were implicit to Watir, and the answer is no. Are they relevant? yes. In fact, Watir was designed to make these kinds of things *explicit*. By contrast, Watir's predecessor, IEController, *im

Re: [Wtr-general] A testing framework

2006-01-16 Thread Sergio Pinon
In regards to your first question I think the thought process behind that design was that I wanted something robust enough to be able to handle any web testing. I didn't want to have to write if statements for each control on each page so after researching I figured the easiest way would be to writ

Re: [Wtr-general] A testing framework

2006-01-16 Thread Chris McMahon
Hi Sergio > I recently spent sometime coming up with a simpler way to test my projects > running from nant and using xml as the test. I would love to get some > feedback on what ones think or ways that it can be improved. I have attached > the entire framework for your review. At a glance, I can

[Wtr-general] Testing framework

2006-01-16 Thread Sergio Pinon
Also I forgot to submit the xsl files I used for CruiseControl.NET to display the results.     Sergio Piñon Senior Software Engineer Information Technology Department G4S Justice Services Inc. 30201 Aventura Rancho Santa Margarita, CA 92688 Tel: (949) 635-1600 x325 Fax: (949) 635-

Re: [Wtr-general] Link that can not be found

2006-01-16 Thread Michael Bolton
Thanks, Bret.    Even though it's not an issue exclusive to WATIR or its documentation, I'd contend that it's relevant.  Many people (partly because of the price, for example) will be coming at test automation for the first time through WATIR.  I wouldn't necessarily put this sort of gloss i

Re: [Wtr-general] Link that can not be found

2006-01-16 Thread Bret Pettichord
Which actually raises an interesting point: somewhere in the Watir documentation is the notion that the easiest way to find the link is by id--the id= attribute inside the Anchor tag, which apparently is preferred under current markup language standards, or name--the name=  attribute inside the

Re: [Wtr-general] How can I open and attach file using file_fieldmethod?

2006-01-16 Thread Cain, Mark
Here is one thing I see that was a problem for me.  I need to escape the backslashes and colon in my file path.  Try using this:     $path = "C\:\\Watir\\file.txt"   Hope this helps,   --Mark   From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Cain, Mark

[Wtr-general] How to judge whether the ruby is stopped or not

2006-01-16 Thread che jim
Hi all     I found sometimes the ruby will stop in a page without any actions.In that time I want to refresh that page in order to let ruby continue to do.     But I don't know how to do it.For example in the code below:         ie.link(:text,"Next").click         Sometimes ruby will stop in this