「ITTS Scrip:DLL load」修訂間的差異

出自ITTS
跳至導覽 跳至搜尋
(已建立頁面,內容為 "== DLL Load == Load DLL ( Dynamic Link Library) in order to perform a test just like the way in FT Min: DLL minimum version requirement <br> Max:DLL maximum ve…")
 
 
行 104: 行 104:
 
       </Parameter>  
 
       </Parameter>  
 
     </Item>
 
     </Item>
 +
 +
[[http://intretech-tw.synology.me/mediawiki/index.php?title=ITTS_Scrip ITTS_Scrip_Command]]

於 2020年10月28日 (三) 14:53 的最新修訂

DLL Load[編輯]

Load DLL ( Dynamic Link Library) in order to perform a test just like the way in FT

Min: DLL minimum version requirement
Max:DLL maximum version requirement

if DLL version =1.0.0.1 system will translate to ==>01000001
if DLL version =2.1.3.4 system will translate to ==>02010304

Examole:

Dll name field could be a smart format For example: ['&TestPlanPath'+"ITTS_HASH.DLL"]

example: ITTS_RUN_AP.dll

    <Item> 
      <Text> </Text> 
      <Description> ITTS_RUN_AP.dll</Description> 
      <ItemType> 2</ItemType> 
      <Skip> 1</Skip> 
      <ItemSection1> DLL</ItemSection1> 
      <ItemSection2> Load</ItemSection2> 
      <ItemCommand> ITTS_RUN_AP.dll</ItemCommand> 
      <FailAction> </FailAction> 
      <FieldName> </FieldName> 
      <FieldNumber> </FieldNumber> 
      <ErrorCode> </ErrorCode> 
      <RetryTimes> 0</RetryTimes> 
      <RetryDelay> 0</RetryDelay> 
      <Process> </Process> 
      <FieldType> </FieldType> 
      <Parameter> 
        <i1>
          <Content>01000003</Content>
          <Description>Min</Description>
        </i1>
        <i2>
          <Content>9999999999</Content>
          <Description>Max</Description>
        </i2>
      </Parameter> 
    </Item> 


example: UTS_Drivers.dll

    <Item> 
      <Text> </Text> 
      <Description> Load UTS_Drivers</Description> 
      <ItemType> 2</ItemType> 
      <Skip> 1</Skip> 
      <ItemSection1> DLL</ItemSection1> 
      <ItemSection2> Load</ItemSection2> 
      <ItemCommand> .\UTS_Drivers\UTS_Drivers.dll</ItemCommand> 
      <FailAction> </FailAction> 
      <FieldName> </FieldName> 
      <FieldNumber> </FieldNumber> 
      <ErrorCode> </ErrorCode> 
      <RetryTimes> 0</RetryTimes> 
      <RetryDelay> 0</RetryDelay> 
      <Process> </Process> 
      <FieldType> </FieldType> 
      <Parameter> 
        <i1>
          <Content>01000108</Content>
          <Description>Min</Description>
        </i1>
        <i2>
          <Content>99999999</Content>
          <Description>Max</Description>
        </i2>
      </Parameter> 
    </Item> 


example: ITTS_MD5.dll

    <Item> 
      <Text> </Text> 
      <Description> Load ITTS_MD5.dll</Description> 
      <ItemType> 2</ItemType> 
      <Skip> 1</Skip> 
      <ItemSection1> DLL</ItemSection1> 
      <ItemSection2> Load</ItemSection2> 
      <ItemCommand> d:\data\Delphi\myproj\itts\dll\ITTS_MD5_XE10\ITTS_MD5.dll</ItemCommand> 
      <FailAction> </FailAction> 
      <FieldName> </FieldName> 
      <FieldNumber> </FieldNumber> 
      <ErrorCode> </ErrorCode> 
      <RetryTimes> 0</RetryTimes> 
      <RetryDelay> 0</RetryDelay> 
      <Process> </Process> 
      <FieldType> </FieldType> 
      <Parameter> 
        <i1>
          <Content>01000000</Content>
          <Description>Min</Description>
        </i1>
        <i2>
          <Content>2099123199</Content>
          <Description>Max</Description>
        </i2>
      </Parameter> 
    </Item>

[ITTS_Scrip_Command]