Forum Discussion
AlexeyKolosov
Staff
15 years agoHi Baaboi,
To help us investigate the behavior, please perform the steps below:
1. Execute the collectFlashInjectorConfigurationIE (or collectFlashInjectorConfigurationFF if you are using Firefox) routine in TestComplete without interrupting it manually (the routine has to open two pages in Internet Explorer (or Firefox) and collect some additional information):
2. After the execution is over, the test log will be opened. In the Log Items panel, right-click the only node and choose the "Export to..." pop-up menu item.
3. Export the execution results to a multipart hypertext storage using the dialog that appears and send us the resulting file.
Thanks in advance.
To help us investigate the behavior, please perform the steps below:
1. Execute the collectFlashInjectorConfigurationIE (or collectFlashInjectorConfigurationFF if you are using Firefox) routine in TestComplete without interrupting it manually (the routine has to open two pages in Internet Explorer (or Firefox) and collect some additional information):
//For Internet Explorer:
function collectFlashInjectorConfigurationIE()
{
Sys.OleObject("WScript.Shell").Run("iexplore.exe");
var iexplore = Sys.Process("iexplore");
Log.Message("Information will be collected using " + iexplore.ProcessName + " " + iexplore.FileVersionInfo);
var versionPage = "http://kb2.adobe.com/cps/155/tn_15507.html";
iexplore.ToUrl(versionPage);
Delay (15000);
Log.Picture(iexplore.Page(versionPage).Picture(), versionPage);
var globalSecuritySettings = "http://www.macromedia.com/support/documentation/en/flashplayer/help/settings_manager04.html";
iexplore.ToUrl(globalSecuritySettings);
Delay (15000);
Log.Picture(iexplore.Page(globalSecuritySettings).Picture(), globalSecuritySettings);
var HOMEDRIVE = aqEnvironment.GetEnvironmentVariable("HOMEDRIVE");
var HOMEPATH = aqEnvironment.GetEnvironmentVariable("HOMEPATH");
var mmcfg = HOMEDRIVE + HOMEPATH + "\\mm.cfg";
if (aqFileSystem.Exists(mmcfg))
{
Log.Message("The mm.cfg file was found in the " + HOMEDRIVE + HOMEPATH + " folder. The file's contents can be found in the Additional Information panel.", aqFile.OpenTextFile(mmcfg, aqFile.faRead, aqFile.ctUTF8).ReadAll());
} else
{
Log.Warning("The mm.cfg file was not found in the " + HOMEDRIVE + HOMEPATH + " folder.");
}
Log.Message("OS: " + Sys.OSInfo.FullName);
}
//For Firefox:
function collectFlashInjectorConfigurationFF()
{
Sys.OleObject("WScript.Shell").Run("firefox.exe");
var firefox = Sys.Process("firefox");
Log.Message("Information will be collected using " + firefox.AppInfo.name + " " + firefox.AppInfo.version);
var versionPage = "http://kb2.adobe.com/cps/155/tn_15507.html";
firefox.ToUrl(versionPage);
Delay (15000);
Log.Picture(firefox.Page(versionPage).Picture(), versionPage);
var globalSecuritySettings = "http://www.macromedia.com/support/documentation/en/flashplayer/help/settings_manager04.html";
firefox.ToUrl(globalSecuritySettings);
Delay (15000);
Log.Picture(firefox.Page(globalSecuritySettings).Picture(), globalSecuritySettings);
var HOMEDRIVE = aqEnvironment.GetEnvironmentVariable("HOMEDRIVE");
var HOMEPATH = aqEnvironment.GetEnvironmentVariable("HOMEPATH");
var mmcfg = HOMEDRIVE + HOMEPATH + "\\mm.cfg";
if (aqFileSystem.Exists(mmcfg))
{
Log.Message("The mm.cfg file was found in the " + HOMEDRIVE + HOMEPATH + " folder. The file's contents can be found in the Additional Information panel.", aqFile.OpenTextFile(mmcfg, aqFile.faRead, aqFile.ctUTF8).ReadAll());
} else
{
Log.Warning("The mm.cfg file was not found in the " + HOMEDRIVE + HOMEPATH + " folder.");
}
Log.Message("OS: " + Sys.OSInfo.FullName);
}
2. After the execution is over, the test log will be opened. In the Log Items panel, right-click the only node and choose the "Export to..." pop-up menu item.
3. Export the execution results to a multipart hypertext storage using the dialog that appears and send us the resulting file.
Thanks in advance.