现在在做 Windows 应用程序的自动化,使用的工具是 test complete,希望有一起用的,把躺过的坑填平,我先来:
while not driver.EOF(): TestedApps.Mgi_STP_EngineerUI.Run() ... exit(MainWindows,AckWindow)
循环后,TC 再次打开应用程序,应用程序的 MainWindows 被命名为 MainWindows2,导致无法定位