Forum Discussion

misalarie's avatar
misalarie
New Contributor
16 years ago

Testing the FlexLib 'supertabnavigator' with TestComplete

Greetings!



I'm very new to TestComplete and to testing Flex apps, and am running into a situation where tabs/objects within FlexLib's supertabnavigator are not being exposed at a low enough level for me to test with TestComplete.  Has anyone successfully tested this with TestComplete?  When I open the "Display Object Properties Window", I can focus on and select just about any flex object on the page, but when I try to focus on the tabs at the top of the page, it's all grouped within the same object--supertabnavigator--and I'm unable to select individual tabs within that parent object to build a test with.  I do realize that the problem may very well be the way the app was developed using that lib, but I thought it couldn't hurt to ask if anyone has encountered this and what they did to expose the objects low enough to test. 



I know you all are busy and I very much appreciate any assistance and commentary anyone can provide.



Best,

Lisa
  • Hi Lisa,




    I suggest that you try using the approach described in the "Preparing Flex Applications for Testing" help topic.

    I hope this helps.

  • misalarie's avatar
    misalarie
    New Contributor
    Right, so I already did that and have compiled the app with the Adobe Automation API enabled instead of just MSAA.  The class I'm having trouble with is the supertabnavigator in that TestComplete is not able to break it down into individual tabs.  When I try to locate the objects on the screen, it returns the entire tab bar instead of individual tabs.  I'm not sure how to get around that and am hoping someone else has had to test supertabnavigator and can tell me how they did it.  I can pull other flex objects off the screen just fine, but this one eludes me. 



    Again, many thanks in advance, I appreciate any info anyone can provide.



    Best,

    Lisa
  • Hi Lisa,




    Please provide us with a sample application demonstrating the target control along with the application's source code. We'll try to help you with a sample script demonstrating how to work with the SuperTabNavigator control. You can send us the application by using the following web form:


  • HI,



    I am facing the same problem .. Currently I have been automation a flex application... Testcomplete unable to recognize indivisual tab .. its recognize whole SuperTabbar.. did lots of R&D but didnt get any solution...



    if anyone have solution please give me suggession ...

  • Hi Biman,


     


    Can you share the link to your app so that we could try testing the control?