Skip navigation
Xavier Beautoir 12 posts
Sep 23, 2011
Currently Being Moderated

Automation testing with Mosaic

Nov 9, 2011 6:45 PM

Tags: #caf #automation #qtp #testing #mosaic #composite_application_framework

I have been trying to get automation testing to work with Mosaic. Is it possible to Composite Application Framework applications to work with automation?

 

I have compiled the automation libraries into my tiles. But I can't tell how to switch automation on within my application.

 
Replies
  • Currently Being Moderated
    Nov 9, 2011 9:48 PM   in reply to Xavier Beautoir

    Hi Xavier,

    You've already taken the first step by compiling the automation libraries into your tiles. The next step to automate a complete mosaic application is to install and use the mosaic-debug-auto-pkg.zip which has the automation also compiled into the mosaic runtime. This package is not currently available publicly on packageshare for a couple of reasons: a) a bug in gravity (CCF) and b) a limitation in the flex sdk. The bug in gravity has been fixed and will be released shortly in an upcoming service pack. The flex sdk limitation is here: https://bugs.adobe.com/jira/browse/FLEXENT-1496 I believe the mosaic automation package will remain a special-request package even after the release of the service pack due to the complexity of automating a modular composite application.

     

    Another technique you can consider is to use Selenium with an html controller tile. The html controller would use mosaic apis to send events and messages to the other tiles in the applicaiton. The individual tiles would be automated seperately for UI inputs, and then the system-level automation could use the selenium approach. This can be a simpler and more economical option, depending on your application's design and verification needs.

     

    Don.

     

     

     
    |
    Mark as:

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points