Flex app behaves differently when Adobe automation files loaded

We have an application built with Flex 3.1. I am attempting to create QTP tests for this application.  The instrumentation files are loaded at run time, not compiled into the application.
I am using QTP 9.5 with the Adobe Flex Add-in 3.0.  I am able to see the controls an run tests to some extent.
The main issue I am trying to resolve is that there is a difference in behavior of the application when it is started with the instrumentation files. The differences occur both inside and outside of the QTP environment.
The observed differences are:
The initial page is a login screen. After entering the id and password, I can click ‘Enter’ or click the “Log in” command button. With the instrumentation files loaded, the ‘Enter’ key no longer works.
When I log out of the application, a progress screen displays while the environment clean-up occurs.  When the progress bar hits 100%, the original login screen is displayed. With instrumentation files loaded, activity stops when the progress bar hits 100% and the original login screen is never displayed.
After logging in, a window with perspective tabs displays.  Each perspective tab page contains a window containing a list of resource associated with the perspective. When instrumentation files are loaded, the tab pages exist, but the perspective windows are not created.
I realize I am dealing with application-specific behavior here and I am pursuing this with our developers. What I am looking for is any information related to differences in application behavior when instrumentation files are loaded.

I can't seem to reproduce what you are seeing with this sample application:
<s:Application xmlns:fx="http://ns.adobe.com/mxml/2009"
               xmlns:s="library://ns.adobe.com/flex/spark">
    <s:states>
        <s:State name="state1" />
        <s:State name="state2" />
    </s:states>
    <s:controlBarContent>
        <s:Button label="change state" click="currentState=currentState=='state1'?'state2':'state1'" />
    </s:controlBarContent>
    <s:Button x="50" y="50" label.state1="state1" label.state2="state2" skinClass="CustomButtonSkin" />
</s:Application>
Can you provide a similar sample application that demonstrates the issue?

Similar Messages

  • Executable behaving different when called f/Java

    I have an executable that is run from the command line which behaves differently when I run it from my application. The executable takes MP3s files as arguments and merges them together. When I use large files from within my app, it doesn't respond, but using the same files from the command line works fine. I was thinking it might be a memory thing, but the executable should get its own space seperate from the VM. Does anyone have any suggestions? Thanks!

    I do not have the source for the executable, so I wouldn't be able to pull lines out of there. It works from my Java app when I pass in smaller files, so I know I have the syntax correct, but with larger files it hangs. When I run the same thing from the command line with the larger files it runs like a champ. I was trying to use my task manager (I'm on Win NT) to look at memory usage since the only variable seems to be file size, but nothing seems to indicate it is a memory issue.

  • Flex app calling CF cfc to download file gets "Channel disconnected" fault

    I am a newbie with ColdFusion and Flex. I am trying to implement file download/streaming functionality in my Flex 4.5 application and I am running ColdFusion 9 as my back end. More specifically, I have a component in my Flex app that displays a list of files - some of these files can be available for opening (or "previewing") via the client. I want the client to be able to click a button and download the file from the ColdFusion server, after the appropriate security checks are performed (also in ColdFusion). Right now I am just trying to get the basic download functionality to work with a very simple cfc. Here is the cfc code:
    <cfcomponent displayname="Preview Document"
         output="false">
         <cffunction name="streamFile" access="remote" returntype="any">
              <cfargument name="filename" displayName="Filename" type="string" required="true" />
              <cfheader name="Content-Disposition" value="attachment;filename=#filename#" >
              <cfcontent type="application/unknown" file="c:\myserverpath\#filename#">
         </cffunction>
    </cfcomponent>
    When I try this via a cfm, it works fine (I get a File Download window where I can choose to either open or save the file). But when I try to use this in my Flex app, I get an error.
    In my Flex app, I have a RemoteObject to access my cfc and a CallResponder:
    <s:RemoteObject id="PreviewDocument"
       source="PreviewDocument"
       destination="ColdFusion"
       showBusyCursor="true"/>
      <s:CallResponder id="PreviewDocumentResult"
        fault="Alert.show('CallResponder PreviewDocumentResult: ' +
        event.fault.faultString + '\n' + event.fault.faultDetail)"
        result="PreviewDocumentResult_resultHandler(event)"/>
    Then I created a button whose click even executes the following line:
    PreviewDocumentResult.token = PreviewDocument.streamFile("myfile.pdf");
    When I run my app, I get the following fault:
    faultCode = "Client.Error.DeliveryInDoubt"
    faultString = "Channel disconnected"
    faultDetail = "Channel disconnected before an acknowledgement was received"
    I have tried many different approaches and searched online for help with this fault, but I could not find any helpful clue to where I can start investigating this.
    Can anyone help with why I am getting this fault?
    Thanks in advance.

    @sir_teddy, thanks for your reply again.
    Yes I have created a simple cfc that returns a string successfully (in fact I had used the same cfc and basically just commented out the cfcontent and cfheader tags, and returned the name of the file being requested in the cfreturn tag). When I un-comment the cfcontent tag from the code, the error comes back.
    So I am really at a loss here...

  • Why does "Link Media" behave differently when used as a keyboard shortcut vs when right clicked???

    Not sure whether anyone else is encountering this, but the "Link Media" command behaves differently when right clicked as opposed to when used as a keyboard shortcut.
    When you right click to select that option for an offline file, you get only the corresponding disconnected source media. But when you execute "Link Media" via a keyboard shortcut, PP brings up a huge list of all other offline media. Why does it only do that when you use the keyboard shortcut for "Link Media" but not when you right click "Link Media".
    I'd like to get the Link Media command to behave via the keyboard shortcut the same way it behaves when right clicked. I don't want to have to deal with relinking a hundred other files, but just the single offline file I'm working on.

    Among the alternatives not mentioned... Using a TiVo DVR, rather than the X1; a Roamio Plus or Pro would solve both the concern over the quality of the DVR, as well as providing the MoCA bridge capability the poster so desperately wanted the X1 DVR to provide. (Although the TiVo's support only MoCA 1.1.) Just get a third-party MoCA adapter for the distant location. Why the hang-up on having a device provided by Comcast? This seems especially ironic given the opinions expressed regarding payments over time to Comcast. If a MoCA 2.0 bridge was the requirement, they don't exist outside providers. So couldn't the poster have simply requested a replacement XB3 from the local office and configured it down to only providing MoCA bridging -- and perhaps as a wireless access point? Comcast would bill him the monthly rate for the extra device, but such is the state of MoCA 2.0. Much of the OP sounds like frustration over devices providing capabilities the poster *thinks* they should have.

  • A Flex App in browser is a swf file or translated to Javascript

    A Flex App in browser is a swf file or translated to Javascript?
    Like Flash web site plugins [not whole browser window], exist and Flex plugins?
    These are both swf files only without other supporting files?

    A Flex app is a SWF and is not translated to Javascript.  Many Flex apps do
    use Javascript to handle history management and startup focus.

  • Applescript in Automator behaves differently when executed from inside Automator, or as an Automator application

    Hello everyone,
    I'm trying to execute an Automator workflow at startup, which I do by saving the workflow as an application, and adding it to the startup list, this works fine.
    My workflow works fine when executed from within Automator (ie clicking on the "Execute" button), but does not anymore when the Automator application is executed (ie. simply double clicking on my Automator file)
    I have narrowed it down to an Applescript inside my workflow which fails only when the application is executed from the finder (the step works fine from within Automator). The script automatically creates an ad hoc wifi network.
    The line which specifically fails is :
    set menu_extras to value of attribute "AXDescription" of menu bar items
    Anyone has any idea why executing the workflow from within automator, and executing it from the finder yield different results ?
    The crazy thing is that all this worked fine up until a few days ago, there might have been an update since (running Mavericks 10.9.2), but nothing game-changing.

    You will need to provide more than the one line of AppleScript you quote if you want a definitive answer.  (We can't even see which app you are addressing this to.)

  • Safari & Firefox behaving badly when viewing pdf files

    Since upgrading my Mac to Lion, Safari and Firefox have not displayed pdf files for viewing.
    SAFARI:  When I click a pdf link in Safari, a dark grey blank page appears. When I try to save the pdf file to my desktop, an error message says the file is not properly formatted.
    FIREFOX: When I click a pdf link in Firefox, a white blank page appears. I can successfully save the file to my desktop, and in turn open the file using Acrobat.
    CHROME: Everything works normally...no problems found when viewing pdf files.
    I tried dumping the plist file for both Safari and Firefox, and resetting both browsers clearing them of cache, etc., but none of that worked.
    Has anyone else seen similar behavior? Anyone have a solution?
    I have posted this problem twice in Apple's Safari Forum, but have had no response in almost two months.
    Thanks

    In Safari you to have the Acrobat PDFviewer plugin installed, or the The PDFBrowser plugin by Schubert of Germany Installed.
    If you use the PDFBrowser Plugin you need the 2.4.2 version in order to work with the version 5.1 of Safari and 2.2.3 version for Safari 5.05 and lower.
    In FireFox  version 3.6.X and lower you need version of the PDFBrowser Plugin version 2.2.3 which also works with Safari 5.05 and lower. And version 2.4.2 for Safari 5.1 and above and FF 4.0 and above, and Seamonkey version 2.3 and above.
    THE ADOBE PDFVIEWER PLUGIN has only worked with OSX for Safari. Adobe quit supporting any other browsers on the Macintosh with the roll out of OSX years ago except for Safari. And despite repeated request by many users, its gone on deaf ears.
    As a result This Schubert fellow from Germany has had to fill the void. It works on "any" browser on the Market for Mac. And works for any browser for Windows except Internet Explorer.
    The only thing it doesn't do is online forms which the Acrobat Plugin will. But since it only works with Safari its Useless. I'm not going to Crank up Safari just to fill in Forms.
    Oh, you use to be able to install both plugins and would work fine. Now if both are installed neither works. Its either use the one that works on one Web Browser and allows form filling.
    Or use the one that works on everything, but can't do forms. Oh Schubert on his Web site explains his is forbidden from installing support for forms.

  • Code behaves differently when run in debugger

    var he:Array = handControl.getHumanInfo(ha, handNumber);
    while (he.length != 0)
    humanInfo.push(he.shift());
    This snippet is part of a large flash project I am working
    on. The program works fine by itself, but when I try to step
    through it in the debugger, it sometimes crashes, depending on
    where I put a breakpoint. If I put the breakpoint on the first line
    of code above, I can step into the function getHumanInfo(), trace
    it, and step back out, and everything is fine. But if I only put a
    breakpoint somewhere inside the getHumanInfo() function, all of a
    sudden when I step out of that function, the variable 'he' is
    undefined, and so the while loop never ends.
    This makes no sense to me. The code is either good or bad, it
    shouldn't behave differently based on where I put the breakpoint.
    The getHumanInfo() function always creates a new array and
    passes it back, so there is no reason 'he' should be undefined.
    This has happened many times when I've tried to use the flash
    CS3 debugger -- is there a known issue that this sounds like? I'm
    so fed up I'm ready to stop using the debugger altogether.

    I ran the program without the debugger and put some trace()
    statements in, just to make sure. Everything works fine without the
    debugger. So it seems to me it has to be a debugger issue. Has
    anyone heard of a similar issue?

  • Internet Explorer 11 closes out when Adobe pdf file is closed

    We recently upgraded our Internet explorer to IE11 which integrates PDF Browser.  We are having intermitting issues where our users are closing out of  Adobe PDF files it closes down all tabs and IE11 Window. We have tried upgrading to the latest Adobe Reader 11.10 but this issue is still happening.

    We have tried upgrading adobe to 11.10.0 with bprotectedMode and bBrowserDisplayInReadMode turned off.

  • Why does terminal behave differently when logged in as different users?

    when I'm logged into my mba as my regular normal user, bash behaves normally;  but when I create a new user or use any user other than my default the behavior is different.  (might be bash or sh)
    Specifically, the tab autocomplete function works fine when I'm logged in as my regular user (tab-complete;  tab twice for all available selections/options).
    But on a newly-created user (also an admin) there is no tab complete, no 'tab twice, other options' etc. 
    Has anyone else seen this?
    I searched in this forum and found some instructions for creating an .inputrc file but I don't appear to have one on my default user so not sure why I would need this on the new user ?!?!?
    p.s. here are the instructions I found previously via a post on this forum:
    http://www.ernieflores.net/osx-page-4/how-to-enable-tab-completion-in-mac-os-x-t erminal/

    Done!  Thanks!
    https://bugreport.apple.com/cgi-bin/WebObjects/RadarWeb.woa/6/wo/iLhrfiEtEJtPFTt J8S23O0/23.83.28.0.9
    https://bugreport.apple.com/cgi-bin/WebObjects/RadarWeb.woa/6/wo/iLhrfiEtEJtPFTt J8S23O0/23.83.28.1.9

  • Code behaves different when SWF is in browser as opposed to stand alone player, why?

    In ActionScript, I have some code that dispatches a
    MOUSE_OVER event when a tween is complete. I am using Tweener for
    the tween. On my Mac OSX machine, I preview the SWF file in a stand
    alone player spawned from my Flash IDE, and the event is dispatched
    and the behavior works as expected, but when I preview the SWF file
    as embedded in a MacOSX browser, the event is not dispatched. On a
    Windows machine, however, the event is dispatched both in a stand
    alone player and within the embedded SWF file in a browser. The
    problem seems to come particularly from the Mac OSX player.
    Has anybody ever experienced this? Is the OSX implementation
    of the Flash player different in a stand alone and browser setting?
    Here is the code that I am using:

    HMMM! Verrrrrry interesting.
    Yes file size is an issue, it's a large project.
    Exterenally host it?
    Where could I go and do that?
    I'm not familiar with this process.  Can you please tell me exactly how it works? 
    And....that means both servers need to be up and running?  Kinda sounds a bit shakey.   This project needs to be strong and stand alone to go here and there.  Durable.   
    I feel safer if its all in one piece.  Bam.
    You know, I noticed "FAST" and "BEST" does not make a difference to file size or quality. 
    Could I be wrong?
    Thanks.

  • Javascript written in Dreamweaver behaves different when inserted in Muse

    I have a simple javascript list that is written in Dreamweaver and works as expected but when I copy & paste that exact javascript into the -Object-insert html section in Muse the outcome is different.
    Is there a place I can go to research on what I need to do different for that code to behave properly in Muse? I am not understanding what I need to change or do different.
    Below is the code I got to work in Dreamweaver:
    <!doctype html>
    <html>
    <head>
    <meta charset="utf-8">
    <title>list</title>
    <script type="text/javascript">
    function fixTheList(){
    var msg = "";
    var msg = "";
    if (document.getElementById("appleQty").value > 0) {
    msg += "Apples   ";
    msg +=document.getElementById("appleQty").value;
    msg += "<br>";
    if (document.getElementById("orangesQty").value > 0) {
    msg += "Oranges   ";
    msg +=document.getElementById("orangesQty").value;
    msg += "<br>";
    if (document.getElementById("tangerineQty").value > 0) {
    msg += "Tangerines   ";
    msg +=document.getElementById("tangerineQty").value;
    msg += "<br>";
    if (document.getElementById("kiwiQty").value > 0) {
    msg += "Kiwis   ";
    msg +=document.getElementById("kiwiQty").value;
    msg += "<br>";
    if (document.getElementById("pearsQty").value > 0) {
    msg += "Pears   ";
    msg +=document.getElementById("pearsQty").value;
    msg += "<br>";
    if (document.getElementById("grapesQty").value > 0) {
    msg += "Grapes   ";
    msg +=document.getElementById("grapesQty").value;
    msg += "<br>";
    if (document.getElementById("canteloupeQty").value>0) {
    msg += "Canteloupes   ";
    msg+=document.getElementById("canteloupeQty").value;
    msg += "<br>";
    if (document.getElementById("strawberryQty").value>0) {
    msg += "Strawberry   ";
    msg+=document.getElementById("strawberryQty").value;
    msg += "<br>";
    document.getElementById("outputDiv").innerHTML = msg;
    </script>
    </head>
    <body>
    <div id="outputDiv">
    <table>
      <tr>
      <td>Item</td>
      <td>Quantity</td>
      </tr>
      <tr>
      <td>Apples</td>
      <td><input type="text" size="3" id="appleQty"></td>
      </tr>
      <tr>
      <td>Oranges</td>
      <td><input type="text" size="3" id="orangesQty"></td>
      </tr>
      <tr>
      <td>Tangerines</td>
      <td><input type="text" size="3" id="tangerineQty"></td>
      </tr>
      <tr>
      <td>Kiwi</td>
      <td><input type="text" size="3" id="kiwiQty"></td>
      </tr>
      <tr>
      <td>Pears</td>
      <td><input type="text" size="3" id="pearsQty"></td>
      </tr>
      <tr>
      <td>Grapes</td>
      <td><input type="text" size="3" id="grapesQty"></td>
      </tr>
      <tr>
      <td>Cantaloupe</td>
      <td>
      <input type="text" size="3" id="canteloupeQty">
      </td>
      </tr>
      <tr>
      <td>Strawberry</td>
      <td><input type="text" size="3" id="strawberryQty">
      </td>
      </tr>
      </table>
      <input type="button" value="Stack" onclick="fixTheList();">
    </div>
    </body>
    </html>

    Hello,
    Only difference I see is with the CSS properties of Input tag.
    You can define the style for these tag by adding few lines of code right below <title> tag in the code you are pasting in Object > Insert HTML.
    For an example you can add codes mentioned below
    <style type="text/css">
      input {
        border: thin solid #AAA2A3;
        margin-bottom: 7px;
        margin-left: 9px;
      </style>
    As per your requirement you can edit them.
    One more advice. Break your codes in to 3 part, Scripts tag, Style tag and Div tag in body.
    Insert Div tag in body in Object > Insert HTML
    Insert Scripts tag, Style tag in Page > Page Properties >Metadata > HTML for <head>
    This will help you avoid any unexpected behavior in preview when you have more stuff inserted in Muse Page.
    1. Script tag (Insert it in Page > Page Properties >Metadata > HTML for <head>)
    <script type="text/javascript">
    function fixTheList(){
    var msg = "";
    var msg = "";
    if (document.getElementById("appleQty").value > 0) {
    msg += "Apples   ";
    msg +=document.getElementById("appleQty").value;
    msg += "<br>";
    if (document.getElementById("orangesQty").value > 0) {
    msg += "Oranges   ";
    msg +=document.getElementById("orangesQty").value;
    msg += "<br>";
    if (document.getElementById("tangerineQty").value > 0) {
    msg += "Tangerines   ";
    msg +=document.getElementById("tangerineQty").value;
    msg += "<br>";
    if (document.getElementById("kiwiQty").value > 0) {
    msg += "Kiwis   ";
    msg +=document.getElementById("kiwiQty").value;
    msg += "<br>";
    if (document.getElementById("pearsQty").value > 0) {
    msg += "Pears   ";
    msg +=document.getElementById("pearsQty").value;
    msg += "<br>";
    if (document.getElementById("grapesQty").value > 0) {
    msg += "Grapes   ";
    msg +=document.getElementById("grapesQty").value;
    msg += "<br>";
    if (document.getElementById("canteloupeQty").value>0) {
    msg += "Canteloupes   ";
    msg+=document.getElementById("canteloupeQty").value;
    msg += "<br>";
    if (document.getElementById("strawberryQty").value>0) {
    msg += "Strawberry   ";
    msg+=document.getElementById("strawberryQty").value;
    msg += "<br>";
    document.getElementById("outputDiv").innerHTML = msg;
    </script>
    2. Style Tag (Insert it in Page > Page Properties >Metadata > HTML for <head>)
    <style type="text/css">
      input {
        border: thin solid #AAA2A3;
        margin-bottom: 7px;
        margin-left: 9px;
      </style>
    3. Div tag in body (Insert in Object > Insert HTML)
    <div id="outputDiv">
    <table>
      <tr>
      <td>Item</td>
      <td>Quantity</td>
      </tr>
      <tr>
      <td>Apples</td>
      <td><input type="text" size="3" id="appleQty"></td>
      </tr>
      <tr>
      <td>Oranges</td>
      <td><input type="text" size="3" id="orangesQty"></td>
      </tr>
      <tr>
      <td>Tangerines</td>
      <td><input type="text" size="3" id="tangerineQty"></td>
      </tr>
      <tr>
      <td>Kiwi</td>
      <td><input type="text" size="3" id="kiwiQty"></td>
      </tr>
      <tr>
      <td>Pears</td>
      <td><input type="text" size="3" id="pearsQty"></td>
      </tr>
      <tr>
      <td>Grapes</td>
      <td><input type="text" size="3" id="grapesQty"></td>
      </tr>
      <tr>
      <td>Cantaloupe</td>
      <td>
      <input type="text" size="3" id="canteloupeQty">
      </td>
      </tr>
      <tr>
      <td>Strawberry</td>
      <td><input type="text" size="3" id="strawberryQty">
      </td>
      </tr>
      </table>
      <input type="button" value="Stack" onclick="fixTheList();">
    </div>
    Regards
    Vivek

  • Siena - Gallery control behaving differently when data is filtered?

    I have a gallery control populated by a dataset that contains images and text. In my app I have two dropdowns that I use to filter the contents of the gallery. When the gallery is showing 'all' (nothing filtered out, selecting an image in the gallery
    results in the selected item moving to the top of the gallery. However, when the dataset is filtered, I get a different result:
    1. If the dataset it small enough to be visible on the screen, the selected image stays in place and is visible
    2. If the dataset is bigger than what can be viewed on the screen, selecting an image in the gallery results in the selected image being scrolled off screen
    Any ideas on how to program the selection behavior to make it consistent?

    Also, here is the filter I am applying to the dataset:
    If(Dropdown_Location_Filter!Selected!Value="ALL", BUSINESS_LIST_1,Filter(BUSINESS_LIST_1, NEIGHBORHOOD=Dropdown_Location_Filter!Selected!Value))

  • Apps randomly open when dragging finder files between Spaces

    I've recently been having applications randomly open up for an unknown reason. I have got to the bottom of it and wondered if anyone else has/is experienced it?
    It happens when I drag a file from the finder and then with that file held I then drag between Expose windows. All sorts of apps open, very strange!!
    Anyone else had this, I would really like to know!

    locked files are generally copied and not moved to new locations.  if one or more of the files you're moving are locked then "all" the files will be copied to the new location, not just the locked ones.
    solution : move locked and unlocked files separately or unlock the locked files before moving them.
    hope that hleps.

  • Project behaves differently as a jar file

    I am attempting to implement a project. My development was done with netBeans 4.0. I have created a jar file with my project. When I double click on the jar file I get a frame with buttons that appear to be working correctly. When I push a button the correct frame appears with a JComboBox. When I select the first entry in the JComboBox I am ignored, however the second element to the combo box works as expected. This project executes correctly from the run icon in netbeans.
    Where do I start to debug this? Does this sound familiar to anyone.
    Thanks
    PS is this the correct forum?

    PS is this the correct forum? No, these forums are for the Java language only, and do not support for NetBeans (or any other IDE.)
    NetBeans' website provides NB support via a mailing list; there may be others.
    NB provides tutorials that cover most situations; see
    http://www.netbeans.org/kb/articles/javase-deploy.html

Maybe you are looking for

  • How to correct the sequence of pricing condition in ME21N

    Hi, I checked the sequence of pricing condition for a contract in ME33K in Quality and development server, the sequence is correct in both ME33K  and ME21N also but I faced the problem the pricing condition showing in reverse order in ME21N as compar

  • In InfoSpoke logical path made generic across landscapes

    Hi all, I am creating an InfoSpoke in 3.5, wherein I am using logical file/Path to store the file generated on application server. My path is something like this /interface/CCD/BWD/outbound.. (Where BWD is development server) When I will transport th

  • Missing incoterms in vl10g

    Hi Gurus, Please explain which authorisation object Claudia reffering..... Q: Hi experts, I'd like to have information about the incoterms of the sales order when I use the transaction code VL10G. But although the fields INCO & INCO2 are available in

  • Why does application.cfm file not get processed first?

    I am using ColdFusion 11 on Windows2008 R2. From what I understand, if there is an application.cfm page in the root folder, that any .cfm page below the root will process this page first and then process the regular .cfm page. I noticed that it proce

  • Vivid light blend mode

    I'm having a problem flattening a file with a layer set to Vivid Light mode. When flattening or stamping the effect disappears - any suggestion?