SlideShare ist ein Scribd-Unternehmen logo
1 von 38
Downloaden Sie, um offline zu lesen
TestExec SL 8.1 (Threaded
Sequence)
Update: 23/11/2015
PageAgenda
– Introduction
– Terminology & GUI
– Demo
– Testing with Hardware
– Other Feature
– Extended Feature
TestExec SL 8.1 2
Page
Introduction
TestExec SL 8.1 3
Page
TestExec SL Release
TestExec SL 8.1 4
TxSL
version
Multi-threading Throughput
Multiplier
Execution Mode
TxSL 7.0 Test Level Test Level Sequential
Batch
TxSL 8.1 Sequence Level Sequence Level Sequential
Batch
Asynchronous
Page
Execution Mode
TestExec SL 8.1 5
3 Execution Modes will be introduced in this new threaded sequence feature:
• Sequential – All threaded sequences run in sequential mode.
• Batch – All threaded sequences start at the same time.
• Asynchronous - Prompt Dialog to select Sequence. User decide when a threaded
sequence starts to run. Threaded Sequences may start and stop independently from
each other.
Page
Batch Model
The batch model is used when a group of UUTs need to be tested at the same time. All the UUTs start
and complete testing at the same time.
Start
Enter Batch Serial Number
Enter UUT1
Serial
Number
Enter UUT2
Serial
Number
Enter UUTn
Serial
Number
Start Testing
UUT1
Start Testing
UUT2
Start Testing
UUTn
Test 1
Test 2
Test n
Test 1
Test 2
Test n
Test 1
Test 2
Test n
Batch Synchronization
(Wait for all UUTs to complete)
Generate
Report
Another
Batch?
End
NO
YES
Test
Window
The batch of UUTs reside
in the same test fixture.
TestExec SL 8.1
Page
6
Page
Parallel Model (Asynchronous Testing)
The Parallel Model is useful when testing multiple UUTs independently. Tests may start and stop
independently of each other.
Start
Synchronize and Initialize Instruments
Enter UUT1
Serial
Number
Enter UUT2
Serial
Number
Enter UUTn
Serial
Number
Start Testing
UUT1
Start Testing
UUT2
Start Testing
UUTn
Test 1
Test 2
Test n
Test 1
Test 2
Test n
Test 1
Test 2
Test n
Generate
Report
Generate
Report
Generate
Report
Next
UUT?
Next
UUT?
Next
UUT?
End End End
The parallel process is very useful
for independent test fixtures.
TestExec SL 8.1
Page
7
Page
Asynchronous Testing
TestExec SL 8.1 8
Multithreading will be done at Sequence level. That means several sequences will run at the
same time in different threads. All statements (tests, testgroup, assignment, if else, for loop, etc)
in the threaded sequence run in sequential. The existing threaded tests feature will still be
available in “Main” and other normal sequence.
! [SeqOne]
test SeqOneTest 1
test SeqOneTest 2
If InterfaceParms.Int1 = 10 then
test SeqOneTest 3
end if
…..
test SeqOneTest N
! [SeqTwo]
test SeqTwoTest 1
for SequenceParms.Var1 = 1 to 3 step 1
test SeqTwoTest 2
end if
test SeqTwoTest 3
test SeqTwoTest 4
…..
test SeqTwoTest N
! [SeqThree]
SequenceParms.SeqParmInt = 22
testgroup Group33
test SeqThreeTest 1
test SeqThreeTest 2
end testgroup
test SeqThreeTest 3
…..
test SeqThreeTest N
Throughput Multiplier setting can be set for every threaded sequence. Each threaded sequence can be run for all
UUT positions or a specific UUT position only.
Page
Terminology & Graphical User
Interface
TestExec SL 8.1 9
PageTestExec SL 8.1 10
Threaded Sequence
Threaded Sequence is the new sequence added where it allows different sequences to be run at the same time.
Non-Threaded Sequence is the user defined sequences prior to TestExec SL 8.1
Page
Threaded Sequence with Throughput Multiplier
TestExec SL 8.1 11
Throughput multiplier is applied to the testplan
itself, including threaded sequence gets it.
User has a choice to turn on or turn off
throughput multiplier for each threaded
sequence at the Testplan Options.
Page
Sequence Group
TestExec SL 8.1 12
Threaded
sequences
Page
Example
TestExec SL 8.1 13
SeqOne –
UUT1
An example: For a testplan with 3 UUT positions, Sequence “SeqOne” will be run for 3 UUT
positions. Sequence “SeqTwo” will be run for once without any UUT position (No UUT).
SeqTwo – No
UUT
SeqOne –
UUT2
SeqOne –
UUT3
PageTestExec SL 8.1 14
Execution Mode: Sequential
All threaded sequences will run sequentially. Start
End
SeqOne –
UUT1
SeqTwo – No
UUT
SeqOne –
UUT2
SeqOne –
UUT3
PageTestExec SL 8.1 15
Execution Mode: Batch
All threaded sequences start at the same time.
Start
SeqOne –
UUT1
SeqTwo – No
UUT
SeqOne –
UUT2
SeqOne –
UUT3
End
PageTestExec SL 8.1 16
Execution Mode: Asynchronous
Run
?
Run
?
Run
?
Run
?
Start
Dialog
End
SeqOne –
UUT1
SeqTwo –
No UUT
Yes
No
Yes
Yes
No
Yes
SeqOne –
UUT2
SeqOne –
UUT3
No
No
A dialog will be prompted where user may choose to start a threaded sequence.
Sequence may start and stop independently from each other.
After the dialog is closed, the testplan will stop.
PageTestExec SL 8.1 17
Asynchronous – Prompt Dialog to select Sequence
A dialog will be prompted out where all the threaded sequences inside the
“SequenceGroup” will be listed and the user may choose the sequence to run by
pressing the Run button.
After this dialog is closed, execution will continue at the next statement after this “end
SequenceGroup” statement.
Page
Threaded Sequence Call
TestExec SL 8.1 18
SeqOne, SeqTwo, SeqThree are
threaded sequence, SeqNormal is
non-threaded sequence.
TestExec SL will implement a
prefix “Thread:” in front of
threaded sequence to distinguish
them, e.g. Thread:SeqOne
Only threaded sequence
can be called by
sequencegroup.
PageTestExec SL 8.1 19
Threaded Call  Options
In Threaded Call,
• In the “Options” page,
throughput multiplier is enabled
for the Threaded Sequence that
enables multiple UUT. This
selection is not enabled for
Threaded Sequence without
multiple UUT.
• On the call parameter page,
different UUT can select different
Call parameters
Page
Global Symbols
TestExec SL 8.1 20
Global symbols need to be locked to avoid crash.
For threaded sequence, global symbols are symbols in System, SequenceLocals and TestplanGlobals.
Testplan:
• Threaded_Sequence.tpa
Page
Failure Counts
TestExec SL 8.1 21
Failure Counts
• In Threaded Group, the failure will count only on the thread itself and when failure count
is hit, it will stop the thread itself to continue.
• In Testplan Option, this treats the counts as a global variable. If any part of the testplan,
including the threaded count is hit, it will stop the testplan from continuing.
• In throughput multiplier, the failure count will only affect the UUT itself.
Testplan:
• HaltOnFailureCount.tpa
• HaltOnFailureCount_TM.tpa
Page
Timeout
TestExec SL 8.1 22
For timeout, in any case, the timeout will let the thread to complete as killing the thread itself
is consider dangerous. And depending on which Timeout Behavior selected, it will behave
accordingly.
• ONLY in Asynchronous mode, if the Timeout Behaviour selected is Prompt timeout
dialog, it will not prompt any timeout dialog as it will be confusing. It will act like
“Generate Exception”
Testplan:
• TimeOut_TM.tpa
Page
Sequential Call
TestExec SL 8.1 23
Sequential Call (scall) is used to call another threaded sequence from a threaded sequence. The scall will
call other threaded sequence sequentially, like the normal call statement.
All the SeqAlpha, SeqBeta, SeqOne, SeqTwo, SeqThree, SeqFour, SeqFive are threaded sequence.
Page
Sequential Call – How It Works?
TestExec SL 8.1 24
SeqAlpha, SeqOne, SeqTwo, SeqThree have UUT while SeqBeta, SeqFour, SeqFive have no UUT.
Condition: Threaded Sequence with UUT can only do scall to threaded sequence with UUT, while the
threaded sequence with NO UUT can only call threaded sequence with NO UUT.
Page
Sequential Call Condition
TestExec SL 8.1 25
Testplan:
• Sequential Call.tpa
Page
Demo:
TS_Test_TG.tpa
Test_TG_TM.tpa
TestExec SL 8.1 26
Page
Testing with Hardware
TestExec SL 8.1 27
Page
Parallel Testing (comparing with previous version)
TestExec SL 8.1 28
UUT1 UUT2
DMM1 DMM2
• Prior to TestExec SL 8.1, to run 2 DMM
in parallel, we use threaded test and
waitthread statement.
Testplan:
• Dmm_2UUT_80.tpa
• Dmm_2UUT_81.tpa.
• In TestExec SL 8.1, threaded sequence
can be used to run 2 UUTs.
• Both should use the same time to complete. ~9 seconds.
Page
1 Test only Testing UUT1
TestExec SL 8.1 29
UUT1 UUT2
DMM1 DMM2
Option # 1: Put onto Main Sequence and
only run once independent of UUT, inside
the test select DMM1 only.
Option # 2: In threaded sequence, use IF
statement.
NOTE: in a threaded sequence with UUT, test settings such as “SetSkip”, Ignore this test”, “On fail
Brach To” in 1 UUT will applied to other UUTs.
Testplan:
• Dmm_2UUT_81_Single.tpa
• DMM_2UUT_81_IF.tpa.
Page
2 UUT 1 DMM
TestExec SL 8.1 30
UUT1 UUT2
DMM1
Like previous version of TestExec SL, locking needs to be implemented to ensure that while DMM1 is
accessing UUT1, its resource will not be grab by UUT2.
This will run as sequential, hence test time is same as sequential testing.
Page
4 UUT 2 DMM
TestExec SL 8.1 31
UUT2 UUT4
DMM2
2 DMMs can help to improve throughput of the testplan.
Test result: 18s for batch mode, 36s for sequential mode
UUT1 UUT3
DMM1
Page
Other Feature
TestExec SL 8.1 32
Page
Datalogging
TestExec SL 8.1 33
Sequential and Batch – Log file will be produced at the end of the testplan.
Different log file will be saved for different UUT.
Asynchronous – Prompt dialog to select sequence – Log file will be produced
at the end of the sequences. Different log file for different UUT. If there are
other statements at Main, another log file will be saved at the end of the
testplan.
Page
Exception
TestExec SL 8.1 34
Sequential - Exception that happen will stop execution. The Exception Sub will be
executed and the testplan will stop.
Batch - The threaded sequence that causing the exception will stop to execute. Other
threaded sequence will run to end and the Exception Sub will be executed. Then the
testplan will stop.
Asynchronous – Prompt dialog to select sequence – The threaded sequence that
causing the exception will stop to execute. Its Run and Stop button will be disabled.
Other threaded sequence will be able to run as usual. When the prompted dialog is
closed, the Exception Sub will be executed and the testplan will stop.
Page
Operator UI
TestExec SL 8.1 35
New APIs and Events will be added to support this Threaded Sequence feature.
Sequential and Batch – Testplan will run from start to the end. User may press Stop
button to stop the testplan or Abort button to abort the testplan.
Asynchronous – Prompt dialog to select sequence – User may customize the prompt
dialog in OpUI and use the APIs to inform TxSL whether the customized prompt dialog will
be used. When the Start button is pressed, the testplan will start to run and if user choose
to use the customized prompt dialog, an event will be sent to OpUI when the testplan
reached the SequenceGroup statement and the customized prompt dialog will be
displayed. APIs will be available for user to customize the buttons on the prompt dialog,
such as Run, Stop, Close etc.
Page
Operator UI: Asynchronous
TestExec SL 8.1 36
TxSL
OpUI Main UI
Run Stop Abort
Load
Testplan
OpUI Prompt Dialog
SeqOne
SeqOne
SeqOne
Sequence Name
SeqTwo
Uut Pos
UUT1
UUT2
UUT3
No UUT
Select
Variant
Exit
Run
Run
Run
Run
Stop
Stop
Stop
Stop
Close
Page
Extended Feature
TestExec SL 8.1 37
Page
Sequence Conversion Tool
TestExec SL 8.1 38
A tool to convert a normal sequence to a threaded sequence will be
provided. The tasks below will be performed during the conversion:
1. Disable all threaded tests.
2. Discard all UUT settings, only left UUT1.
3. Call statements: a pill for warning

Weitere ähnliche Inhalte

Ähnlich wie Entrenamiento TestExec 8.1

TLA+ and PlusCal / An engineer's perspective
TLA+ and PlusCal / An engineer's perspectiveTLA+ and PlusCal / An engineer's perspective
TLA+ and PlusCal / An engineer's perspectiveTorao Takami
 
A Proposal to Orchestrate Test Cases
A Proposal to Orchestrate Test CasesA Proposal to Orchestrate Test Cases
A Proposal to Orchestrate Test CasesBoni García
 
03 conditions loops
03   conditions loops03   conditions loops
03 conditions loopsManzoor ALam
 
Storm Real Time Computation
Storm Real Time ComputationStorm Real Time Computation
Storm Real Time ComputationSonal Raj
 
Non blocking programming and waiting
Non blocking programming and waitingNon blocking programming and waiting
Non blocking programming and waitingRoman Elizarov
 
Java Threads: Lightweight Processes
Java Threads: Lightweight ProcessesJava Threads: Lightweight Processes
Java Threads: Lightweight ProcessesIsuru Perera
 
Python decision making_loops part7
Python decision making_loops part7Python decision making_loops part7
Python decision making_loops part7Vishal Dutt
 
Concurrency 2010
Concurrency 2010Concurrency 2010
Concurrency 2010敬倫 林
 
Multithreading computer architecture
 Multithreading computer architecture  Multithreading computer architecture
Multithreading computer architecture Haris456
 
Java-Threads And Concurrency Presentation. 2024
Java-Threads And Concurrency Presentation. 2024Java-Threads And Concurrency Presentation. 2024
Java-Threads And Concurrency Presentation. 2024nehakumari0xf
 
Java Threads And Concurrency Presentation. 2024
Java Threads And Concurrency Presentation. 2024Java Threads And Concurrency Presentation. 2024
Java Threads And Concurrency Presentation. 2024kashyapneha2809
 
Multithreading in Java
Multithreading in JavaMultithreading in Java
Multithreading in JavaJayant Dalvi
 

Ähnlich wie Entrenamiento TestExec 8.1 (20)

TLA+ and PlusCal / An engineer's perspective
TLA+ and PlusCal / An engineer's perspectiveTLA+ and PlusCal / An engineer's perspective
TLA+ and PlusCal / An engineer's perspective
 
Threads
ThreadsThreads
Threads
 
A Proposal to Orchestrate Test Cases
A Proposal to Orchestrate Test CasesA Proposal to Orchestrate Test Cases
A Proposal to Orchestrate Test Cases
 
03 conditions loops
03   conditions loops03   conditions loops
03 conditions loops
 
Storm Real Time Computation
Storm Real Time ComputationStorm Real Time Computation
Storm Real Time Computation
 
Automation for developers
Automation for developersAutomation for developers
Automation for developers
 
Non blocking programming and waiting
Non blocking programming and waitingNon blocking programming and waiting
Non blocking programming and waiting
 
Java Threads: Lightweight Processes
Java Threads: Lightweight ProcessesJava Threads: Lightweight Processes
Java Threads: Lightweight Processes
 
Operating System lab
Operating System labOperating System lab
Operating System lab
 
Threads in Java
Threads in JavaThreads in Java
Threads in Java
 
Python decision making_loops part7
Python decision making_loops part7Python decision making_loops part7
Python decision making_loops part7
 
Test ng
Test ngTest ng
Test ng
 
Test ng tutorial
Test ng tutorialTest ng tutorial
Test ng tutorial
 
Md09 multithreading
Md09 multithreadingMd09 multithreading
Md09 multithreading
 
Concurrency 2010
Concurrency 2010Concurrency 2010
Concurrency 2010
 
Multithreading computer architecture
 Multithreading computer architecture  Multithreading computer architecture
Multithreading computer architecture
 
Cpp unit
Cpp unit Cpp unit
Cpp unit
 
Java-Threads And Concurrency Presentation. 2024
Java-Threads And Concurrency Presentation. 2024Java-Threads And Concurrency Presentation. 2024
Java-Threads And Concurrency Presentation. 2024
 
Java Threads And Concurrency Presentation. 2024
Java Threads And Concurrency Presentation. 2024Java Threads And Concurrency Presentation. 2024
Java Threads And Concurrency Presentation. 2024
 
Multithreading in Java
Multithreading in JavaMultithreading in Java
Multithreading in Java
 

Mehr von Interlatin

Migration ux to windows - ICT i3070
Migration ux to windows - ICT i3070Migration ux to windows - ICT i3070
Migration ux to windows - ICT i3070Interlatin
 
In-line fixture design and release to production
In-line fixture design and release to production In-line fixture design and release to production
In-line fixture design and release to production Interlatin
 
Boundary scan for support engineers and technicians
Boundary scan for support engineers and techniciansBoundary scan for support engineers and technicians
Boundary scan for support engineers and techniciansInterlatin
 
Boundary Scan Basics - x1149 de Keysight
Boundary Scan Basics - x1149 de KeysightBoundary Scan Basics - x1149 de Keysight
Boundary Scan Basics - x1149 de KeysightInterlatin
 
Keysight Mini-ICT - Testing Days México
Keysight Mini-ICT - Testing Days MéxicoKeysight Mini-ICT - Testing Days México
Keysight Mini-ICT - Testing Days MéxicoInterlatin
 
Keysight i3070 (antes HP3070) Board Test Interface
Keysight i3070 (antes HP3070) Board Test InterfaceKeysight i3070 (antes HP3070) Board Test Interface
Keysight i3070 (antes HP3070) Board Test InterfaceInterlatin
 
Básicos de Functional Test Systems - Testing Days Tijuana
Básicos de Functional Test Systems - Testing Days TijuanaBásicos de Functional Test Systems - Testing Days Tijuana
Básicos de Functional Test Systems - Testing Days TijuanaInterlatin
 
Functional Test Systems - Testing Days Bajío
Functional Test Systems - Testing Days BajíoFunctional Test Systems - Testing Days Bajío
Functional Test Systems - Testing Days BajíoInterlatin
 
Análisis de respuesta en frecuencia en osciloscopios
Análisis de respuesta en frecuencia en osciloscopiosAnálisis de respuesta en frecuencia en osciloscopios
Análisis de respuesta en frecuencia en osciloscopiosInterlatin
 
Presentación de ingeniería digital
Presentación de ingeniería digitalPresentación de ingeniería digital
Presentación de ingeniería digitalInterlatin
 
Inter latin ptc i-iot - viaje de transformación de la manufactura
Inter latin ptc i-iot - viaje de transformación de la manufacturaInter latin ptc i-iot - viaje de transformación de la manufactura
Inter latin ptc i-iot - viaje de transformación de la manufacturaInterlatin
 
Sistemas de adquisición de datos en las Fábricas Inteligentes de la Industria...
Sistemas de adquisición de datos en las Fábricas Inteligentes de la Industria...Sistemas de adquisición de datos en las Fábricas Inteligentes de la Industria...
Sistemas de adquisición de datos en las Fábricas Inteligentes de la Industria...Interlatin
 
Introducción a las Redes automotrices - CAN/LIN
Introducción a las Redes automotrices - CAN/LINIntroducción a las Redes automotrices - CAN/LIN
Introducción a las Redes automotrices - CAN/LINInterlatin
 
Pruebas de Campo para la industria de las Telecomunicaciones - Caracterizació...
Pruebas de Campo para la industria de las Telecomunicaciones - Caracterizació...Pruebas de Campo para la industria de las Telecomunicaciones - Caracterizació...
Pruebas de Campo para la industria de las Telecomunicaciones - Caracterizació...Interlatin
 
UGM 2015: X1149 workshop
UGM 2015: X1149 workshopUGM 2015: X1149 workshop
UGM 2015: X1149 workshopInterlatin
 
UGM 2015 Automotive Days
UGM 2015 Automotive DaysUGM 2015 Automotive Days
UGM 2015 Automotive DaysInterlatin
 
UGM 2015 Manager's Track
UGM 2015 Manager's TrackUGM 2015 Manager's Track
UGM 2015 Manager's TrackInterlatin
 
Interpretación y utilidad de datos estadísticos.
Interpretación y utilidad de datos estadísticos.Interpretación y utilidad de datos estadísticos.
Interpretación y utilidad de datos estadísticos.Interlatin
 
Best practices
Best practicesBest practices
Best practicesInterlatin
 

Mehr von Interlatin (20)

Migration ux to windows - ICT i3070
Migration ux to windows - ICT i3070Migration ux to windows - ICT i3070
Migration ux to windows - ICT i3070
 
In-line fixture design and release to production
In-line fixture design and release to production In-line fixture design and release to production
In-line fixture design and release to production
 
Boundary scan for support engineers and technicians
Boundary scan for support engineers and techniciansBoundary scan for support engineers and technicians
Boundary scan for support engineers and technicians
 
Boundary Scan Basics - x1149 de Keysight
Boundary Scan Basics - x1149 de KeysightBoundary Scan Basics - x1149 de Keysight
Boundary Scan Basics - x1149 de Keysight
 
Keysight Mini-ICT - Testing Days México
Keysight Mini-ICT - Testing Days MéxicoKeysight Mini-ICT - Testing Days México
Keysight Mini-ICT - Testing Days México
 
Keysight i3070 (antes HP3070) Board Test Interface
Keysight i3070 (antes HP3070) Board Test InterfaceKeysight i3070 (antes HP3070) Board Test Interface
Keysight i3070 (antes HP3070) Board Test Interface
 
Básicos de Functional Test Systems - Testing Days Tijuana
Básicos de Functional Test Systems - Testing Days TijuanaBásicos de Functional Test Systems - Testing Days Tijuana
Básicos de Functional Test Systems - Testing Days Tijuana
 
Functional Test Systems - Testing Days Bajío
Functional Test Systems - Testing Days BajíoFunctional Test Systems - Testing Days Bajío
Functional Test Systems - Testing Days Bajío
 
Análisis de respuesta en frecuencia en osciloscopios
Análisis de respuesta en frecuencia en osciloscopiosAnálisis de respuesta en frecuencia en osciloscopios
Análisis de respuesta en frecuencia en osciloscopios
 
Presentación de ingeniería digital
Presentación de ingeniería digitalPresentación de ingeniería digital
Presentación de ingeniería digital
 
Inter latin ptc i-iot - viaje de transformación de la manufactura
Inter latin ptc i-iot - viaje de transformación de la manufacturaInter latin ptc i-iot - viaje de transformación de la manufactura
Inter latin ptc i-iot - viaje de transformación de la manufactura
 
Sistemas de adquisición de datos en las Fábricas Inteligentes de la Industria...
Sistemas de adquisición de datos en las Fábricas Inteligentes de la Industria...Sistemas de adquisición de datos en las Fábricas Inteligentes de la Industria...
Sistemas de adquisición de datos en las Fábricas Inteligentes de la Industria...
 
Introducción a las Redes automotrices - CAN/LIN
Introducción a las Redes automotrices - CAN/LINIntroducción a las Redes automotrices - CAN/LIN
Introducción a las Redes automotrices - CAN/LIN
 
Pruebas de Campo para la industria de las Telecomunicaciones - Caracterizació...
Pruebas de Campo para la industria de las Telecomunicaciones - Caracterizació...Pruebas de Campo para la industria de las Telecomunicaciones - Caracterizació...
Pruebas de Campo para la industria de las Telecomunicaciones - Caracterizació...
 
UGM 2015: X1149 workshop
UGM 2015: X1149 workshopUGM 2015: X1149 workshop
UGM 2015: X1149 workshop
 
UGM 2015 Automotive Days
UGM 2015 Automotive DaysUGM 2015 Automotive Days
UGM 2015 Automotive Days
 
UGM CAN PXI
UGM CAN PXIUGM CAN PXI
UGM CAN PXI
 
UGM 2015 Manager's Track
UGM 2015 Manager's TrackUGM 2015 Manager's Track
UGM 2015 Manager's Track
 
Interpretación y utilidad de datos estadísticos.
Interpretación y utilidad de datos estadísticos.Interpretación y utilidad de datos estadísticos.
Interpretación y utilidad de datos estadísticos.
 
Best practices
Best practicesBest practices
Best practices
 

Kürzlich hochgeladen

Earthing details of Electrical Substation
Earthing details of Electrical SubstationEarthing details of Electrical Substation
Earthing details of Electrical Substationstephanwindworld
 
Transport layer issues and challenges - Guide
Transport layer issues and challenges - GuideTransport layer issues and challenges - Guide
Transport layer issues and challenges - GuideGOPINATHS437943
 
Concrete Mix Design - IS 10262-2019 - .pptx
Concrete Mix Design - IS 10262-2019 - .pptxConcrete Mix Design - IS 10262-2019 - .pptx
Concrete Mix Design - IS 10262-2019 - .pptxKartikeyaDwivedi3
 
UNIT III ANALOG ELECTRONICS (BASIC ELECTRONICS)
UNIT III ANALOG ELECTRONICS (BASIC ELECTRONICS)UNIT III ANALOG ELECTRONICS (BASIC ELECTRONICS)
UNIT III ANALOG ELECTRONICS (BASIC ELECTRONICS)Dr SOUNDIRARAJ N
 
Introduction-To-Agricultural-Surveillance-Rover.pptx
Introduction-To-Agricultural-Surveillance-Rover.pptxIntroduction-To-Agricultural-Surveillance-Rover.pptx
Introduction-To-Agricultural-Surveillance-Rover.pptxk795866
 
Call Girls Narol 7397865700 Independent Call Girls
Call Girls Narol 7397865700 Independent Call GirlsCall Girls Narol 7397865700 Independent Call Girls
Call Girls Narol 7397865700 Independent Call Girlsssuser7cb4ff
 
System Simulation and Modelling with types and Event Scheduling
System Simulation and Modelling with types and Event SchedulingSystem Simulation and Modelling with types and Event Scheduling
System Simulation and Modelling with types and Event SchedulingBootNeck1
 
welding defects observed during the welding
welding defects observed during the weldingwelding defects observed during the welding
welding defects observed during the weldingMuhammadUzairLiaqat
 
Main Memory Management in Operating System
Main Memory Management in Operating SystemMain Memory Management in Operating System
Main Memory Management in Operating SystemRashmi Bhat
 
Solving The Right Triangles PowerPoint 2.ppt
Solving The Right Triangles PowerPoint 2.pptSolving The Right Triangles PowerPoint 2.ppt
Solving The Right Triangles PowerPoint 2.pptJasonTagapanGulla
 
Past, Present and Future of Generative AI
Past, Present and Future of Generative AIPast, Present and Future of Generative AI
Past, Present and Future of Generative AIabhishek36461
 
National Level Hackathon Participation Certificate.pdf
National Level Hackathon Participation Certificate.pdfNational Level Hackathon Participation Certificate.pdf
National Level Hackathon Participation Certificate.pdfRajuKanojiya4
 
Why does (not) Kafka need fsync: Eliminating tail latency spikes caused by fsync
Why does (not) Kafka need fsync: Eliminating tail latency spikes caused by fsyncWhy does (not) Kafka need fsync: Eliminating tail latency spikes caused by fsync
Why does (not) Kafka need fsync: Eliminating tail latency spikes caused by fsyncssuser2ae721
 
Industrial Safety Unit-IV workplace health and safety.ppt
Industrial Safety Unit-IV workplace health and safety.pptIndustrial Safety Unit-IV workplace health and safety.ppt
Industrial Safety Unit-IV workplace health and safety.pptNarmatha D
 
Instrumentation, measurement and control of bio process parameters ( Temperat...
Instrumentation, measurement and control of bio process parameters ( Temperat...Instrumentation, measurement and control of bio process parameters ( Temperat...
Instrumentation, measurement and control of bio process parameters ( Temperat...121011101441
 
Risk Assessment For Installation of Drainage Pipes.pdf
Risk Assessment For Installation of Drainage Pipes.pdfRisk Assessment For Installation of Drainage Pipes.pdf
Risk Assessment For Installation of Drainage Pipes.pdfROCENODodongVILLACER
 

Kürzlich hochgeladen (20)

Earthing details of Electrical Substation
Earthing details of Electrical SubstationEarthing details of Electrical Substation
Earthing details of Electrical Substation
 
Transport layer issues and challenges - Guide
Transport layer issues and challenges - GuideTransport layer issues and challenges - Guide
Transport layer issues and challenges - Guide
 
Concrete Mix Design - IS 10262-2019 - .pptx
Concrete Mix Design - IS 10262-2019 - .pptxConcrete Mix Design - IS 10262-2019 - .pptx
Concrete Mix Design - IS 10262-2019 - .pptx
 
UNIT III ANALOG ELECTRONICS (BASIC ELECTRONICS)
UNIT III ANALOG ELECTRONICS (BASIC ELECTRONICS)UNIT III ANALOG ELECTRONICS (BASIC ELECTRONICS)
UNIT III ANALOG ELECTRONICS (BASIC ELECTRONICS)
 
Introduction-To-Agricultural-Surveillance-Rover.pptx
Introduction-To-Agricultural-Surveillance-Rover.pptxIntroduction-To-Agricultural-Surveillance-Rover.pptx
Introduction-To-Agricultural-Surveillance-Rover.pptx
 
Call Girls Narol 7397865700 Independent Call Girls
Call Girls Narol 7397865700 Independent Call GirlsCall Girls Narol 7397865700 Independent Call Girls
Call Girls Narol 7397865700 Independent Call Girls
 
System Simulation and Modelling with types and Event Scheduling
System Simulation and Modelling with types and Event SchedulingSystem Simulation and Modelling with types and Event Scheduling
System Simulation and Modelling with types and Event Scheduling
 
welding defects observed during the welding
welding defects observed during the weldingwelding defects observed during the welding
welding defects observed during the welding
 
Main Memory Management in Operating System
Main Memory Management in Operating SystemMain Memory Management in Operating System
Main Memory Management in Operating System
 
Solving The Right Triangles PowerPoint 2.ppt
Solving The Right Triangles PowerPoint 2.pptSolving The Right Triangles PowerPoint 2.ppt
Solving The Right Triangles PowerPoint 2.ppt
 
Past, Present and Future of Generative AI
Past, Present and Future of Generative AIPast, Present and Future of Generative AI
Past, Present and Future of Generative AI
 
National Level Hackathon Participation Certificate.pdf
National Level Hackathon Participation Certificate.pdfNational Level Hackathon Participation Certificate.pdf
National Level Hackathon Participation Certificate.pdf
 
🔝9953056974🔝!!-YOUNG call girls in Rajendra Nagar Escort rvice Shot 2000 nigh...
🔝9953056974🔝!!-YOUNG call girls in Rajendra Nagar Escort rvice Shot 2000 nigh...🔝9953056974🔝!!-YOUNG call girls in Rajendra Nagar Escort rvice Shot 2000 nigh...
🔝9953056974🔝!!-YOUNG call girls in Rajendra Nagar Escort rvice Shot 2000 nigh...
 
Why does (not) Kafka need fsync: Eliminating tail latency spikes caused by fsync
Why does (not) Kafka need fsync: Eliminating tail latency spikes caused by fsyncWhy does (not) Kafka need fsync: Eliminating tail latency spikes caused by fsync
Why does (not) Kafka need fsync: Eliminating tail latency spikes caused by fsync
 
young call girls in Green Park🔝 9953056974 🔝 escort Service
young call girls in Green Park🔝 9953056974 🔝 escort Serviceyoung call girls in Green Park🔝 9953056974 🔝 escort Service
young call girls in Green Park🔝 9953056974 🔝 escort Service
 
POWER SYSTEMS-1 Complete notes examples
POWER SYSTEMS-1 Complete notes  examplesPOWER SYSTEMS-1 Complete notes  examples
POWER SYSTEMS-1 Complete notes examples
 
young call girls in Rajiv Chowk🔝 9953056974 🔝 Delhi escort Service
young call girls in Rajiv Chowk🔝 9953056974 🔝 Delhi escort Serviceyoung call girls in Rajiv Chowk🔝 9953056974 🔝 Delhi escort Service
young call girls in Rajiv Chowk🔝 9953056974 🔝 Delhi escort Service
 
Industrial Safety Unit-IV workplace health and safety.ppt
Industrial Safety Unit-IV workplace health and safety.pptIndustrial Safety Unit-IV workplace health and safety.ppt
Industrial Safety Unit-IV workplace health and safety.ppt
 
Instrumentation, measurement and control of bio process parameters ( Temperat...
Instrumentation, measurement and control of bio process parameters ( Temperat...Instrumentation, measurement and control of bio process parameters ( Temperat...
Instrumentation, measurement and control of bio process parameters ( Temperat...
 
Risk Assessment For Installation of Drainage Pipes.pdf
Risk Assessment For Installation of Drainage Pipes.pdfRisk Assessment For Installation of Drainage Pipes.pdf
Risk Assessment For Installation of Drainage Pipes.pdf
 

Entrenamiento TestExec 8.1

  • 1. TestExec SL 8.1 (Threaded Sequence) Update: 23/11/2015
  • 2. PageAgenda – Introduction – Terminology & GUI – Demo – Testing with Hardware – Other Feature – Extended Feature TestExec SL 8.1 2
  • 4. Page TestExec SL Release TestExec SL 8.1 4 TxSL version Multi-threading Throughput Multiplier Execution Mode TxSL 7.0 Test Level Test Level Sequential Batch TxSL 8.1 Sequence Level Sequence Level Sequential Batch Asynchronous
  • 5. Page Execution Mode TestExec SL 8.1 5 3 Execution Modes will be introduced in this new threaded sequence feature: • Sequential – All threaded sequences run in sequential mode. • Batch – All threaded sequences start at the same time. • Asynchronous - Prompt Dialog to select Sequence. User decide when a threaded sequence starts to run. Threaded Sequences may start and stop independently from each other.
  • 6. Page Batch Model The batch model is used when a group of UUTs need to be tested at the same time. All the UUTs start and complete testing at the same time. Start Enter Batch Serial Number Enter UUT1 Serial Number Enter UUT2 Serial Number Enter UUTn Serial Number Start Testing UUT1 Start Testing UUT2 Start Testing UUTn Test 1 Test 2 Test n Test 1 Test 2 Test n Test 1 Test 2 Test n Batch Synchronization (Wait for all UUTs to complete) Generate Report Another Batch? End NO YES Test Window The batch of UUTs reside in the same test fixture. TestExec SL 8.1 Page 6
  • 7. Page Parallel Model (Asynchronous Testing) The Parallel Model is useful when testing multiple UUTs independently. Tests may start and stop independently of each other. Start Synchronize and Initialize Instruments Enter UUT1 Serial Number Enter UUT2 Serial Number Enter UUTn Serial Number Start Testing UUT1 Start Testing UUT2 Start Testing UUTn Test 1 Test 2 Test n Test 1 Test 2 Test n Test 1 Test 2 Test n Generate Report Generate Report Generate Report Next UUT? Next UUT? Next UUT? End End End The parallel process is very useful for independent test fixtures. TestExec SL 8.1 Page 7
  • 8. Page Asynchronous Testing TestExec SL 8.1 8 Multithreading will be done at Sequence level. That means several sequences will run at the same time in different threads. All statements (tests, testgroup, assignment, if else, for loop, etc) in the threaded sequence run in sequential. The existing threaded tests feature will still be available in “Main” and other normal sequence. ! [SeqOne] test SeqOneTest 1 test SeqOneTest 2 If InterfaceParms.Int1 = 10 then test SeqOneTest 3 end if ….. test SeqOneTest N ! [SeqTwo] test SeqTwoTest 1 for SequenceParms.Var1 = 1 to 3 step 1 test SeqTwoTest 2 end if test SeqTwoTest 3 test SeqTwoTest 4 ….. test SeqTwoTest N ! [SeqThree] SequenceParms.SeqParmInt = 22 testgroup Group33 test SeqThreeTest 1 test SeqThreeTest 2 end testgroup test SeqThreeTest 3 ….. test SeqThreeTest N Throughput Multiplier setting can be set for every threaded sequence. Each threaded sequence can be run for all UUT positions or a specific UUT position only.
  • 9. Page Terminology & Graphical User Interface TestExec SL 8.1 9
  • 10. PageTestExec SL 8.1 10 Threaded Sequence Threaded Sequence is the new sequence added where it allows different sequences to be run at the same time. Non-Threaded Sequence is the user defined sequences prior to TestExec SL 8.1
  • 11. Page Threaded Sequence with Throughput Multiplier TestExec SL 8.1 11 Throughput multiplier is applied to the testplan itself, including threaded sequence gets it. User has a choice to turn on or turn off throughput multiplier for each threaded sequence at the Testplan Options.
  • 12. Page Sequence Group TestExec SL 8.1 12 Threaded sequences
  • 13. Page Example TestExec SL 8.1 13 SeqOne – UUT1 An example: For a testplan with 3 UUT positions, Sequence “SeqOne” will be run for 3 UUT positions. Sequence “SeqTwo” will be run for once without any UUT position (No UUT). SeqTwo – No UUT SeqOne – UUT2 SeqOne – UUT3
  • 14. PageTestExec SL 8.1 14 Execution Mode: Sequential All threaded sequences will run sequentially. Start End SeqOne – UUT1 SeqTwo – No UUT SeqOne – UUT2 SeqOne – UUT3
  • 15. PageTestExec SL 8.1 15 Execution Mode: Batch All threaded sequences start at the same time. Start SeqOne – UUT1 SeqTwo – No UUT SeqOne – UUT2 SeqOne – UUT3 End
  • 16. PageTestExec SL 8.1 16 Execution Mode: Asynchronous Run ? Run ? Run ? Run ? Start Dialog End SeqOne – UUT1 SeqTwo – No UUT Yes No Yes Yes No Yes SeqOne – UUT2 SeqOne – UUT3 No No A dialog will be prompted where user may choose to start a threaded sequence. Sequence may start and stop independently from each other. After the dialog is closed, the testplan will stop.
  • 17. PageTestExec SL 8.1 17 Asynchronous – Prompt Dialog to select Sequence A dialog will be prompted out where all the threaded sequences inside the “SequenceGroup” will be listed and the user may choose the sequence to run by pressing the Run button. After this dialog is closed, execution will continue at the next statement after this “end SequenceGroup” statement.
  • 18. Page Threaded Sequence Call TestExec SL 8.1 18 SeqOne, SeqTwo, SeqThree are threaded sequence, SeqNormal is non-threaded sequence. TestExec SL will implement a prefix “Thread:” in front of threaded sequence to distinguish them, e.g. Thread:SeqOne Only threaded sequence can be called by sequencegroup.
  • 19. PageTestExec SL 8.1 19 Threaded Call  Options In Threaded Call, • In the “Options” page, throughput multiplier is enabled for the Threaded Sequence that enables multiple UUT. This selection is not enabled for Threaded Sequence without multiple UUT. • On the call parameter page, different UUT can select different Call parameters
  • 20. Page Global Symbols TestExec SL 8.1 20 Global symbols need to be locked to avoid crash. For threaded sequence, global symbols are symbols in System, SequenceLocals and TestplanGlobals. Testplan: • Threaded_Sequence.tpa
  • 21. Page Failure Counts TestExec SL 8.1 21 Failure Counts • In Threaded Group, the failure will count only on the thread itself and when failure count is hit, it will stop the thread itself to continue. • In Testplan Option, this treats the counts as a global variable. If any part of the testplan, including the threaded count is hit, it will stop the testplan from continuing. • In throughput multiplier, the failure count will only affect the UUT itself. Testplan: • HaltOnFailureCount.tpa • HaltOnFailureCount_TM.tpa
  • 22. Page Timeout TestExec SL 8.1 22 For timeout, in any case, the timeout will let the thread to complete as killing the thread itself is consider dangerous. And depending on which Timeout Behavior selected, it will behave accordingly. • ONLY in Asynchronous mode, if the Timeout Behaviour selected is Prompt timeout dialog, it will not prompt any timeout dialog as it will be confusing. It will act like “Generate Exception” Testplan: • TimeOut_TM.tpa
  • 23. Page Sequential Call TestExec SL 8.1 23 Sequential Call (scall) is used to call another threaded sequence from a threaded sequence. The scall will call other threaded sequence sequentially, like the normal call statement. All the SeqAlpha, SeqBeta, SeqOne, SeqTwo, SeqThree, SeqFour, SeqFive are threaded sequence.
  • 24. Page Sequential Call – How It Works? TestExec SL 8.1 24 SeqAlpha, SeqOne, SeqTwo, SeqThree have UUT while SeqBeta, SeqFour, SeqFive have no UUT. Condition: Threaded Sequence with UUT can only do scall to threaded sequence with UUT, while the threaded sequence with NO UUT can only call threaded sequence with NO UUT.
  • 25. Page Sequential Call Condition TestExec SL 8.1 25 Testplan: • Sequential Call.tpa
  • 28. Page Parallel Testing (comparing with previous version) TestExec SL 8.1 28 UUT1 UUT2 DMM1 DMM2 • Prior to TestExec SL 8.1, to run 2 DMM in parallel, we use threaded test and waitthread statement. Testplan: • Dmm_2UUT_80.tpa • Dmm_2UUT_81.tpa. • In TestExec SL 8.1, threaded sequence can be used to run 2 UUTs. • Both should use the same time to complete. ~9 seconds.
  • 29. Page 1 Test only Testing UUT1 TestExec SL 8.1 29 UUT1 UUT2 DMM1 DMM2 Option # 1: Put onto Main Sequence and only run once independent of UUT, inside the test select DMM1 only. Option # 2: In threaded sequence, use IF statement. NOTE: in a threaded sequence with UUT, test settings such as “SetSkip”, Ignore this test”, “On fail Brach To” in 1 UUT will applied to other UUTs. Testplan: • Dmm_2UUT_81_Single.tpa • DMM_2UUT_81_IF.tpa.
  • 30. Page 2 UUT 1 DMM TestExec SL 8.1 30 UUT1 UUT2 DMM1 Like previous version of TestExec SL, locking needs to be implemented to ensure that while DMM1 is accessing UUT1, its resource will not be grab by UUT2. This will run as sequential, hence test time is same as sequential testing.
  • 31. Page 4 UUT 2 DMM TestExec SL 8.1 31 UUT2 UUT4 DMM2 2 DMMs can help to improve throughput of the testplan. Test result: 18s for batch mode, 36s for sequential mode UUT1 UUT3 DMM1
  • 33. Page Datalogging TestExec SL 8.1 33 Sequential and Batch – Log file will be produced at the end of the testplan. Different log file will be saved for different UUT. Asynchronous – Prompt dialog to select sequence – Log file will be produced at the end of the sequences. Different log file for different UUT. If there are other statements at Main, another log file will be saved at the end of the testplan.
  • 34. Page Exception TestExec SL 8.1 34 Sequential - Exception that happen will stop execution. The Exception Sub will be executed and the testplan will stop. Batch - The threaded sequence that causing the exception will stop to execute. Other threaded sequence will run to end and the Exception Sub will be executed. Then the testplan will stop. Asynchronous – Prompt dialog to select sequence – The threaded sequence that causing the exception will stop to execute. Its Run and Stop button will be disabled. Other threaded sequence will be able to run as usual. When the prompted dialog is closed, the Exception Sub will be executed and the testplan will stop.
  • 35. Page Operator UI TestExec SL 8.1 35 New APIs and Events will be added to support this Threaded Sequence feature. Sequential and Batch – Testplan will run from start to the end. User may press Stop button to stop the testplan or Abort button to abort the testplan. Asynchronous – Prompt dialog to select sequence – User may customize the prompt dialog in OpUI and use the APIs to inform TxSL whether the customized prompt dialog will be used. When the Start button is pressed, the testplan will start to run and if user choose to use the customized prompt dialog, an event will be sent to OpUI when the testplan reached the SequenceGroup statement and the customized prompt dialog will be displayed. APIs will be available for user to customize the buttons on the prompt dialog, such as Run, Stop, Close etc.
  • 36. Page Operator UI: Asynchronous TestExec SL 8.1 36 TxSL OpUI Main UI Run Stop Abort Load Testplan OpUI Prompt Dialog SeqOne SeqOne SeqOne Sequence Name SeqTwo Uut Pos UUT1 UUT2 UUT3 No UUT Select Variant Exit Run Run Run Run Stop Stop Stop Stop Close
  • 38. Page Sequence Conversion Tool TestExec SL 8.1 38 A tool to convert a normal sequence to a threaded sequence will be provided. The tasks below will be performed during the conversion: 1. Disable all threaded tests. 2. Discard all UUT settings, only left UUT1. 3. Call statements: a pill for warning