Forum Discussion

ian_brown's avatar
ian_brown
Occasional Contributor
12 years ago

Play Back Issues

We are trialling the product currently but are experiencing MAJOR issues with the play back of recordings. More than 50 % of recordings fail to play back because the system is unable to locate on object such as a button, navigation bar and so on. This happens entirely randomly, the same objects are recognized on a playback of different recordings. The application we are testing with is a Winforms .NET application which makes extensive use of the DevExpress components. We have experienced similar issues with other GUI testers we have tried. Any testing application that is unreliable on playback is unlikely to be of any use to us.

7 Replies

  • simon_glet's avatar
    simon_glet
    Regular Contributor
    Hi Ian,



    The problem seems to be that the playback is executed at a much faster pace than the recording.



    You might want to fine tune TC's playbak by checking out your project's playback configuration settings. (attached screenshot).



    Reading Handling Playback Errors will help too.



    Sincerely
  • Marsha_R's avatar
    Marsha_R
    Icon for Champion Level 3 rankChampion Level 3
    Hi Ian -



    Do the tab names have anything in common, for instance, are they always ABC followed by a random string?  If you can find something in common like that, then you can use wildcards in the name mapping so that the objects will be found as long as the tab name matches the pattern.
  • simon_glet's avatar
    simon_glet
    Regular Contributor
    Ian,



    If Marsha's solution is not enough to "find" the tab, you could have a look at the Name Mapping feature. There are so many UI element properties available, even from the parent and/or the children that you will most certainly find a combinaison that will uniquely reference the tab your script is looking for.



    Check out Name Mapping.



    Sincerely
  • ian_brown's avatar
    ian_brown
    Occasional Contributor
    HI Simon,

    I applied the settings you recommended but it makes no difference at all, apart from slowing down the play back speed. The playback always stops at the same point on the same object.

    Cheers,

    Ian
  • ian_brown's avatar
    ian_brown
    Occasional Contributor
    Simon,

    I now know what the problem is but I'm not sure that there is a solution. The application dynamically creates tab forms at run time when new records are created (or selected for editing) which require a separate tab form for display and edit purposes. The tab form object will be assigned a unique name for each instance of its instantiation. The problem is that upon playback it is almost certain that the name will be different and thus TC is unable to locate any particular object on the tab form as the parent name has changed.

    Cheers,

    Ian
  • ian_brown's avatar
    ian_brown
    Occasional Contributor
    I've managed to sort this through wildcard aliasing using the object mapping utilities. Very impressive bit of software. I'll continue testing and evaluating.

    Cheers,

    Ian