clicking Next buttons in InstallShield
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
clicking Next buttons in InstallShield
I'm a new user to TestComplete 7.51. I'm experimenting with something fairly simple (or so I thought). I'm launching an installer, and clicking through a series of buttons to install an application. There are a couple Next buttons that are not getting executed when I run the script (recorded in jscript). If during script reply I manually click the Next buttons, the script picks up and executes the Install and Finish buttons. I've tried all sorts of stuff to make this work, but I'm having no luck. Any suggestions? Here is the script as it was recorded in jscript:
function Test1()
Test1()
{
var sysTreeView32;
var wndMsiDialogCloseClass;
var btnNext;
sysTreeView32 = Aliases.Explorer.wndExploreWClass.BaseBar.ReBarWindow32.SysTreeView32;
sysTreeView32.ClickItem("|Desktop|My Computer|Local Disk (C:)|Temp|Configure30.1110.0330");
TestedApps.Configure30Installer.Run(1, true);
wndMsiDialogCloseClass = Aliases.MSIEXEC.wndMsiDialogCloseClass;
btnNext = wndMsiDialogCloseClass.btnNext;
btnNext.ClickButton();
btnNext.ClickButton();
wndMsiDialogCloseClass.btnInstall1.ClickButton();
wndMsiDialogCloseClass.btnFinish1.ClickButton();
sysTreeView32.ClickItem("|Desktop|My Computer|Local Disk (C:)|Program Files|Philips|HeartStart|Configure");
TestedApps.Configure.Run(1, true);
}
When I map the objects, the first button full name is:
Sys.Process("MSIEXEC").Window("MsiDialogCloseClass", "HeartStart Configure - InstallShield Wizard", 1).Window("Button", "&Next >", 1)
the second:
Sys.Process("MSIEXEC").Window("MsiDialogCloseClass", "HeartStart Configure - InstallShield Wizard", 1).Window("Button", "&Next >", 1)
Thanks!
Jeff
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Dmitry Nikolaev
Did my reply answer your question? Give Kudos or Accept it as a Solution to help others. ⬇️⬇️⬇️
