File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Testing and the fly likes Integrating Selenium and FEST Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » Testing
Bookmark "Integrating Selenium and FEST" Watch "Integrating Selenium and FEST" New topic
Author

Integrating Selenium and FEST

Himanshu Rawat
Ranch Hand

Joined: Nov 27, 2005
Posts: 141
Hi,

Can we integrate Selenium and FEST.

Scenario : A standalone desktop GUI application and website on server.

Operation like file generation is done through GUI application and is published to the server and there more operation are
carried out on the basis of published file. I can separately automate test for GUI using FEST and site using
selenium but can be done in sequence. Mean to say after publishing file, automatically it should go to site and do operations.

Please comment on this. Is this feasible?


rawat
SCJP 1.4
Jeanne Boyarsky
author & internet detective
Marshal

Joined: May 26, 2003
Posts: 30919
    
158

Himanshu Rawat wrote:Can we integrate Selenium and FEST.

Isn't FEST for Swing and Selenium for web pages?


[Blog] [JavaRanch FAQ] [How To Ask Questions The Smart Way] [Book Promos]
Blogging on Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, OCAJP, OCPJP beta, TOGAF part 1 and part 2
Himanshu Rawat
Ranch Hand

Joined: Nov 27, 2005
Posts: 141
Yes you are right.

But if you see my case then its sequential. What i mean to say Fest calling selenium tests. Once FEST is done testing Swing, control passes to selenium test.

Any way??
Jeanne Boyarsky
author & internet detective
Marshal

Joined: May 26, 2003
Posts: 30919
    
158

Himanshu Rawat wrote:But if you see my case then its sequential. What i mean to say Fest calling selenium tests. Once FEST is done testing Swing, control passes to selenium test.

Oh! I get it now.

To run them sequentially, you would write a TestSuite that refers to both tests (or groups of tests) in the order you want to run them. They syntax varies between JUnit 3 and 4.
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Integrating Selenium and FEST