Anyone tried Fest and is it working for Java applet automation with selenium

198 views
Skip to first unread message

Suseela D

unread,
Jul 23, 2014, 8:33:58 AM7/23/14
to seleniu...@googlegroups.com
Hello all,
Did anyone use Fest for java applet automation with selenium,if so please let me know.
we have tried it is not working for us.Please help on this.It is urgent

Thanks
Suseela

Krishnan Mahadevan

unread,
Jul 23, 2014, 8:38:17 AM7/23/14
to Selenium Users
In the distant past I did try taking a dig at FEST. I believe one of the biggest requirements of FEST is that the application under test has to be spawned via FEST and you cannot use FEST to attach itself to an already running java applet/swing.

Have you figured out a way to get past this need ?

Thanks & Regards
Krishnan Mahadevan

"All the desirable things in life are either illegal, expensive, fattening or in love with someone else!"
My Scribblings @ http://wakened-cognition.blogspot.com/
My Technical Scribbings @ http://rationaleemotions.wordpress.com/


--
You received this message because you are subscribed to the Google Groups "Selenium Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to selenium-user...@googlegroups.com.
To post to this group, send email to seleniu...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/selenium-users/57164cb2-0bc6-40bc-bb83-018262844d7a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Suseela D

unread,
Jul 23, 2014, 9:02:55 AM7/23/14
to seleniu...@googlegroups.com
Hi Krishnan,
Thanks for the reply.I followed the steps from this site https://code.google.com/p/festselenium/
I have one applet and one junit class,one html file,below is the code to invoke applet and to get text and compare.
selenium.open("demo_applet.html");
                selenium
.windowMaximize();
               
AppletFixture fixture = selenium.applet("demo_applet");
               
ScrollBarFixture scrollbar = fixture.scrollBar();
               
TextComponentFixture text = fixture.textBox();
                scrollbar
.scrollUnitUp();
                assertEquals
(text.text(), "1");    

But this is throwing error as com.thoughtworks.selenium.SeleniumException: ERROR: Threw an exception: window.document.getElementById(...).getTestFixture is not a function

Thanks
Suseela

Krishnan Mahadevan

unread,
Jul 23, 2014, 9:06:45 AM7/23/14
to Selenium Users
I think that is based on Selenium RC.

In-browser applet testing can now be accomplished using festselenium in conjunction with Selenium RC. The purpose of this project is provide a java driver to commnuicate with Selenium then drive the fest-swing to do applet automation acceptance testing.

This project relies heavily on the GetEval provided by selenium.

Selenium RC is no longer being maintained.



Thanks & Regards
Krishnan Mahadevan

"All the desirable things in life are either illegal, expensive, fattening or in love with someone else!"
My Scribblings @ http://wakened-cognition.blogspot.com/
My Technical Scribbings @ http://rationaleemotions.wordpress.com/


Suseela D

unread,
Jul 23, 2014, 9:40:34 AM7/23/14
to seleniu...@googlegroups.com
Yes Krishnan,
I tried with Selenium RC only but was getting that  window.document.getElementById(...).getTestFixture is not a function and we need to get data from applet which is opened in browser upon clicking on a button.

Thanks
Suseela

David

unread,
Jul 23, 2014, 3:30:06 PM7/23/14
to seleniu...@googlegroups.com
You could try searching FestWebDriver as an alternate option. I saw GitHub source and maven JAR links come up. That project/code may not be production ready, but worth a try, if festselenium isn't working for you.
Reply all
Reply to author
Forward
0 new messages