Re: Testing Tapestry without Seleinum

2012-10-29 Thread Chris Poulsen
Replace @Property with getter/setter for the property?

-- 
Chris

On Mon, Oct 29, 2012 at 2:09 PM, mbrooks mela...@ifactory.com wrote:
 So I have a fairly complicated page that has a slider that filters by a date
 range.  It gets all entries whose copyright dates fall in between the min
 and max years.

 I've tried like mad to figure out how to get the slider to activate properly
 with Selenium and everything that was suggested online ended up hanging
 Selenium and didn't work.

 I then started looking to test this functionality outside of Selenium, but
 since the parameters that I am dealing with are marked @Property
 (copyrightMax, copyrightMin), my test class doesn't have any way to set
 these two values - which would allow me to circumvent using Selenium to set
 them via the slider).

 Has anyone out there tried testing a page outside of Selenium?
 If so, how did you set something that is marked @Property?

 Thanks!
 Melanie



 --
 View this message in context: 
 http://tapestry.1045711.n5.nabble.com/Testing-Tapestry-without-Seleinum-tp5717383.html
 Sent from the Tapestry - User mailing list archive at Nabble.com.

 -
 To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
 For additional commands, e-mail: users-h...@tapestry.apache.org


-
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org



Re: Testing Tapestry without Seleinum

2012-10-29 Thread mbrooks
Right. Except that Selenium keeps freezing whenever I try to get it to move a
slider. It works great for all the other components and I don't have time to
keep trying to drive a square peg into a round hole.

Just because something is supposed to work doesn't mean it always will.
I'd rather just try to test this outside of Selenium.



--
View this message in context: 
http://tapestry.1045711.n5.nabble.com/Testing-Tapestry-without-Seleinum-tp5717383p5717387.html
Sent from the Tapestry - User mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org



Re: Testing Tapestry without Seleinum

2012-10-29 Thread mbrooks
Oh man, I wish I was using jQuery.  It's a component that lives in ProtoType. 
Might be why Selenium is choking on it .

Though, that's a good idea to see if I can't just set those values and still
use Selenium.
Thanks!




--
View this message in context: 
http://tapestry.1045711.n5.nabble.com/Testing-Tapestry-without-Seleinum-tp5717383p5717390.html
Sent from the Tapestry - User mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org