Forum Discussion

jeremyt's avatar
jeremyt
Contributor
11 years ago

Problems with name mapping and Test Complete hanging

I am testing an HTML 5 application that runs inside of Chrome. I'm running into a problem involving name mapping.



- using the Object Spy I highlight a text box in the HTML 5 application

- it takes roughly 10 seconds (usually it's instant) for the property fields in the Object Spy dialog to populate

- once they do populate, Test Complete become completely unresponsive. In fact the mouse pointer disappears if I hover it over any part of Test Complete

- however if I close HTML 5 application, Test Complete instantly becomes responsive again as if nothing ever went wrong



I've been wrestling with it for too long now and it's very frustrationg. Heck it drove me to actually post on here because I'm currently at a loss. I believe the problem has something to do with name mapping. I say this because of something I discovered while troubleshooting...



- I closed down Test Complete and removed the name mapping file from my project

- reopened Test Complete where I got the missing name mapping error as expected, said ok to it and moved on

- tried the detailed steps listed above and to my surprise, no issues whatever

- spied the text box, properties filled in the Object Spy dialog instantly and Test Complete never hung



So to me that means there is something going on with my name mapping but I'm not sure what it may be. Anyone have some ideas?!

14 Replies

  • TanyaYatskovska's avatar
    TanyaYatskovska
    SmartBear Alumni (Retired)

    Hi Jeremy,


     


    Most probably, the behavior you describe depends on the Store Code Completion information option. Make sure that its value is set to Store brief Code Completion data or Do not store Code Completion data.


    Also, make sure that you are using the latest TestComplete version - v.9.31.


     

  • I have tried both Store brief Code Completion data and Do not store Code Completion data and neither had any effect. I'm still experiencing the same symptoms.
  • TanyaYatskovska's avatar
    TanyaYatskovska
    SmartBear Alumni (Retired)

    Hi Jeremy,


     


    What TestComplete version are you using? I've heard about a similar issue in TestComplete 9.0.


     

  • I'm using 9.31.



    I have since discovered that if I wait long enough (5 minutes or so), Test Complete will become responsive again (though very choppy) and I can then map the object. Once I have the object mapped, all appears to work ok...so far. I'm still not sure why certain objects are causing it to freak out. I know we use Dojo Toolkit pretty extensively which leads to objects being buried often 10+ levels deep.
  • TanyaYatskovska's avatar
    TanyaYatskovska
    SmartBear Alumni (Retired)

    Hi Jeremy,


     


    It looks like you will need to contact our Support team as some investigation is required.


     


    BTW, we've recently released TestComplete 10. Can you try using this product version to check whether the problem exists?


     

  • I looked into that but the website says 9.31 is the latest, couldn't find anything about Test Complete 10.
  • khushbupatel's avatar
    khushbupatel
    Occasional Contributor
    Hello,



    I am having problem with name mapping where my parent has became Empty Object. Because of that I could not find any child.  What action should I take to resolve this/.



    Thanks



     
    • mgreen's avatar
      mgreen
      Contributor

      I'm currently experiencing an issue like this.

       

      Using the latest trial version of TestComplete

       

      1. Select element in Object Spy

      2. Pulls up properties, than right click on FullName > Show Object in Name Mapping

       

      Result: Program hangs forever... 

      • tristaanogre's avatar
        tristaanogre
        Esteemed Contributor

        Please note that this thread is actually SEVERAL years old.  The most recent post is from December 2014 so it might be better to start a new thread.

        In any case...  If you haven't mapped anything yet, it's entirely likely that there is nothing in NameMapping to view.  So, showing the object in NameMapping might just be going into some major search that is not breaking out.  

        Please double check to make sure that the object actually is mapped (In Object Spy, there should be a "Mapped Name" property that, if it is mapped, should be populated). If it's not mapped, you can map it from the object browser.