Showing posts with label fix. Show all posts
Showing posts with label fix. Show all posts

2010-11-24

How to load mht-files faster

Big mht-files are loaded slowly and IE could ask couple of times, should it continue to load or not. In order to load faster without asking, there is a key in windows registry:

Key: HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\Styles

Create a new DWORD value called "MaxScriptStatements" under this key and set the value to the desired number of script statements. If you are unsure of what value you need to set this to, you can set it to a DWORD value of 0xFFFFFFFF to completely avoid the dialog.

For your convenience, here is the content of reg-file to add value to registry automatically:
Windows Registry Editor Version 5.00

[HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\Styles]
"MaxScriptStatements"=dword:ffffffff

This fix is especially useful if you use TestComplete, export logs to mht files and use them for test results analyzing.

Details description about this issue could be found at http://support.microsoft.com/kb/175500.

2010-11-09

What to do if TestComplete 7.52 does not recognize .NET objects

If you are using TestComplete 7.52 and it could not recognize .NET applications, it is due to Microsoft has released some .NET Framework updates that were installed automatically on many computers by the Windows Update service. The changes are related to the core .NET Framework functionality used by TestComplete.

After the updates are installed, tests created for .NET 1-3.5 applications may stop working correctly - you may see the "Object Not Found" and related errors in test results.

To resolve the problems, please apply the relevant hot fix:
TestComplete Ent: http://downloads.automatedqa.com/net_patch/NET_TestComplete_Enterprise.zip
TestComplete Std: http://downloads.automatedqa.com/net_patch/NET_TestComplete_Standard.zip
TestExecute: http://downloads.automatedqa.com/net_patch/NET_TestExecute.zip
TestRecorder: http://downloads.automatedqa.com/net_patch/NET_TestRecorder.zip

Here are the hot fix installation steps:
1. Unpack the downloaded archive to your hard disk drive.
The archive contains two folders: 'x86' and 'x64'.

2. Close the product you are applying the fix to.

3. Copy the 'x86\tcClrHook.dll" file to the Extensions folder of the product.
For TestComplete and TestExecute, the folder path looks like this:
\Bin\Extensions\
For TestRecorder, the path is as follows:
\Bin\

4. If you are running an x64 operating system, you will also need to copy the 'x64\tcClrHook.dll' file to the following folder:
TestComplete, TestExecute:
\x64\Bin\Extensions\
TestRecorder:
\x64\Bin\

The fix can be applied only to version 7.52 of TestComplete, TestExecute or TestRecorder.