judie
12 years agoNew Contributor
Another Name Mapping Issue
I am hoping someone in the community may have faced this problem and have a solution. Since recording the original regression suite of scripts for a desktop app, the Developer Express version has been upgraded and we have also upgraded TC ver 9 to the latest Test Complete Version (10.10.752.7).
I have a .NET desktop application with devexpress contrrols (ver 13.2.5). A suite of regression scripts and keyword tests were written for this app last year using TC ver 9. Since upgrading to TC ver 10, none of the keyword tests or scripts will run. A check in the object browser reveals that the form names no longer match the original recordings. The only way I have been able to get anything to run at all is to manually rename the objects but as this is a complete regression suite for the application this will be a very long process.
Using the Object Spy, I can only highlight certain areas of the form (not the buttons that will load a new form) as the application is using wrappers: eg
Aliases.FreshPackApples.wndWindowsForms10Window8app0cf4527r11ad1.WindowsForms10Window8app0cf4527r11ad1.Window("WindowsForms10.Window.8.app.0.cf4527_r11_ad1", "FreshPackApples.UI.Win", 1).Window("WindowsForms10.Window.8.app.0.cf4527_r11_ad1", "", 1).Window("WindowsForms10.Window.8.app.0.cf4527_r11_ad1", "", 3).Window("WindowsForms10.Window.8.app.0.cf4527_r11_ad1", "Main Navigation", 1)
I have attached a screenshot of the object browser tree and the name mapping.
I have a .NET desktop application with devexpress contrrols (ver 13.2.5). A suite of regression scripts and keyword tests were written for this app last year using TC ver 9. Since upgrading to TC ver 10, none of the keyword tests or scripts will run. A check in the object browser reveals that the form names no longer match the original recordings. The only way I have been able to get anything to run at all is to manually rename the objects but as this is a complete regression suite for the application this will be a very long process.
Using the Object Spy, I can only highlight certain areas of the form (not the buttons that will load a new form) as the application is using wrappers: eg
Aliases.FreshPackApples.wndWindowsForms10Window8app0cf4527r11ad1.WindowsForms10Window8app0cf4527r11ad1.Window("WindowsForms10.Window.8.app.0.cf4527_r11_ad1", "FreshPackApples.UI.Win", 1).Window("WindowsForms10.Window.8.app.0.cf4527_r11_ad1", "", 1).Window("WindowsForms10.Window.8.app.0.cf4527_r11_ad1", "", 3).Window("WindowsForms10.Window.8.app.0.cf4527_r11_ad1", "Main Navigation", 1)
I have attached a screenshot of the object browser tree and the name mapping.