Test Object Schema Example XML
<TypeInformation Load="true" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="ClassesDefintions.xsd" AddinName="Web" PackageName="SampleWebPackage">
<ClassInfo Name="MyLink" ROTypeInfo="false" GenericTypeID="Link" DefaultOperationName="Click" FilterLevel="0">
<Description>A Web Link.</Description>
<HelpInfo HelpFile="C:\Program Files\OpenText\UFT One\help\web.chm" />
<IconInfo IconFile="C:\Program Files\OpenText\UFT One\bin\WWWPackage.dll" IconIndex="201" />
<TypeInfo>
<ExternalTypeInfo TypeLibraryPath="WWWPackage.dll" clsid="DF3D0771-AD95-11d4-8F49-0050DA4F349C" />
<Operation Name="Click">
<Description>Clicks the link.</Description>
<HelpInfo HelpFile="C:\Program Files\OpenText\UFT One\help\web.chm" HelpContext="10" />
<IconInfo IconFile="C:\Program Files\OpenText\UFT One\bin\WWWPackage.dll" IconIndex="201" />
<Argument Name="X" IsMandatory="false" DefaultValue="-9999" Direction="In">
<Type VariantType="Integer" />
</Argument>
<Argument Name="Y" IsMandatory="false" DefaultValue="-9999" Direction="In">
<Type VariantType="Integer" />
</Argument>
<Argument Name="MouseButton" IsMandatory="false" DefaultValue="0" Direction="In">
<Type VariantType="Enumeration" ListOfValuesName="E_ButtonType" />
</Argument>
</Operation>
</TypeInfo>
<IdentificationProperties>
<IdentificationProperty Name="color" ForDescription="true" />
<IdentificationProperty Name="HTML Tag" ForDescription="false" ForBaseSmartID="true" />
<IdentificationProperty Name="href" ForDescription="true" ForDefaultVerification="true" />
<IdentificationProperty Name="font" ForVerification="true" ForDefaultVerification="false" />
</IdentificationProperties>
</ClassInfo>
<ClassInfo Name="Browser" ROTypeInfo="false" GenericTypeID="browser" DefaultOperationName="Exist">
<Description>A Web Browser.</Description>
<HelpInfo HelpFile="C:\Program Files\OpenText\UFT One\help\web.chm" />
<IconInfo IconFile="C:\Program Files\OpenText\UFT One\bin\WWWPackage.dll" IconIndex="213" />
<TypeInfo>
<ExternalTypeInfo TypeLibraryPath="SampleWebPackage.dll" clsid="0123-456-7890C" />
<Operation Name="GetTOProperty" ExposureLevel="CommonUsed" PropertyType="Method" SortLevel="1">
<Description>Returns the value of the specified property from the description of the Browser object. </Description>
<Documentation>Retrieve the value of the %a1 property</Documentation>
<HelpInfo HelpFile="C:\Program Files\OpenText\UFT One\help\web.chm" HelpContext="2659" />
<Argument Name="Property" IsMandatory="true" Direction="In">
<Type VariantType="String" />
</Argument>
<ReturnValueType>
<Type VariantType="Variant" />
</ReturnValueType>
</Operation>
<Operation Name="Resize" ExposureLevel="Expert" PropertyType="Method" SortLevel="1">
<Description>Resize the browser window.</Description>
<Documentation>Resize the browser to be %a1 pixels wide and %a2 pixels high.</Documentation>
<HelpInfo HelpFile="C:\Program Files\OpenText\UFT One\help\web.chm" HelpContext="2652" />
<IconInfo IconFile="C:\Program Files\OpenText\UFT One\bin\WWWPackage.dll" IconIndex="203" />
<Argument Name="width" IsMandatory="true" Direction="In">
<Type VariantType="Integer" />
</Argument>
<Argument Name="height" IsMandatory="true" Direction="In">
<Type VariantType="Integer" />
</Argument>
</Operation>
</TypeInfo>
</ClassInfo>
<ListOfValues Name="E_ButtonType">
<EnumValue Name="eLeftButton" RealValue="0" />
<EnumValue Name="eRightButton" RealValue="1" />
<EnumValue Name="eMiddleButton" RealValue="2" />
</ListOfValues>
</TypeInformation>