Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Table of Contents


Project : UTS Scope Overview

Ui tabs


Ui tab
titleNEO2.x-TS184

NEO2x - TS184

ProjectTS
VP3600

TS184

VP6800
PiP
KIV
KIII
SREDKey2
VP3320
VP5200



Ui tab
titleSpecial Version

TS Special Version

ProjectTS
VP5300

TS188



Ui tab
titleNEO3x-UTS

NEO3x - UTS

ProjectTS
VP8810

TS194

VP6825

TS195






Xml Script Format


Ui tabs


Ui tab
title01 - Basic TestStep Item


ExampleComment

<TestStep name="Step [DUT] Get BLE Version + Public Random MAC Address">

    <Command name="Get Bluetooth Parameters-DA14585">

                    <Timeout>20000</Timeout>

     <Response>

      <!--Ex:  0D 0A 36 2E 31 35 30 2E 34 2E 35 31 00 0D 0A 82 87 70 0A DE F7 -->

      <HexStringRegex>^(0D0A)([0-9a-hA-H][0-9a-hA-H])*(0D0A)([0-9a-hA-H][0-9a-hA-H]){6}</HexStringRegex>

                    </Response>

                </Command>

    

    <!--

    Ex: In Data = 0D 0A 36 2E 31 35 30 2E 34 2E 35 31 00 0D 0A 82 87 70 0A DE F7 

        Trim Regex Prefix = 0D 0A 36 2E 31 35 30 2E 34 2E 35 31 00 0D 0A

     Trim Regex Postfix = None

     Result = 82 87 70 0A DE F7 = BLE01_RandMacAddr, Saved Name

    -->

    <SavedName2 RegexPrefix_Trim="^(0D0A)([0-9a-hA-H][0-9a-hA-H])*(0D0A)"  RegexPostfix_Trim="">BLE01_RandMacAddr</SavedName2>

                <RetryTimes>3</RetryTimes>

                <Interval>200</Interval>

   </TestStep>

01 <TestStep name="Step ..."> ...</>

Test Step item, name = "Step ...", will be displayed in the left-bottom window (7) in the main test form.


02 <Command name = "Get Bluetooth...">...</>

02.1 Retrieving command "Get Bluetooth..."'s content from CommandList.xml

 ,content = Protocol Type + Command Part

02.1.1 <Timeout>...</> : timeout definition, between Send/Tx and Receive/Rx,

unit : milli-seconds.

02.1.2 <Response>... </> : Response Data

Check

handler

  02.1.2.1 <HexStringRegex>...</> : using regular express rule to check the matched pattern found  ~!.dddddd

Example:

<!--Ex:  0D 0A 36 2E 31 35 30 2E 34 2E 35 31 00 0D 0A 82 87 70 0A DE F7 -->

     

<HexStringRegex>^

<HexStringRegex>^(0D0A)([0-9a-hA-H][0-9a-hA-H])*(0D0A)([0-9a-hA-H][0-9a-hA-H]){6}</

HexStringRegex>

HexStringRegex>

==> Check Response Data Pattern is same as

     "0D 0A "+ASCII string , null end ("00") + "0D 0A" + 6 bytes BLE Address, hex chars string.



Ui tab
title02 - Switch Another Interface


Script ExampleContent

<TestStep name="Step [Host] Switch To Host Interface, RS232 (DA14585, USB-CDC)">

    <CheckMethod xmlFileRef="Interface.xml" usedInterface="DA14585_ConnStart_RS232" >SwitchInterface</CheckMethod>

    <!-- note="using ',' to delimiter mutiple options" 

    CheckMethodOptoins = Input Arguments/Parameters, specilized on Invoked Check Method.

      Highly dependency on invoke method

    ex: CheckMethod = SwitchInterface

        UsedInterace = InterfaceType (RS232,USBHID,USBKB) or  usedInterface(VP3350_RS232, VP3350_HID)

     

     RegEx: Input = "BTH Version 1.0.1"

    -->

            </TestStep>

   <TestStep name="Step [Host] Convert Binary MAC Value To ASCII MAC Address w/ :, semicolon">

01 <S