「ITTS:ITTS Scrip:ITTS command」修訂間的差異
跳至導覽
跳至搜尋
Vincentcheng2116(討論 | 貢獻) |
Vincentcheng2116(討論 | 貢獻) |
||
(未顯示同一使用者於中間所作的 1 次修訂) | |||
行 40: | 行 40: | ||
|- | |- | ||
| | | | ||
− | + | <Item> | |
<Text> </Text> | <Text> </Text> | ||
<Description> Position&Size keep minimize</Description> | <Description> Position&Size keep minimize</Description> | ||
行 121: | 行 121: | ||
</i3> | </i3> | ||
<i4> | <i4> | ||
− | <Content> | + | <Content></Content> |
<Description>Y</Description> | <Description>Y</Description> | ||
</i4> | </i4> | ||
<i5> | <i5> | ||
− | <Content> | + | <Content></Content> |
<Description>width</Description> | <Description>width</Description> | ||
</i5> | </i5> | ||
<i6> | <i6> | ||
− | <Content> | + | <Content></Content> |
<Description>High</Description> | <Description>High</Description> | ||
</i6> | </i6> | ||
行 141: | 行 141: | ||
</i8> | </i8> | ||
</Parameter> | </Parameter> | ||
− | </Item> | + | </Item> |
− | |||
− | |||
|} | |} | ||
行 159: | 行 157: | ||
==== Start Conditions ==== | ==== Start Conditions ==== | ||
Adjust Start Conditions interval time, | Adjust Start Conditions interval time, | ||
− | Disable Start Conditions | + | Disable Start Conditions<br> |
− | value 3: 1 : force enable START CONDITIONS | + | value 3: 1 : force enable START CONDITIONS, |
− | + | 0 or none 1 value : force Disable START CONDITIONS | |
value 4: 300 mS | value 4: 300 mS | ||
− | + | Setting / Adjust start conditions interval time<br> | |
− | + | ||
− | + | * Explain: ITTS will run Start Conditions automatically, start conditions interval time =300 mS | |
− | + | ** if [ Start Conditions ] exist and ITTS testing result =PASS, ITTS will start the [ Start Conditions ] checking, | |
+ | ** if you want to stop [ Start Conditions ], just uncheck the "Repeatedly" on main form of ITTS or ctrl-c or ctrl-break. | ||
+ | |||
==== MODE ==== | ==== MODE ==== | ||
set ITTS UI MODE | set ITTS UI MODE |
於 2022年3月15日 (二) 08:47 的最新修訂
ITTS[編輯]
Section1: ITTS or UTS[編輯]
Section2:[編輯]
Fail[編輯]
let ITTS test fail
RUN[編輯]
RUN test plan
EXIT[編輯]
Exit ITTS
Pass Fail Show[編輯]
show information on Pass/ fail dialog box support smart format, the default show string is UID filed contents. ['UID'] example: Value3 : "['&VAR:UID2']"
Show Pass Fail[編輯]
show pass fail dialog box earlier. if V3=0 hide the pass fail dialog box immediately if V3=1 Show the pass fail dialog box immediately
Position&Size[編輯]
Value3: Left position Value4: Right position Value5: Width Value6: Height Value7: alwaysontop setting 1:true, 0: fail Value8: keep Minimize setting 1:true, 0: fail return value: Desktop Width; Desktop Height; Monitor Width; Monitor Height; if value3=AUTO, all ITTS will arrange the windows size and position automatically
Example: Position&Size Example Scrip, click copy and paste to ScripEditor.
Example Code |
---|
<Item> <Text> </Text> <Description> Position&Size keep minimize</Description> <ItemType> 2</ItemType> <Skip> 1</Skip> <ItemSection1> ITTS</ItemSection1> <ItemSection2> Position&Size</ItemSection2> <ItemCommand> </ItemCommand> <FailAction> </FailAction> <FieldName> </FieldName> <FieldNumber> </FieldNumber> <ErrorCode> </ErrorCode> <RetryTimes> 0</RetryTimes> <RetryDelay> 0</RetryDelay> <Process> </Process> <FieldType> </FieldType> <Parameter> <i1> <Content></Content> <Description>Min</Description> </i1> <i2> <Content></Content> <Description>Max</Description> </i2> <i3> <Content>100</Content> <Description>X</Description> </i3> <i4> <Content>100</Content> <Description>Y</Description> </i4> <i5> <Content>1024</Content> <Description>width</Description> </i5> <i6> <Content>768</Content> <Description>High</Description> </i6> <i7> <Content>0</Content> <Description>AlwaysOnTop</Description> </i7> <i8> <Content>1</Content> <Description>Keep Minimize</Description> </i8> </Parameter> </Item> <Item> <Text> </Text> <Description> Position&Size auto</Description> <ItemType> 2</ItemType> <Skip> 1</Skip> <ItemSection1> ITTS</ItemSection1> <ItemSection2> Position&Size</ItemSection2> <ItemCommand> </ItemCommand> <FailAction> </FailAction> <FieldName> </FieldName> <FieldNumber> </FieldNumber> <ErrorCode> </ErrorCode> <RetryTimes> 0</RetryTimes> <RetryDelay> 0</RetryDelay> <Process> </Process> <FieldType> </FieldType> <Parameter> <i1> <Content></Content> <Description>Min</Description> </i1> <i2> <Content></Content> <Description>Max</Description> </i2> <i3> <Content>auto</Content> <Description>X</Description> </i3> <i4> <Content></Content> <Description>Y</Description> </i4> <i5> <Content></Content> <Description>width</Description> </i5> <i6> <Content></Content> <Description>High</Description> </i6> <i7> <Content>0</Content> <Description>AlwaysOnTop</Description> </i7> <i8> <Content>1</Content> <Description>Keep Minimize</Description> </i8> </Parameter> </Item> |
PASS_TIMER[編輯]
Value3: time ( mini-second ) example: value3 : 5000 ==>show Pass dialog box only 5 sec. value3 : 0 ==>show Pass dialog box all the time until next test or ESC was pressed. value3 : -1 ( < 0 ) ==>Hide Pass dialog box immediately (useful for start condition ) value4 : 1 ==>if fail, need to press ESC key before start new test. value5 : 1 ==>if fail, the fail dialog box will keep showing. not hide when pass timer appear.
Start Conditions[編輯]
Adjust Start Conditions interval time, Disable Start Conditions
value 3: 1 : force enable START CONDITIONS, 0 or none 1 value : force Disable START CONDITIONS value 4: 300 mS Setting / Adjust start conditions interval time
- Explain: ITTS will run Start Conditions automatically, start conditions interval time =300 mS
- if [ Start Conditions ] exist and ITTS testing result =PASS, ITTS will start the [ Start Conditions ] checking,
- if you want to stop [ Start Conditions ], just uncheck the "Repeatedly" on main form of ITTS or ctrl-c or ctrl-break.
MODE[編輯]
set ITTS UI MODE value3: 1: MP Mode 2: Operator Mode 3: Engineer Mode
Example: Engineer mode, Example Scrip, click copy and paste to ScripEditor.
Example Code |
---|
<Item> <Text> </Text> <Description> Engineer Mode</Description> <ItemType> 2</ItemType> <Skip> 1</Skip> <ItemSection1> ITTS</ItemSection1> <ItemSection2> mode</ItemSection2> <ItemCommand> </ItemCommand> <FailAction> </FailAction> <FieldName> </FieldName> <FieldNumber> </FieldNumber> <ErrorCode> </ErrorCode> <RetryTimes> 0</RetryTimes> <RetryDelay> 0</RetryDelay> <Process> </Process> <FieldType> </FieldType> <Parameter> <i1> <Content></Content> <Description>Min</Description> </i1> <i2> <Content></Content> <Description>Max</Description> </i2> <i3> <Content>3</Content> <Description>Value3</Description> </i3> </Parameter> </Item>
|
Message
Link: message command