[wtr-general] Watir + test unit + windows strange behavior

2009-10-21 Thread de Villamil Frédéric
Hi list, I'm running Watir 1.6.2 under ruby 1.8.6 patchlevel 111 It seems that when I'm running my test suit, it starts all tests in parallel, launching as many Internet Explorer windows as test, which gets a bit messy. I have the same issue using Firewatir under Windows. Things are runnin

[wtr-general] Re: Watir + test unit + windows strange behavior

2009-10-22 Thread de Villamil Frédéric
t to what you're doing: >> >> http://wiki.openqa.org/display/WTR/Excel+Data+Driven+Harness+with >> +Dat... >> >> Hope this helps! >> >> -Tiffany >> >> On Oct 21, 9:59 am, de Villamil Frédéric >> wrote: >> >> >> >

[wtr-general] Re: Watir + test unit + windows strange behavior

2009-10-23 Thread de Villamil Frédéric
ologize for the trouble I caused. Regards Fred / neuro` on #watir IRC channel Le 22 oct. 2009 à 11:42, de Villamil Frédéric a écrit : > > Hello, > > Thank you for teling me. I've been developping with Ruby for more than > 6 years now and know how to make test suits. > >

[wtr-general] Re: "!assert" doesn't work in in Unit Test.

2009-10-26 Thread de Villamil Frédéric
Le 27 oct. 2009 à 07:24, yuping zhong a écrit : > > Dear All, > > As it is known to all that,"assert" can be use in the unit test But > when I try to use the "!assert" ,it always fails,any idea of this? > > Thanks in advance. > > -Zhong Hello, To have a negative assert working (mostly on non

[wtr-general] Re: "!assert" doesn't work in in Unit Test.

2009-10-27 Thread de Villamil Frédéric
Le 27 oct. 2009 à 15:47, Bret Pettichord a écrit : > > de Villamil Frédéric wrote: >> To have a negative assert working (mostly on non visible elements), >> I've been using the following: >> >> assert true == false if >> >> Not the be

[wtr-general] Re: capturing the link on div

2009-11-09 Thread de Villamil Frédéric
Le 9 nov. 2009 à 10:01, Soori a écrit : > > Hi All, > > I would like to capture all the links under a particular div class. > > > could you please help me in this front.? > > Thanks > Soori > Hello soori, You should use the links method as a sub element of your div (read the doc Luke). Shoul

Re: [wtr-general] Re: How to wait until an element is visible on a page

2009-12-01 Thread de Villamil Frédéric
Hello, I usually use a simple Watir::Waiter::wait_until { @browser.div(:class, / encoding_complete/).exists? } Works like a charm. Fred Le 1 déc. 2009 à 17:25, QAguy a écrit : > Yup, doing it using a text.include worked. Thanks for the help. > > QAguy > > On Dec 1, 9:42 am, KimBrown wrote:

Re: [wtr-general] Can Watir verify the color?

2010-02-01 Thread de Villamil Frédéric
Le 1 févr. 2010 à 12:06, Yuping Zhong a écrit : > Hi, > > I want to use the watir to verify the color for some cells that are in the > table. > > Do watir have this function.If so,how to do that? > > Many thanks! > > -Zhong > > Hello, It depends on how the color is applied to the cell. B