SPONSORS:






User Tag List

Thanks Thanks:  0
Likes Likes:  0
Dislikes Dislikes:  0
Results 1 to 2 of 2
  1. #1
    Member
    Join Date
    Jun 2007
    Posts
    148
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    How to enable the application for Flex Automation

    Often I see people in this forum ask how to use flex and QTP and what do they need to get started. I found this helpful website which tells you how to get started. I don't know if this should be a sticky or not.

    I pretty much copied from this website

    http://raniskumar.wordpress.com/category/uncategorized/

    ################################################## ###########

    How do I know my application is ready to support Flex Automation?

    There are plenty of tools avaialble for Flex Automation . e.g Silk Test (Borland), RFT (IBM), FAAT , RIATest, Compuware etc. This section is related to QTP, but in theroy , this may be applicable other tools also.

    Please go through each of the below questions and find answers about your setup.

    First let us cover about Flex Application.

    Am I using the premium/professional version of Flex/Flash Builder ?

    Automation is a premium feature and the libraries needed for Flex Automation will be available with FlexBuilder only. (You can refer my blog about licensing to know more about applying license)
    If you are using Trial/Stanard version, you can try out the feature with limited record and reply support. However you may not get the libraries for 2.0.1 in this case.


    Am I using the correct version of sdk and Flex Automation libraries?

    Supported version of sdk : Flex 2 onwards. However when Adobe mentions about a new feature suport ensure that you are using correct version of sdk and matching automation.
    How to know the version of the libraries ? open the swc’s with a zip unitlity and check the config.xml file. refer the entry as follows. <flex version=”4.0.0″ build=”6644″ /> Use this details when referring a Felx Automation problem to Adobe.


    Have I enabled my application for Flex Automation support ?

    Application created by default does not have the necessary details for Flex Automation. The application should be enabled for automation by adding the required linrarie to your application by using -include-libraries “path to automation.swc” “path to automation_agent.swc” “path to qtp.swc”" (and other automtion libraries as you need)
    Am I launching the application in the correct browser ?
    QTP automation for flex is supported only Internet Explorer. And please ensure that there is a unique id mentioned for the application in the html used for hosting the swf.


    Now we are ready with the application let us check the details from the QTP side.

    Do I have the correct version of QTP ?

    Flex Automation is supported for QTP from 9.2 version. Recommended is 9.5 and above.

    Have I installed the plugin ?

    Flex plugin for QTP is available as an installer with FlexBuilder 3. For further releases this will be available as a separate zip file and you will be able to find it in Adobe Labs. http://download.macromedia.com/pub/l...all_060109.zip location for the latest plugin. Install the plugin

    How do i know that the plugin is installed ?

    Once the plugin is installed , while starting QTP, the plugin will be shown in the addins for QTP. (Please note that accidental removal of the dll’s will show the plugin in the QTP, but operations will not work as expecetd. )


    Now set up is ready. Now let us start the application and start with automation.

    Start QTP, enable the flex add-in, launch the application in IE, start recording in QTP , click on the application and check that your interactions are being recorded. If so, CONGRATULATION!! your set up is working.

    If not working, let us figure out whether it is a QTP set up issue or application issue. Please try recording the user interaction on http://www.adobe.com/devnet/flex/sam...lex_store_v2/. If you can record these, your set up is fine, but you have some issue with application. Please check the steps above regarding application.

    If you are not able to record the application in the link mentioned above. Please follow the QTP related steps. If still no luck, uninstall plugin, unistall QTP, install QTP and install plugin . Try again. At time QTP installation can be corrupted and uninstallation does not happen properly. Try the http://knowledgeinbox.com/downloads/...ninstaller-v2/

    If nothing helps, please contact us at Adobe using the bugbase http://bugs.adobe.com/jira/secure/Dashboard.jspa under the project FlexEnterprise and Test Automation Components.

    You can find help in Flex/Flash builder under the section “Creating applications for testing”.

    http://labs.adobe.com/wiki/index.php/Fla...tomated_Testing also gives you the details on flex automation.
    "God doesn't play dice" - Einstein

  2. #2
    Member
    Join Date
    May 2002
    Posts
    92
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: How to enable the application for Flex Automation

    HI

    I would like to know what are the QTP related Steps here, we are facing the exact problem recording QTP and Flex app.

    [ QUOTE ]
    If not working, let us figure out whether it is a QTP set up issue or application issue. Please try recording the user interaction on http://www.adobe.com/devnet/flex/sam...lex_store_v2/. If you can record these, your set up is fine, but you have some issue with application. Please check the steps above regarding application.

    [/ QUOTE ]

 

 

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Search Engine Optimisation provided by DragonByte SEO v2.0.36 (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
Resources saved on this page: MySQL 11.54%
vBulletin Optimisation provided by vB Optimise v2.6.4 (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
User Alert System provided by Advanced User Tagging v3.2.8 (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
vBNominate (Lite) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
Feedback Buttons provided by Advanced Post Thanks / Like (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
Username Changing provided by Username Change (Free) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
BetaSoft Inc.
Digital Point modules: Sphinx-based search
All times are GMT -8. The time now is 11:50 PM.

Copyright BetaSoft Inc.