Forum Discussion

adametek's avatar
adametek
New Contributor
4 months ago

How to use scripts and name mapping on Devexpress upgrade ?

What methods can be employed to utilize scripts and name mapping during a Devexpress upgrade?

I'm relatively new to Test Complete. While working with a desktop application, I've encountered issues where scripts fail due to changes in Xpath during a Devexpress upgrade.

How can such issues be effectively managed both now and in the future to minimize the efforts needed during upgrades? Your suggestions would be greatly appreciated.

5 Replies

    • adametek's avatar
      adametek
      New Contributor

      So, is there any script can we run directly so that all name mapping will get updated in case of environment upgrade ?

      • rraghvani's avatar
        rraghvani
        Champion Level 3

        Unfortunately not. It is something that you have to do manually. Usually, when there's a major version change with the supported development tools, the application internal objects ID changes too - but not in all cases.

  • Marsha_R's avatar
    Marsha_R
    Champion Level 3

    There are some tips and outside references for using XPath with TC here:

    https://support.smartbear.com/testcomplete/docs/app-testing/web/general/common-tasks/finding-objects/xpath-expressions.html