Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 389718 - The command line tool testexec ignores the step-delay configured in a test suite.
Summary: The command line tool testexec ignores the step-delay configured in a test su...
Status: CLOSED FIXED
Alias: None
Product: Jubula
Classification: Technology
Component: Tools (show other bugs)
Version: 1.2.1   Edit
Hardware: All All
: P2 normal (vote)
Target Milestone: Kepler   Edit
Assignee: Markus Tiede CLA
QA Contact: Oliver Goetz CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-09-17 09:16 EDT by Thomas Schreckenbach CLA
Modified: 2012-12-19 05:07 EST (History)
2 users (show)

See Also:


Attachments
Fix the bug by moving setStepDelay() to class TestExecution (2.71 KB, patch)
2012-12-06 04:59 EST, Raimar Bühmann CLA
markus.tiede: iplog+
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Thomas Schreckenbach CLA 2012-09-17 09:16:50 EDT
As far as I can see, the command line tool 'testexec' ignores the step-delay configured in a test suite.

HTML-AUT (web application).

Manually run a test suite - the step delay works as desired. Depending on the web application under test and the QA employee, the configured delay can be up to 2 seconds.

Running a test suite automatically - the execution is too fast and fails.
Comment 1 Raimar Bühmann CLA 2012-12-06 04:59:33 EST
Created attachment 224358 [details]
Fix the bug by moving setStepDelay() to class TestExecution

The bug has been reproduced and fixed by moving the method setStepDelay() from the gui-class TestExecutionContributor to the command-line-class TestExecution. Now the step delay is used both in the gui and by the testexec command line.

As an example a developer test has been made with the following arguments:

testexec -server localhost -port 60035 -autconfig WebAUT@localhost -dburl "jdbc:h2:~/.jubula/database/embedded;MVCC=TRUE;AUTO_SERVER=TRUE;DB_CLOSE_ON_EXIT=FALSE" -dbuser sa -dbpw "" -project TestProject -version 1.0 -language de_DE -resultdir /.../WebAUTWorkingDirectory/result -datadir /.../WebAUTWorkingDirectory/data -testsuite NewTestSuite -timeout 25000
Comment 2 Markus Tiede CLA 2012-12-06 05:24:44 EST
The patch has been reviewed and applied with changeset

http://git.eclipse.org/c/jubula/org.eclipse.jubula.core.git/commit/?id=dc2d73e691346692f3815dc245a3a2bba2f0e530
Comment 3 Oliver Goetz CLA 2012-12-19 05:07:37 EST
Fix verified, I tested this using the SA tests in our Samples project using TS 1.1_SIMPLE_ADDER_TEST_WITH_TEST_STEPS and 3.2_SIMPLE_ADDER_HTML_TEST_MULTI_DATA_SETS with AUTs SA Swing and SA HTML and changed the step delay several times. Closing this ticket.