Forum Discussion

staples_jonatha's avatar
11 years ago

TC does not recognize new window in Windows 7

Good morning, we have an application which we were running on Windows Vista and scripted test cases for which worked fine.  When we ported the application to Windows 7, the test scripts no longer function.  We experience two significant problems with the Windows 7 version:



1) When our application runs without TC, it runs fine.  When we use TC to test other applications (such as MS Office products), it runs fine.  When we use TC to run our application, we experience significant delays and the product appears to freeze up.  We suspect potential I/O issues, but aren't sure why it freezes up on Windows 7 and does not in Windows Vista.



2) Our product has a UI which allows us to launch a report editor via drop-down menus.  The report editor opens as a stand-alone .exe in a new window.  In Vista, this process works fine and TC recognizes the new window has opened and is able to interact with the new window without a problem.  In Windows 7, TC does not recognize that the new window opened and will fail the first step requiring interaction with the new window.  However, if we set the playback to continue even if there are errors, TC will error on the first interaction with the window but subsequent steps requiring interaction with the window will proceed normally.  Our biggest problem here is that since the first step fails, the subsequent steps are thrown out of sync with the desired procedure.



To help provide some context, the software we are testing is coded in C# and the source code itself is essentially unchanged between Windows 7 and Windows Vista.  The application is installed and run on a single system (no web interface or client-server relationships to worry about).



If anyone can shed some light on possible reasons why TC does not recognize when the new window is opened in Windows 7 that would be very much appreciated.  Even if you can help us figure out where to start looking, that would be great.



Thanks

1 Reply

  • Marsha_R's avatar
    Marsha_R
    Champion Level 3
    I would start by using Object Spy to look at the window in Windows 7.  If for some reason Windows 7 has redefined/renamed the pop-out windows, then perhaps it doesn't match your name mapping any more.