You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@wicket.apache.org by fachhoch <fa...@gmail.com> on 2011/04/15 20:04:31 UTC

test pages with selenuim

I am trying to test my  wicket application  using  selenuim , I had no
success , did anybody try ?


 

--
View this message in context: http://apache-wicket.1842946.n4.nabble.com/test-pages-with-selenuim-tp3452652p3452652.html
Sent from the Users forum mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org


Re: test pages with selenuim

Posted by Per Newgro <pe...@gmx.ch>.
Am 17.04.2011 19:54, schrieb shetc:
> I use WicketTester on its own now. Will it help me to also use Selenium to
> test Wicket as well?
>
> --
> View this message in context: http://apache-wicket.1842946.n4.nabble.com/test-pages-with-selenuim-tp3452652p3455847.html
> Sent from the Users forum mailing list archive at Nabble.com.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
> For additional commands, e-mail: users-help@wicket.apache.org
>
>
With selenium you get more "browser-like" testing. It is a library 
executing browser tasks by an action script.
With wicket tester you do a more "component-oriented" testing. So 
wickettester is more usable for unit-testing
and selenium for acceptance / integration testing.

The decision if you have to use selenium in your tests to depends on 
your development process. If you do a more
behavior - driven - developement process you can simply define your 
"action script" and run it in selenium.
So you will get a big picture (What else has to  be done to achieve my 
task / goal).
If you like it more to do it unit-test driven then maybe you have so 
many tests that adding selenium is not
nessecary.

Hth
Per

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org


Re: test pages with selenuim

Posted by shetc <sh...@bellsouth.net>.
I use WicketTester on its own now. Will it help me to also use Selenium to
test Wicket as well?

--
View this message in context: http://apache-wicket.1842946.n4.nabble.com/test-pages-with-selenuim-tp3452652p3455847.html
Sent from the Users forum mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org


Re: test pages with selenuim

Posted by Per Newgro <pe...@gmx.ch>.
Am 16.04.2011 22:11, schrieb shetc:
> What is advantage of Wicket Page Test over WicketTester?
>
> --
> View this message in context: http://apache-wicket.1842946.n4.nabble.com/test-pages-with-selenuim-tp3452652p3454541.html
> Sent from the Users forum mailing list archive at Nabble.com.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
> For additional commands, e-mail: users-help@wicket.apache.org
>
>
As he stated in his heading - he was looking for integrating selenium 
and wicket testing.
This library could help on that task. Or did i miss something in your 
question?

Cheers
Per

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org


Re: test pages with selenuim

Posted by shetc <sh...@bellsouth.net>.
What is advantage of Wicket Page Test over WicketTester?

--
View this message in context: http://apache-wicket.1842946.n4.nabble.com/test-pages-with-selenuim-tp3452652p3454541.html
Sent from the Users forum mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org


Re: test pages with selenuim

Posted by Per Newgro <pe...@gmx.ch>.
Am 15.04.2011 20:04, schrieb fachhoch:
> I am trying to test my  wicket application  using  selenuim , I had no
> success , did anybody try ?
>
>
>
>
> --
> View this message in context: http://apache-wicket.1842946.n4.nabble.com/test-pages-with-selenuim-tp3452652p3452652.html
> Sent from the Users forum mailing list archive at Nabble.com.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
> For additional commands, e-mail: users-help@wicket.apache.org
>
>
Did you know
http://wicketpagetest.sourceforge.net/

Cheers
Per

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org


Re: test pages with selenuim

Posted by William Sargent <wi...@gmail.com>.
On Apr 15, 2011, at 11:04 AM, fachhoch wrote:

> I am trying to test my  wicket application  using  selenuim , I had no
> success , did anybody try ?
> 

Yeah.  I use Selenium with a ruby solution, just because that's how I was introduced to it.  

http://tersesystems.com/2010/10/05/simplest-possible-acceptance-test

If you want to integrate Selenium tests into a continous integration server running on Linux, you'll probably want the "headless" mode enabled, which is typically done with Xvfb.

http://blog.kabisa.nl/2010/05/24/headless-cucumbers-and-capybaras-with-selenium-and-hudson/


Will.

Re: test pages with selenuim

Posted by YK <li...@yahoo.fr>.
Do you know that wicket provides a page tester ?

If not take a look at 
http://wicket.apache.org/apidocs/1.4/org/apache/wicket/util/tester/WicketTester.html
WicketTester 



--
View this message in context: http://apache-wicket.1842946.n4.nabble.com/test-pages-with-selenuim-tp3452652p3452716.html
Sent from the Users forum mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org