Forum Discussion

4m4d3u5's avatar
4m4d3u5
Contributor
6 years ago

Regional checkpoint name mapping

I am testing a UI and testcomplete keeps renaming the window to QtObject("MainWindow", "", 1), QtObject("MainWindow", "", 2), QtObject("MainWindow", "", 3) ect. and I can get around this by renaming it to QtObject("MainWindow", "*") and it will find all windows; however, when I do an regional image check the name mapping is as follows: Aliases.displayQt.MainWindow2. How can I rename the regional image checkpoint name mapping so that it will find the image on any window like Aliases.displayQt.MainWindow1, Aliases.displayQt.MainWindow3 or however it wants to name it. Or is there a better solution so that the name mapping stays consistent?