soda
14 years agoContributor
Process Tree is not refreshing automatically in TestComplete 9
From the experience running our tests in TC7 and TC8, it seemed that when the tests executed a menu selection such as File->Open, the process tree was automatically refreshed, and the Open dialog could be found by the next statement in our test script.
In TestComplete 9, we are noticing that the dialog is no longer found until we add the statement Sys.Refresh(); The tests have not changed for two versions of TC. Is the behavior different in TC9? Did I have a setting in the properties that caused TC 7 and 8 to automatically refresh the process tree in Windows? I really do not want to go through hundreds of lines of code adding Sys.Refresh statements for dialogs that suddenly cannot be seen.
As far as I know, I upgraded the NameMapping correctly from the previous TC8 project file.
Thanks for any suggestions.
Mark
In TestComplete 9, we are noticing that the dialog is no longer found until we add the statement Sys.Refresh(); The tests have not changed for two versions of TC. Is the behavior different in TC9? Did I have a setting in the properties that caused TC 7 and 8 to automatically refresh the process tree in Windows? I really do not want to go through hundreds of lines of code adding Sys.Refresh statements for dialogs that suddenly cannot be seen.
As far as I know, I upgraded the NameMapping correctly from the previous TC8 project file.
Thanks for any suggestions.
Mark