Settings ExecutionSettings/en: Unterschied zwischen den Versionen

Aus expecco Wiki (Version 2.x)
Zur Navigation springen Zur Suche springen
(Die Seite wurde neu angelegt: „== Execution Settings == <ul> <li><a href="#PARALLEL_EXECUTION">Separate Processes for Long Running Activities</a> </li> <ul> <li><a href="#TIME_TO_WA…“)
 
 
(39 dazwischenliegende Versionen von 4 Benutzern werden nicht angezeigt)
Zeile 1: Zeile 1:
== Execution Settings ==
== Execution Settings ==


You find these under "''Extras''" &#8594; "''[[Settings/en|Settings]]''" &#8594; "''Execution''".
<ul>
<li><a href="#PARALLEL_EXECUTION">Separate Processes for Long Running Activities</a> </li>
<ul>
<li><a href="#TIME_TO_WAIT_FOR_SEPARATE_PROCESS">Start Process After</a></li>
<li><a href="#MAX_NUMBER_OF_PROCESSES">Max. Number of Processes</a></li>
</ul>
<li><a href="#MAX_NUMBER_OF_EXECUTORS">Max. Number of Executors per Testsuite</a> </li>
<li><a href="#MAX_NUMBER_OF_TEST_EXECUTIONS">Max. Number of ExpeccoNET Test-Executions</a> </li>
<li><a href="#MAX_RECURSION_LEVEL">Max. Recursion Level</a> </li>
<li><a href="#MAX_CLEANUP_TIME">Max. Cleanup Time</a> </li>
<li><a href="#DELAY">Slow Motion Delay</a> </li>
<li><a href="#SHOW_DO_NOT_DISTURB">Show "Do Not Disturb" Banner</a> </li>
</ul>
<hr>


=== Thread Pool ===
=== Separate Processes for Long Running Activities ===
===== Separate Processes for Long Running Activities =====

This checktoggle controls if multiple activities are allowed to execute in parallel
This check toggle controls if multiple activities are allowed to execute in parallel
(are executed by separate threads).
(are executed by separate threads).
By default, this is enabled, but for some programs, it makes sense to disable this feature.
By default, this is enabled, but in rare situations, it makes sense to disable this feature for some test projects.
(Usually badly formulated activities, which do not care for synchronized access to shared data.)
Usually these are badly formulated activities, which do not care for synchronized access to shared data or data bases, and may therefore be not prepared for parallel execution.

Instead of disabling this feature, you should instead use synchronisation mechanisms in your activity diagram (i.e. either use trigger-out/trigger-in connections to enforce sequential execution, or use explicit semaphore actions to ensure mutual exclusion while doing such critical operations).


''This parameter can be set and saved directly in the test suite.''
=== Start Process After ===
''When a new test suite is created, the value from the settings dialog is used as the default value.''


===== Start Process After =====
Due to the fact that startuing up new processes is a slow operation and takes up some processing
Due to the fact that starting up new processes (execution threads) is a relatively slow operation and takes up some processing
power, the expecco system delays the creation of new processes for some time, in order to
power, the expecco system delays the creation of new processes for some time,
allow for short activities to finish without the need for an expensive creation of a new process.
in order to allow for short activities to finish without creating of a new process.
If an activiy is finished within that time duration, no new process is created.
If an activity is finished within that time duration, no new process is created.
Effectively, short-term activities are sequentially executed,
Effectively, short-term activities are sequentially executed,
as long as their processing takes less than this time duration.
as long as their processing takes less than this time duration.


''This parameter can be set and saved directly in the test suite.''
=== Max. Number of Processes ===
''When a new test suite is created, the value from the settings dialog is used as the default value.''


===== Max. Number of Processes =====
This limits the number of parallel executing separate processes.
This limits the number of parallel executing separate processes (execution threads).
Because a process is a somewhat expensive resource in a computer (memory, disk space etc.),
Because a process is a somewhat expensive resource in a computer (memory, disk space etc.),
allowing for an arbitrary number of separate processes might lead to a slowdown or even blocking
allowing for an arbitrary number of separate processes might lead to a slowdown or even blocking of the computer's operation.
of the computers operation.


Effectively, expecco will keep a pool of worker threads for execution, which process pending activities. The max. number of worker threads is set by this parameter.


''This parameter can be set and saved directly in the test suite.''
=== Max. Number of Executors per Testsuite ===
''When a new test suite is created, the value from the settings dialog is used as the default value.''


===== Max. Number of Executors per Testsuite =====
This limits the number of sub-executors that can be forked of a single testsuite.
This parameter is used with special testplans, which run the same testsuite in parallel
This limits the number of executors that can execute within the same test suite at the same time.
This parameter can be used to prevent tests which use global resources without locking from being executed in parallel
on multiple systems-under-test. This is only used in end-system acceptance tests, where multiple
(eg. when the same test suite is executed against multiple systems-under-test,
targets are to be tested in parallel.
or if expecco is operated as an execution slave (runtime) and multiple execution jobs for the same suite are coming from a central QM management system)


===== Max. Number of ExpeccoNET Test-Executions =====
This limits the number of test execution jobs from a QM-management system that can run in parallel to limit the overall load on the system .
This parameter is only used if expecco is used as a test slave processor
(for remote test execution, under the control of an expecco ALM or other QM management system).


=== Recursion ===
=== Max. Number of ExpeccoNET Test-Executions ===
===== Max. Recursion Level =====

This limits the number of testsuites that can be executed in parallel.
This parameter is only used if the expecco application is also used as a slave processor
for remote test execution, under the control of an expeccoNET server.


=== Max. Recursion Level ===

This parameter limits the nesting of activities during execution
This parameter limits the nesting of activities during execution
(i.e. the nesting of compound activities which invokes another compound activity).
(i.e. the nesting of compound activities which invokes another compound activity).
If the limit is reached an error is raised, which leads to the current testCase to be reported
If this limit is reached, an error is raised, which leads to the current test case to be reported as erroneous.
as erronous.


''This parameter can be set and saved directly in the test suite.''
''When a new test suite is created, the value from the settings dialog is used as the default value.''


=== Max. Cleanup Time ===
=== Cleanup ===
===== Max. Cleanup Time =====

This parameter limits the max. execution time of cleanup
This parameter limits the max. execution time of cleanup
actions. This allows for cleanup actions which try to communicate with
actions. This allows for cleanup actions which try to communicate with
Zeile 70: Zeile 63:
If a cleanup action executes longer, a dialog is shown,
If a cleanup action executes longer, a dialog is shown,
asking if a hard termination (i.e. termination without cleanup) or a wait for the action is desired by the user.
asking if a hard termination (i.e. termination without cleanup) or a wait for the action is desired by the user.
If exepcco is executed in non-interactive mode (slave-mode or executed via command line),
If expecco is executed in non-interactive mode (slave-mode or executed via command line),
the dialog is not shown. Instead, the cleanup action is hard terminated automatically.
the dialog is not shown. Instead, the cleanup action is hard terminated automatically after the max. cleanup time.


''This parameter can be set and saved directly in the test suite.''
''When a new test suite is created, the value from the settings dialog is used as the default value.''


=== Slow Motion Delay ===
=== User Interface ===
===== Slow Motion Delay =====

This parameter introduces a delay between the execution of individual activities.
This parameter introduces a delay between the execution of individual activities.
This is useful in demonstration or replay situations, where the user wants to
This is useful in demonstration or replay situations, where the user wants to
Zeile 82: Zeile 77:
to slow down the process artificially.
to slow down the process artificially.


===== Show "Do Not Disturb" Banner =====

=== Show "Do Not Disturb" Banner</a> </h2>

If checked, a banner window is shown during the execution of a test plan.
If checked, a banner window is shown during the execution of a test plan.
This is useful to prevent other users from touching the machine, especially preventing
This is useful to prevent other users from touching the machine, especially preventing
them from stopping or disturbing an ongoing, long running test. It is especially useful on the
them from stopping or disturbing an ongoing, long running test. It is especially useful on the
test floor, where test machines are shared among different users.
test floor, where test machines are shared among different users.

===== Minimize Expecco while Executing=====
If checked, the expecco window is iconified during a test's execution.

Useful to see what is going on (and as a still-processing feedback monitor)
when running UI-Tests (eg. in a Browser) on a single screen.
This feature is introduced with rel 19.1.

===== Auto-Confirm Dialog Boxes =====
If checked, dialog boxes will automatically close themself after a given time period.
Set this, to let the suite run unattended and confirm all dialogs with their default (usually "OK"), but still get a chance to interact if required (within that time period).

=== Scripts ===
===== Execute in the Attachments Folder =====
If checked, scripts are executed within the Attachments folder;
if unchecked (the default), they are executed one folder above.
This flag is only present for backward compatibility with previous
expecco versions.

===== Keep Temporary Script Folders =====
For debugging only; by default, scripts are generated into temporary files for execution by a shell or language interpreter, and removed afterwards.
Set this to prevent removal for debugging (especially to debug the variable expansion mechanism).
&bbsp;
----

[[Settings/en|Back to the main page "Settings"]]
[[Category:Settings]]

Aktuelle Version vom 4. Juli 2024, 06:47 Uhr

Execution Settings[Bearbeiten]

You find these under "Extras" → "Settings" → "Execution".

Thread Pool[Bearbeiten]

Separate Processes for Long Running Activities[Bearbeiten]

This check toggle controls if multiple activities are allowed to execute in parallel (are executed by separate threads). By default, this is enabled, but in rare situations, it makes sense to disable this feature for some test projects. Usually these are badly formulated activities, which do not care for synchronized access to shared data or data bases, and may therefore be not prepared for parallel execution.

Instead of disabling this feature, you should instead use synchronisation mechanisms in your activity diagram (i.e. either use trigger-out/trigger-in connections to enforce sequential execution, or use explicit semaphore actions to ensure mutual exclusion while doing such critical operations).

This parameter can be set and saved directly in the test suite. When a new test suite is created, the value from the settings dialog is used as the default value.

Start Process After[Bearbeiten]

Due to the fact that starting up new processes (execution threads) is a relatively slow operation and takes up some processing power, the expecco system delays the creation of new processes for some time, in order to allow for short activities to finish without creating of a new process. If an activity is finished within that time duration, no new process is created. Effectively, short-term activities are sequentially executed, as long as their processing takes less than this time duration.

This parameter can be set and saved directly in the test suite. When a new test suite is created, the value from the settings dialog is used as the default value.

Max. Number of Processes[Bearbeiten]

This limits the number of parallel executing separate processes (execution threads). Because a process is a somewhat expensive resource in a computer (memory, disk space etc.), allowing for an arbitrary number of separate processes might lead to a slowdown or even blocking of the computer's operation.

Effectively, expecco will keep a pool of worker threads for execution, which process pending activities. The max. number of worker threads is set by this parameter.

This parameter can be set and saved directly in the test suite. When a new test suite is created, the value from the settings dialog is used as the default value.

Max. Number of Executors per Testsuite[Bearbeiten]

This limits the number of executors that can execute within the same test suite at the same time. This parameter can be used to prevent tests which use global resources without locking from being executed in parallel (eg. when the same test suite is executed against multiple systems-under-test, or if expecco is operated as an execution slave (runtime) and multiple execution jobs for the same suite are coming from a central QM management system)

Max. Number of ExpeccoNET Test-Executions[Bearbeiten]

This limits the number of test execution jobs from a QM-management system that can run in parallel to limit the overall load on the system . This parameter is only used if expecco is used as a test slave processor (for remote test execution, under the control of an expecco ALM or other QM management system).

Recursion[Bearbeiten]

Max. Recursion Level[Bearbeiten]

This parameter limits the nesting of activities during execution (i.e. the nesting of compound activities which invokes another compound activity). If this limit is reached, an error is raised, which leads to the current test case to be reported as erroneous.

This parameter can be set and saved directly in the test suite. When a new test suite is created, the value from the settings dialog is used as the default value.

Cleanup[Bearbeiten]

Max. Cleanup Time[Bearbeiten]

This parameter limits the max. execution time of cleanup actions. This allows for cleanup actions which try to communicate with dead connections to be terminated and thus avoids blocking. If a cleanup action executes longer, a dialog is shown, asking if a hard termination (i.e. termination without cleanup) or a wait for the action is desired by the user. If expecco is executed in non-interactive mode (slave-mode or executed via command line), the dialog is not shown. Instead, the cleanup action is hard terminated automatically after the max. cleanup time.

This parameter can be set and saved directly in the test suite. When a new test suite is created, the value from the settings dialog is used as the default value.

User Interface[Bearbeiten]

Slow Motion Delay[Bearbeiten]

This parameter introduces a delay between the execution of individual activities. This is useful in demonstration or replay situations, where the user wants to visually follow and monitor the execution of the individual steps. It is also sometimes useful when debugging a test, to slow down the process artificially.

Show "Do Not Disturb" Banner[Bearbeiten]

If checked, a banner window is shown during the execution of a test plan. This is useful to prevent other users from touching the machine, especially preventing them from stopping or disturbing an ongoing, long running test. It is especially useful on the test floor, where test machines are shared among different users.

Minimize Expecco while Executing[Bearbeiten]

If checked, the expecco window is iconified during a test's execution.

Useful to see what is going on (and as a still-processing feedback monitor) when running UI-Tests (eg. in a Browser) on a single screen. This feature is introduced with rel 19.1.

Auto-Confirm Dialog Boxes[Bearbeiten]

If checked, dialog boxes will automatically close themself after a given time period. Set this, to let the suite run unattended and confirm all dialogs with their default (usually "OK"), but still get a chance to interact if required (within that time period).

Scripts[Bearbeiten]

Execute in the Attachments Folder[Bearbeiten]

If checked, scripts are executed within the Attachments folder; if unchecked (the default), they are executed one folder above. This flag is only present for backward compatibility with previous expecco versions.

Keep Temporary Script Folders[Bearbeiten]

For debugging only; by default, scripts are generated into temporary files for execution by a shell or language interpreter, and removed afterwards. Set this to prevent removal for debugging (especially to debug the variable expansion mechanism). &bbsp;


Back to the main page "Settings"



Copyright © 2014-2024 eXept Software AG