We are building a new experience for our SmartBear Community.
This site is now read-only. You can still browse and search as usual. Learn More
This site is now read-only. You can still browse and search as usual. Learn More
Hi John,
Yes, it's possible. You can put your CHM in the <TestComplete>\Help folder, and if it meets the requirements below, it will be automatically integrated into F1 help, TestComplete help contents (TOC), index, and full-text search.
Example
Attached is a sample CHM file (with source code) that illustrates help integration. It has an F1 topic for MyFunction. Copy this CHM file to the <TestComplete>\Help folder to try it out.
Implementation Details
<!-- MyFunction.htm -->
<head>
...
<object type="application/x-oleobject" classid="clsid:1e2a7bd0-dab9-11d0-b93a-00c04fc99f9e">
<param name="ALink Name" value="MyFunction">
</object>
</head>
You can use multiple ALinks in the same tag:<object type="application/x-oleobject" classid="clsid:1e2a7bd0-dab9-11d0-b93a-00c04fc99f9e"> <param name="ALink Name" value="MyFunction"> <param name="ALink Name" value="MyFunctionEx"> </object>Note that the keywords / function names in ALinks are case-sensitive.
; HHP file [OPTIONS] Binary Index=Yes
; HHP file [WINDOWS] Main="My TestComplete Extension","TestCompleteExtension1.hhc","TestCompleteExtension1.hhk","YourDefaultTopic.htm","YourHomeTopic.htm",other options if needed $global_Main="My TestComplete Extension","TestCompleteExtension1.hhc","TestCompleteExtension1.hhk","YourDefaultTopic.htm","YourHomeTopic.htm", other options if needed
; HHP file [ALIAS] Topic1 = topic1.htm Topic2 = more\topic2.htm [MAP] #define Topic1 18000 #define Topic2 18001
Known Issues
Hope this helps, and let me know if you have further questions.
Hi John,
Yes, it's possible. You can put your CHM in the <TestComplete>\Help folder, and if it meets the requirements below, it will be automatically integrated into F1 help, TestComplete help contents (TOC), index, and full-text search.
Example
Attached is a sample CHM file (with source code) that illustrates help integration. It has an F1 topic for MyFunction. Copy this CHM file to the <TestComplete>\Help folder to try it out.
Implementation Details
<!-- MyFunction.htm -->
<head>
...
<object type="application/x-oleobject" classid="clsid:1e2a7bd0-dab9-11d0-b93a-00c04fc99f9e">
<param name="ALink Name" value="MyFunction">
</object>
</head>
You can use multiple ALinks in the same tag:<object type="application/x-oleobject" classid="clsid:1e2a7bd0-dab9-11d0-b93a-00c04fc99f9e"> <param name="ALink Name" value="MyFunction"> <param name="ALink Name" value="MyFunctionEx"> </object>Note that the keywords / function names in ALinks are case-sensitive.
; HHP file [OPTIONS] Binary Index=Yes
; HHP file [WINDOWS] Main="My TestComplete Extension","TestCompleteExtension1.hhc","TestCompleteExtension1.hhk","YourDefaultTopic.htm","YourHomeTopic.htm",other options if needed $global_Main="My TestComplete Extension","TestCompleteExtension1.hhc","TestCompleteExtension1.hhk","YourDefaultTopic.htm","YourHomeTopic.htm", other options if needed
; HHP file [ALIAS] Topic1 = topic1.htm Topic2 = more\topic2.htm [MAP] #define Topic1 18000 #define Topic2 18001
Known Issues
Hope this helps, and let me know if you have further questions.
Thanks Helen
Works exactly as you described :-).
John