Forum Discussion

mbarbworldtrips's avatar
mbarbworldtrips
Contributor
2 years ago
Solved

TestComplete recording incorrect button

I have recorded successfully 153 other tests on a software. The next few tests, I record the same way as before, except TestComplete plays back the wrong button even though the visualizer displays correctly. Instead of enacting the Next Step function, it enacts the Previous Step button. Visualizer and script do not match.

  • I'm running version Version: 15.40.421.7 x64.

    There have been no changes in the code for the software I am testing.

    Older tests still run as before with no problem.

15 Replies

  • Marsha_R's avatar
    Marsha_R
    Champion Level 3

    What version of TestComplete are you running?  Did you upgrade it recently?

     

    Did your application under test change lately?

     

    Do your older tests still run the way they did before?

    • mbarbworldtrips's avatar
      mbarbworldtrips
      Contributor

      I'm running version Version: 15.40.421.7 x64.

      There have been no changes in the code for the software I am testing.

      Older tests still run as before with no problem.

      • Marsha_R's avatar
        Marsha_R
        Champion Level 3

        Sorry, clicked the wrong button, I know you don't have a solution yet!

         

        Are you clicking the button by coordinates or by object name?

  • Marsha_R's avatar
    Marsha_R
    Champion Level 3

    Thanks for those screenshots.

     

    If you turn Debug on and step through this area of your test one line at a time, does the test work as expected?

    • mbarbworldtrips's avatar
      mbarbworldtrips
      Contributor

      Recorded with Debug on. On the Traveler Information screen, the playback selected the Remove Traveler button and then failed the test.

      Could it be that since the Remove Traveler Button and the Next Step button are named the same, that the playback selects the first of the two named "Button (0)"?

      If so, then I need the Developers help to fix before continuing.

      • mbarbworldtrips's avatar
        mbarbworldtrips
        Contributor

        Marsha_R,

        Do you know if TestComplete uses the Standard naming properties or the Extended naming properties when recording?