-
Book Overview & Buying
-
Table Of Contents
Advanced UFT 12 for Test Engineers Cookbook
UFT can be extended with additional custom reserved objects. This is a feature that can be exploited to develop objects that are instantiated at the UFT's launch time, making the developer's work much more efficient and the code more concise. In this section, we will describe how to implement GlobalDictionary , which is to be used for data sharing among different Actions.
Proceed with the following steps:
In Windows, navigate to Start | Run. Type regedit.exe and press Enter.
In Registry Editor, search for the folder ReservedObjects. It should appear at HKEY_CURRENT_USER\Software\Mercury Interactive\QuickTest Professional\MicTest\ReservedObjects\.
Add a new key and name it GlobalDictionary.
Add the following values to the key:
ProgID of type REG_SZ (string value). Assign it the value of Scripting.Dictionary.
UIName of type REG_SZ (string value). Assign it the value of GlobalDic.
VisibleMode of type REG_DWORD (32-bit value). Assign it the value...
Change the font size
Change margin width
Change background colour