TE8 - unable to recognize a window of Installshield exe
Hi Everyone,
We have setup/build file that was written using Install shied.
I have written a script in “Test Complete 8 (using VB script)” to install that setup/build file to our testing pc’s (Windows XP).
For some reason Test execute 8 is not able to recognize a window of install shield when it is displayed. But when I debug or run the same script from Test complete 8 it recognize the window and works fine.
I have tried the same thing using TC7 & TE7 and result is the same (i.e. TE7 doesn’t recognize the window where TC7 works fine.)
Below is the statement of the script for the window I am looking for:
If (Sys.Process("MSIEXEC", 2).WaitWindow("MsiDialogCloseClass", "All New Mortgage Brain - InstallShield Wizard", 1, 5000).Exists) Then Sys.Process("MSIEXEC", 2)..Window("MsiDialogCloseClass", "All New Mortgage Brain - InstallShield Wizard", 1).Window("Button", "&Next >", 1).ClickButton
End if
The window which I looking for is marked in red colour above.
The error which I am getting is:
Missing Object
Alias: | MSIEXEC.wndMsiDialogCloseClass |
Mapping item: | Sys.MSIEXEC.wndMsiDialogCloseClass |
I have tried using Recording and playback even that didn’t work when I run the script from TE8
Please help me in this.
Regards,
Srinivas