Forum Discussion

dhundley's avatar
dhundley
Regular Contributor
7 months ago
Solved

recorded objects do not equal playback objects

I just upgraded my testcomplete to the latest release 15.75 and my very first attempt at recording and then running (playback) is giving me the behavior depicted in the image below. i am recording a click on the document type combo box and the Account text box but when I run (playback) the recording it is clicking on the Tran Code combo box and the Amount text box. Is anyone else experiencing this behavior with the new release?

 

  • i edited the name mappings for two objects that were getting incorrectly selected during the recording process so that their properties include the WPFControlName and then re-recorded the keyword test and it successfully chose the correct objects this time. i know i had recorded numerous other keyword tests before now where it didn't need me to manually edit the mappings. who knows how many other properties will get "confused" from here on but, for now, i'm going to just deal with them as they arise. i think something changed that is causing the recording process to look at some properties before others but i can't prove anything. 

17 Replies

  • dhundley's avatar
    dhundley
    Regular Contributor

    actually, upon further investigation, the objects for the document type combo box and for the account textbox were already mapped from previous test case development. so, the question now is, why did it create new mapped objects which turned out to NOT be the objects i clicked on during the recording. Why didn't it use the correct objects that were already in there? by manually editing the value in the Item column of my new keyword test, replacing the incorrect object mapping from the recording with the correct object mapping that previously existed, i was able to get the keyword test to run successfully. this has got to be a problem with the new release. I will be reverting back to the previous release until this gets resolved. 

     

  • scot1967's avatar
    scot1967
    Icon for Champion Level 3 rankChampion Level 3

    Yeah, check the objects that were mapped in the TestComplete 'NameMapping' section to be sure they are mapped correctly and there are no naming conflicts by using the object spy.

    That would be my first step.  

    ... If you find my posts helpful drop me a like! 👍 Be sure to mark or post the solution to help others out and/or to credit the one who helped you. 😎

  • scot1967's avatar
    scot1967
    Icon for Champion Level 3 rankChampion Level 3

    I don't think this has been reported by anyone else.  This could be a problem in the way the test objects have been identified.  I'll do some checking and add another comment with more info in a bit.